I have encountered this problem while signing EBS jarfiles with new digital certificate.Codesigning certificate is used to sign jar files , in order to pass through security issues which come with new Java version 1.7.0_51.
New cert file has private key with different password. When keystore and keyentry have different password , this issue can become.
ERROR: JarSigner subcommand exited with status 1
JarSigner standard output:
jarsigner: unable to recover key from keystore
JarSigner error output:
Enter Passphrase for keystore: Enter key password for <Alias>
In order to pass over , keyentry password should be changed to keystore password.
keytool -keypasswd -keystore adkeystore.dat -keypass <KeyEntryPass> -new <KeyStorePass> -alias ykxcodesign
No comments:
Post a Comment