Re: java certificates jarsigner: unable to recover key from keystore
Posted by ErmanArslansOracleBlog on Aug 06, 2015; 1:34pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/java-certificates-jarsigner-unable-to-recover-key-from-keystore-tp399p405.html
If we find a private key entry that has "Cannot recover key", we will use keytool to change it to be the same as the keystore's store password.
# keytool -keypasswd -alias <keyalias> \
-storepass <storepass> -keypass <oldkeypass> \
-new <storepass> -keystore adkeystore.dat