Re: java certificates jarsigner: unable to recover key from keystore
Posted by Kathy on Aug 06, 2015; 1:28pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/java-certificates-jarsigner-unable-to-recover-key-from-keystore-tp399p404.html
Hi... thanks for your response.. the keystore keypass and storepass are the same and I can do a keytool -list using the passwords with no problem... but
if I do the following for the alias ---
I can list the alias with the password perfectly fine... but if I want to change the password for the alias it says the following ... when I did this on the other Linux server for the first time after getting the trusted certificates I had no problems but I don't believe I set a password per say for the alias
keytool -keypasswd -alias EBSJavaCode -keystore adkeystore.dat
Enter keystore password:
Enter key password for <EBSJavaCode>
keytool error: java.security.UnrecoverableKeyException: Cannot recover key
thanks Kathy