For Java
development in a Windows environment, you must export the certificate to a
local directory.
Procedure
-
Create a directory
for the certificate, using the name set in the various batch files for the
vSphere Web Services SDK:
C:\VMware-Certs.
-
From the IE Tools menu,
select Internet Options to open the Internet Options properties page.
-
Click the
Content tab to
activate the content advisor.
-
Click
Certificates to
open the Certificate manager.
-
Click the
Trusted
Root Certificate Authorities tab to display the list of trusted
certificates.
-
Scroll through the list
of certificates to find the certificate. For the vCenter Server, the
certificate name is VMware.
-
Click the certificate to
select it.
-
Click
Export... to launch
the Certificate Export Wizard.
-
Click
Next to continue.
The Export File Format dialog displays.
-
Keep the defaults (“DER
encoded binary X.509 (.CER)”) and click
Next to continue.
The File
To Export dialog displays, enabling you to enter a unique name for the
certificate.
-
Choose a filename and
enter it, along with the complete path to the directory:
C:\VMware‐Certs\<servername>.cer
If you do
not enter the complete path, the certificate is stored in your Documents and
Settings folder.
-
Click
Next to continue
with the export.
A
Completing the Certificate Export Wizard page displays, summarizing the
information about the certificate.
-
Click
Finish to complete
the export.
A
Certificate Export Wizard “success” message displays.
-
Click
OK to dismiss the
success message.
-
Click
Close.
-
Click
Cancel to close the
Internet Options properties page.
What to do next
For more information about
setting up your Java development environment, see “Setting Up for Java
Development” in the Developer’s Setup Guide located at the VMware Web site
developer support page under the vSphere Web Services SDK.