File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Jarsigner error: NULL Pointer exception
Joined: Jun 14, 2007
Jun 14, 2007 05:52:00
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 should return)
-->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?
I agree. Here's the link:
subject: Jarsigner error: NULL Pointer exception
Self signing JAR works but one issue
Sign a jar with a third party certificate, using keytool and jarsigner
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014