Code Signing Help

Java Code Signing

Download the SSL Certificate From Control Center

You will receive an e-mail from Trustwave® with the certificate attached to the e-mail. The filename will be similar to YourCompanyName.cer. Copy this file to your code signing computer and place it in the directory where you will keep your code signing certificates.

To install your certificate, run the following command:

keytool -import -trustcacerts -alias server -file YourCompanyName.cer -keystore NONE -storetype PKCS11

You will receive a message stating, "Certificate reply was installed in keystore". If you are asked to trust the certificate, type yes. Your code signing certificate has been installed and is ready to use.

Signing Java .jar files with Jarsigner

To sign your file, run the following command:

jarsigner -tsa -keystore NONE -storetype PKCS11 file.jar server

To verify that the .jar file was signed successfully, run the following command:

jarsigner -verify -verbose -certs file.jar

If your code was properly signed, you will see the following line in your output:

s = signature was verified

Certificate Analyzer

Once you have completed your certificate installation you can use our instant online troubleshooter to verify your installation and help resolve problems.
Certificate Analyzer→

Go Green