Tuesday, August 18, 2009

java.security.UnrecoverableKeyException: Cannot recover key

Exception :
Caused by: java.security.UnrecoverableKeyException: Cannot recover key
at sun.security.provider.KeyProtector.recover(Unknown Source)
at sun.security.provider.JavaKeyStore.engineGetKey(Unknown Source)
at sun.security.provider.JavaKeyStore$JKS.engineGetKey(Unknown Source)
at java.security.KeyStore.getKey(Unknown Source)
at org.apache.ws.security.components.crypto.CryptoBase.getPrivateKey(CryptoBase.java:216)
at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:713)... 14 more
Root Cause :
Incorrect password provided from the CallbackHandler for the private key.

Solution :
Correctthe password provided from the CallbackHandler for the private key.

0 comments:

Post a Comment