<?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: SSL problems in vSphere Client SDK Discussions</title>
    <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/SSL-problems/m-p/2219488#M4294</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The extension is registered in the extension manager&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;it has populated&amp;nbsp;&lt;EM style="font-size: 16px; font-weight: 300; background-color: rgb(250, 250, 250);"&gt;serverThumbprint &amp;nbsp;in the&amp;nbsp;&lt;/EM&gt;&lt;EM style="font-size: 16px; font-weight: 300; background-color: rgb(250, 250, 250);"&gt;vim.ExtensionManager.extensionList[my-extension].server (see attachment)&lt;/EM&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;but when my java code doing a rest requests to the server it always gets an exeption:&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Jun 2017 12:18:55 GMT</pubDate>
    <dc:creator>ilyak</dc:creator>
    <dc:date>2017-06-25T12:18:55Z</dc:date>
    <item>
      <title>SSL problems</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/SSL-problems/m-p/2219486#M4292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My extension is making rest requst via https.&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="background-color: rgb(250, 250, 250); font-size: 14px;"&gt;How can I know that ssl certificate of the backend server of my extension is installed on the vsphere client ?&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;If the certificate isn't installed what is the reason?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 12:48:54 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/SSL-problems/m-p/2219486#M4292</guid>
      <dc:creator>ilyak</dc:creator>
      <dc:date>2017-06-22T12:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: SSL problems</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/SSL-problems/m-p/2219487#M4293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The certificate of your backend will usually not be automatically available to the vSphere Client server, unless it is signed by a trusted authority.&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;You don't need the certificate installed. What you can do, instead, is pass known thumbprints to the Apache HTTP client (or whatever other library you are using to send the requests).&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;The actual thumbprint of your backend should be registered in your vCenter extension - add a new record under &lt;EM&gt;vim.ExtensionManager.extensionList[your-extension].server&lt;/EM&gt; and populate the &lt;EM&gt;serverThumbprint &lt;/EM&gt;&lt;SPAN&gt;field. If you're providing the client plugin from the same server, the thumbprint should be populated already. For more details on the VC ExtensionManager API see &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://pubs.vmware.com/vsphere-65/index.jsp#com.vmware.wssdk.apiref.doc/vim.ExtensionManager.html" rel="nofollow"&gt;http://pubs.vmware.com/vsphere-65/index.jsp#com.vmware.wssdk.apiref.doc/vim.ExtensionManager.html&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 11:45:04 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/SSL-problems/m-p/2219487#M4293</guid>
      <dc:creator>tganchev</dc:creator>
      <dc:date>2017-06-23T11:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: SSL problems</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/SSL-problems/m-p/2219488#M4294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The extension is registered in the extension manager&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;it has populated&amp;nbsp;&lt;EM style="font-size: 16px; font-weight: 300; background-color: rgb(250, 250, 250);"&gt;serverThumbprint &amp;nbsp;in the&amp;nbsp;&lt;/EM&gt;&lt;EM style="font-size: 16px; font-weight: 300; background-color: rgb(250, 250, 250);"&gt;vim.ExtensionManager.extensionList[my-extension].server (see attachment)&lt;/EM&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;but when my java code doing a rest requests to the server it always gets an exeption:&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 12:18:55 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/SSL-problems/m-p/2219488#M4294</guid>
      <dc:creator>ilyak</dc:creator>
      <dc:date>2017-06-25T12:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: SSL problems</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/SSL-problems/m-p/2219489#M4295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Since you are making rest calls to your back end server, the issue&amp;nbsp;is most probably not related to the vSphere but to your server certificate configurations.&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt;You may try to fix the problem using the steps provided here:&amp;nbsp;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html" rel="nofollow"&gt;https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html&lt;/A&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Denis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 10:12:43 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/SSL-problems/m-p/2219489#M4295</guid>
      <dc:creator>Denis_Chorbadzh</dc:creator>
      <dc:date>2017-06-27T10:12:43Z</dc:date>
    </item>
  </channel>
</rss>

