<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Upgrade certificate to CA in VMware Solutions Discussions</title>
    <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461798#M10100</link>
    <description>&lt;P&gt;Hmmm. I'm getting the following response:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;  &lt;SPAN class=""&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;    &lt;SPAN class=""&gt;"code"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"error_converting_input_to_certificate_request"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;    &lt;SPAN class=""&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Error converting input to Certificate request"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;    &lt;SPAN class=""&gt;"target"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Certificates"&lt;/SPAN&gt;
  }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jul 2025 14:10:50 GMT</pubDate>
    <dc:creator>FilipS</dc:creator>
    <dc:date>2025-07-01T14:10:50Z</dc:date>
    <item>
      <title>Upgrade certificate to CA</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461786#M10096</link>
      <description>&lt;P&gt;I'm trying to upgrade the self signed certificate of ONTAP Tools for vSphere version 10.4 to one signed by our internal MS CA.&lt;BR /&gt;When doing so, I receive the error&amp;nbsp;&lt;SPAN&gt;The payload for POST request is invalid.&lt;BR /&gt;I already found KB:&amp;nbsp;&lt;A href="https://kb.netapp.com/data-mgmt/OTV/VSC_Kbs/Unable_to_upgrade_to_certificate_to_CA_in_ONTAP_Tools_for_VMware_vSphere_v10_3" target="_blank"&gt;Unable to upgrade from certificate to CA in ONTAP Tools for VMware vSphere v10.3 - NetApp Knowledge Base&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This however does not help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 08:36:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461786#M10096</guid>
      <dc:creator>FilipS</dc:creator>
      <dc:date>2025-07-01T08:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade certificate to CA</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461790#M10097</link>
      <description>&lt;P&gt;Here is a screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 574px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/31443i506074BB421228ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 08:57:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461790#M10097</guid>
      <dc:creator>FilipS</dc:creator>
      <dc:date>2025-07-01T08:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade certificate to CA</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461794#M10098</link>
      <description>&lt;P&gt;Interesting. I wonder if there is some kind of bug with the way the GUI takes the certificate contents and malforms the REST API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you try using the REST API instead of the GUI?&lt;BR /&gt;&lt;A href="https://&amp;lt;OTV" target="_blank"&gt;https://&amp;lt;OTV&lt;/A&gt;.IP&amp;gt;:8443/#/Commons/virtualization__commonsAddCertificate&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 12:59:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461794#M10098</guid>
      <dc:creator>ChanceBingen</dc:creator>
      <dc:date>2025-07-01T12:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade certificate to CA</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461795#M10099</link>
      <description>&lt;P&gt;If you do use the REST APIs, you will need to authenticate and get a token here:&lt;/P&gt;&lt;P&gt;https://&amp;lt;IP&amp;gt;:8443/#/Auth/virtualization__validateAdminLogin&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 13:37:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461795#M10099</guid>
      <dc:creator>ChanceBingen</dc:creator>
      <dc:date>2025-07-01T13:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade certificate to CA</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461798#M10100</link>
      <description>&lt;P&gt;Hmmm. I'm getting the following response:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;  &lt;SPAN class=""&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;    &lt;SPAN class=""&gt;"code"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"error_converting_input_to_certificate_request"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;    &lt;SPAN class=""&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Error converting input to Certificate request"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;    &lt;SPAN class=""&gt;"target"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Certificates"&lt;/SPAN&gt;
  }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 14:10:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461798#M10100</guid>
      <dc:creator>FilipS</dc:creator>
      <dc:date>2025-07-01T14:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade certificate to CA</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461799#M10101</link>
      <description>&lt;P&gt;I see, can you post the&amp;nbsp;curl -X POST command generated by swagger? Alter the username/password/certificate for security.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 14:25:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461799#M10101</guid>
      <dc:creator>ChanceBingen</dc:creator>
      <dc:date>2025-07-01T14:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade certificate to CA</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461800#M10102</link>
      <description>&lt;P&gt;Here you go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Authentication:&lt;BR /&gt;&lt;SPAN&gt;curl -X POST "https://x.x.x.x:8443/virtualization/api/v1/auth/login" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"username\":\"Administrator\",\"password\":\"mypassword\"}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Add certificate:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -X POST "https://x.x.x.x:8443/virtualization/api/v1/commons/certificates" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"cert\": \"mycert...\"}"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 15:01:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461800#M10102</guid>
      <dc:creator>FilipS</dc:creator>
      <dc:date>2025-07-01T15:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade certificate to CA</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461950#M10103</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/123375"&gt;@FilipS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just got back into town after a bit of travel. Eyeballing your API calls, and comparing to my lab, it looks like you need to add the -H "x-auth: [JWT token]" with your JWT token from the output of your authentication. Like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;curl -X POST &lt;/SPAN&gt;&lt;SPAN&gt;"https://x.x.x.x:8443/virtualization/api/v1/commons/certificates"&lt;/SPAN&gt;&lt;SPAN&gt; -H  &lt;/SPAN&gt;&lt;SPAN&gt;"accept: application/json"&lt;/SPAN&gt;&lt;SPAN&gt; -H  &lt;/SPAN&gt;&lt;SPAN&gt;"x-auth: JWT_Token"&lt;/SPAN&gt;&lt;SPAN&gt; -H  &lt;/SPAN&gt;&lt;SPAN&gt;"Content-Type: application/json"&lt;/SPAN&gt;&lt;SPAN&gt; -d &lt;/SPAN&gt;&lt;SPAN&gt;"{\"cert\":\"string\"}"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Jul 2025 20:09:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Upgrade-certificate-to-CA/m-p/461950#M10103</guid>
      <dc:creator>ChanceBingen</dc:creator>
      <dc:date>2025-07-14T20:09:01Z</dc:date>
    </item>
  </channel>
</rss>

