Rate this article: (1 votes, average: 5.00)
Java is one of the most common program languages in existence. It’s used for a wide range of projects and is designed to have as few dependencies as possible. But one thing Java does depend on is code signing. Code signing helps developers assert their identity to end users and helps end users know whether or not the integrity of the software they’re using remains intact. They are able to create a digital signature for Java code using a Java code signing certificate.
Today, we’re going to look at how to sign .jar or other Java code with a Java code signing certificate.
1. Open the command prompt and run the following command:
jarsigner -tsa http://timestamp.comodo.com -keystore c:\path\to\your\keystore.jks -storepass YourPassword c:\path\to\your\file.jar YourAlias
2. Unfortunately, there’s no verification that the signing was successful, so you’ll need to run another command to make sure:
jarsigner -verify -verbose -certs c:\path\to\your\file.jar
Provided that everything was successful, the output should look like this:
s = signature was verified
Fin! How easy was that.
What’s that? You NEED to sign .jar with a code signing certificate? Well, my friend, you’ve come to the right place. Take a look at our selection of low-price code signing certificates:
Need to sign your java Code to assure users? We sell all Comodo Java code signing certificates at up to 58% off.Buy Comodo Java Code Signing Certificate