Problem

  • Error occurs at installation
  • Intermediate is not installing
  • Keytool error: java.lang.Exception:

Resolution

Please follow the instructions bellow to complete the installation of your Sun Java Code Signing ID.

Step 1: Install Intermediate CA

1. Copy the Intermediate from the following site:

http://www.verisign.com/support/verisign-intermediate-ca/code-signing-intermediate/index.html

Save as: intermediateCA.cer
2. Use the following command to import the Intermediate CA Certificate:

keytool -import -alias intermediateCA -keystore <your_keystore_filename> -trustcacerts -file intermediateCA.cer

NOTE: The alias name, “intermediateCA” in this command is different than the alias name used during the generation of the private key and CSR.
Step 2: Install the Certificate that was e-mailed to you

1. Using a plain text editor such as Notepad, save the certificate received in the body of the email and save it as cert.cer

2. Enter the following command to import your Sun Java Signing Certificate:

keytool -import -alias <your_alias_name> -keystore <your_keystore_filename> -trustcacerts -file <your_certificate_filename>

NOTE: The alias name in this command must be the same as the alias name used during the generation of the private key and CSR.