...
Run the following command to create a keystore that contains a private key.
Code Block $ keytool -genkey -keystore <keystore file> -alias <alias> -keyalg RSA -keysize 2048
Info title Example - Creating the key Code Block $ keytool -genkey -keystore $MZ_HOME/keys/clientkey.keys -alias client -keyalg RSA -keysize 2048
- Copy the keystore file to the host that will run the Desktop Launcher.
Create a certificate file that is associated with the key that you created in the previous step.
Code Block $ keytool -keystore <keystore file> -exportcert -alias <alias> -file <certificate filename>
Info title Example - Creating a certificate Code Block $ keytool -keystore $MZ_HOME/keys/clientkey.keys -exportcert -alias client -file clientcert.cer
Import the certificate to the platform
Code Block $ keytool -keystore <platform keystore> -import -file <certificate filename> -alias <alias>
Info title Example - Importing a certificate Code Block $ keytool -keystore $MZ_HOME/keys/container.keys -import -file clientcert.cer -alias clientcert
- Open the Desktop Launcher.
- Right-click on a instance and a instance and then select Instance Settings from the popup menu. Select the Security tab.
- Right-click on the text field under Client Key and select Import Key From File.
- Select the key file that you copied in step 2.
...