Appendix 13: Install VMware certificate

Appendix 13: Install VMware certificate



Appendix 13: Install VMware certificate

We need to instal VMware certificate to jvm 

Export Certificate

  1. Log in to vCenter Server using specified server name (https:\\vmware.example.com) and follow the below procedure to install the certificate.



  1. The Certificate Windows opens. 
  2. Navigate to the Details tab. 




  1. Click Copy to File button while on Details tab.

 



  1. The Certificate Export Wizard appears.
  2. Click Next


 



  1. Select the format as shown below. 
  2. Click Next.




  1. Browse a file path to download the certificate.

 



  1. Provide a name for the certificate.
  2. Click Save.



  1. You can now see the file path in the Certificate Export Wizard.
  2. Click Next

 



  1. This is the final step: Completing the Certificate Export.
  2. Click Finish.

 



  1. A pop-up window appears showing the export was successful.
  2. Click OK.

 




  1. Click OK.

 



  1. This completes the process of exporting the Certificate.

Import Certificate to Java Keystore

Once the certificate is exported (downloaded on the system), execute the below two commands to import the vCentre Server certificate.

  1. Open command prompt in Run As Administrator mode and run below commands:
  2. Change directory to the following path:

C:\Windows\system32>cd <JAVA_HOME>\jre\lib\security

  1. Now run the below command: 

C:\Program Files\Java\jdk1.8.0_92\jre\lib\security>

keytool -import -keystore cacerts -file “<file path>\example.cer” –alias vmware



Enter keystore password:


Trust this certificate? [no]:  y


Certificate was added to keystore



      Note:

  1. Enter password “changeit”, when prompt is displayed is Enter keystore password:
  1. (It is default password for cacerts file where domain entry is done for VMware certificate)
  1. Type option “y” or “yes” when prompt is displayed like Trust this certificate? [no]:  
  2. Give full path of saved certificate (example.crt) file in front of -file parameter in the command.


  1. Change directory to the following path:

C:\Windows\system32>cd <JAVA_HOME>\jre\lib\security

Perform Step 3 process again.






      Links to better reach 

            Bot Store

             EPD