Generating the Java credential keystore
To generate the Java credential keystore, obtain the ESX(i) Server certificates and then set the credential as the keystore path.
Procedure
- Obtain the ESX(i) Server or vCenter Server certificate
using the vSphere client, the Secure Shell client application, or
Internet Explorer. To obtain ESX(i) Server or vCenter
Server certificates using the vSphere client, create a root-level
directory for the certificates. For example, C:\VMware-Certs.
- Install the vSphere client if not already installed.
- Start the vSphere client and navigate to the ESX, ESXi, or vCenter Server web server. A message displays regarding the certifying authority for the certificate.
- Click View Certificate to display the certificate properties page.
- Click the Details tab.
- Click Copy to File... to start the Certificate Export wizard.
- Select DER encoded binary X.509 (the default) and click Next.
- Click Browse... and navigate to the C:\VMware-Certs subdirectory.
- Enter a certificate name that identifies the server to which the certificate belongs. For example, (userinput) C:\VMware-Certs\<server name>.cer
- To obtain server certificates using the Secure Shell client
application, connect to the ESX system using an SSL client. Note: Remote connections to the ESX service console as root are effectively disabled. To obtain the certificate, you must connect as another user with privileges on the server.
Table 1. Server certificate file names and locations of the ESX(i) and vCenter servers Server Directory location for certificate Certificate ESX(i) 4.x, 5.0 /etc/vmware/ssl/ rui.crt vCenter Server 4.x, 5.0 C:\Documents and Settings\All Users\Appications rui.crt - Copy the certificates from the server to the certificate subdirectory, using a unique file name for the certificate (assuming you are copying multiple default certificates from multiple ESX systems, for example).
- To obtain server certificates using Internet Explorer,
type the following URL to access the web service of the ESX(i) Server
or vCenter Server: https://9.11.110.240/
- If you receive a message about the security certificate, select Continue to this website (not recommended).
- On the toolbar, click Certificate Error and, in the Certificate Invalid window, click View certificates.
- In the Certificate window, select the Details tab.
- Click Copy to File and follow the Certificate Export Wizard with the default option to save the certificate.
- Create a directory for the Java keystore. For example, C:\VMware
- Use the Java keytool
utility to import a certificate. The syntax is keytool -import
-file <certificate-filename> -alias <server-name> -keystore
vmware.keystore For example:
C:\Program Files\IBM\Hardware Provider for VSS-vDS\jre\bin\keytool.exe –import –file C:\tools\rui.crt –keystore C:\VMware\vmware.keystore - When prompted for a keystore password, type a password.
- The keystore utility displays the certificate information
at the console. For example:
Figure 1. Certificate information 
- At the end of the certificate information, a prompt
displays a request for confirmation that the certificate is trusted:
Trust this certificate? [No} - Type yes and press <Enter>
to respond to the prompt and import the certificate into the vmware.keystore keystore.
The console displays this message:
Certificate was added to keystore
- To set the vmcredential as the vmware.keystore path, type ibmvcfg set vmcredential "C:\VMware\vmware.keystore
- Type ibmvcfg showcfg to verify that
the configuration is correctly saved:
Figure 2. Verifying the configuration was saved 