Register / Login
Win a copy of
Kotlin in Action
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Java in General
Jarsigner error: NULL Pointer exception
posted 10 years ago
I have been trying to sign a jar file using jarsigner with keystore being my ActivKey which is PKCS#11 compliant. Please find below the Command line statement I have used:
Command line Statement:
jarsigner -keystore NONE -storetype PKCS11 -signedjar CSPOne.jar -verbose CSP.jar "SampleAlias"
-->CSP.jar is the jar to be signed
-->CSPOne.jar is the name for the signed jar(which the jarsigner
-->SampleAlias is the alias name of the keystore of my active key
After this,it prompts me for the keystore password:
Enter Passphrase for keystore: xxxxxx
And this is the result:
Could somebody please let me know what the problem could be?
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
Boost this thread!
Self signing JAR works but one issue
Sign a jar with a third party certificate, using keytool and jarsigner