Contact
Knowledgebase: Symantec
How to install a Code Signing Certificate for Sun Java in x.509 format
Posted by SSL Admin on 11 March 2014 05:58 PM

Resolution

If you have downloaded or received the Code Signing Certificate for Sun Java in x.509 format, please follow these instructions to install the Code Signing Certificate and the corresponding Intermediate CA certificates into your keystore.

Step 1: Install Code Signing Primary Intermediate CA  and Secondary Intermediate CA certificate into keystore

  1. Download the Primary and Secondary Intermediate CA certificates here: AR1739
  2. Copy the Primary and Secondary Intermediate CA contents into two separate text files. Be sure to use a text editor such as Notepad or Vi.
  3. For the Primary Intermediate CA, save the file primaryintca.cer
  4. Use the following command to import this Certificate into the keystore:

keytool -import -trustcacerts -alias primaryintermediate -keystore keystore_name -file primaryintca.cer

  1. For Example:

  2. For the Secondary Intermediate CA, name the file as secondaryintca.cer
  3. Use the following command to import this Certificate into the keystore:

    keytool -import -trustcacerts -alias secondaryintermediate -keystore keystore_name -file secondaryintca.cer

    For Example:

Step 2: Install Sun Java certificate into keystore

  1. Save the x.509 formatted file as sunjava.cer
  2. Use the following command to import the Sun Java Code Signing certificate into the keystore:

    keytool -import -trustcacerts -alias your_alias_name -keystore keystore_name -file sunjava.cer

    For Example:

Step 3: Confirm the contents of the keystore

  1. Enter the following command to list the contents of the keystore:
    keytool -list -v -keystore your_keystore_filename > output_filename
    For example:

  2. View the contents of the output file. The certificate chain length should be four.
    For example:
  3. To begin signing, refer to article AR185

Comments (0)
© 2012 SSLHelpdesk.com All rights reserved • Privacy PolicyTerms of Service