About the Virtual Machine Keystore

A Java KeyStore (JKS) is a repository of security certificates – either authorization certificates or public key certificates – used for SSL encryption and related activities. The Java Development Kit (JDK) maintains a keystore in jre/lib/security/cacerts, and provides the keytool command to manipulate it.

The VMKEYSTORE environment variable specifies the path to the JKS. The run.sh and run.bat scripts both refer to it. If you use the --ignorecert argument to run Java samples, you must still set the VMKEYSTORE variable, but you can set it to any location, not the actual JKS location.

Sample paths, Windows and Linux:

VMKEYSTORE=C:\VMware-Certs\vmware.keystore

VMKEYSTORE=/root/vmware-certs/vmware.keystore