Dec 22, 2025
This article provides step-by-step instructions for Token Based JAR Signing in Windows Environments. If you are looking for a different solution, please use the search bar above.
Before signing, import R6-R45 timestamp cross certificate to Java root CA certificate store. Refer to the following command line for the purpose:
keytool -import -trustcacerts -alias myrootcert -file "C:\path\to\your\root_certificate.cer" -keystore "C:\path\to\your\cacerts"
You can watch the video below for a tutorial.
Or, you can check the step by step guidelines below.
Configuring your JDK
Windows JAR Signing
jarsigner -keystore NONE -storetype PKCS11 -tsa http://timestamp.globalsign.com/tsa/r45standard -providerClass sun.security.pkcs11.SunPKCS11 -providerArg eToken.cfg /directory/test.jar "certificateAlias"jarsigner -verify -verbose /directory/test.jarCheck your certificate installation for SSL issues and vulnerabilities.