Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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
    titleExample - Creating the key


    Code Block
    $ keytool -genkey -keystore $MZ_HOME/keys/clientkey.keys -alias client -keyalg RSA -keysize 2048



  2. Copy the keystore file to the host that will run the Desktop Launcher.

  3. 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
    titleExample - Creating a certificate


    Code Block
    $ keytool -keystore $MZ_HOME/keys/clientkey.keys -exportcert -alias client -file clientcert.cer



  4. Import the certificate to the platform

    Code Block
    $ keytool -keystore <platform keystore> -import -file <certificate filename>  -alias <alias>


    Info
    titleExample - Importing a certificate


    Code Block
    $ keytool -keystore $MZ_HOME/keys/container.keys -import -file clientcert.cer  -alias clientcert



  5. Open the Desktop Launcher.

  6. Right-click on a instance and an instance and then select Instance Settings from the popup menu. Select the Security tab.

  7. Right-click on the text field under Client Key and select Import Key From File.

  8. Select the key file that you copied in step 2.

...