Friday, October 24, 2008

How to solve the problem: failed to get key/certificate from keystore

The following problem may be solved by:

1. The certificate file directory provided in the WSDL file is correct
2. The key password specified need to be same as it is in the keystore

Oct 24, 2008 10:28:21 AM com.sun.xml.wss.impl.misc.DefaultCallbackHandler getDefaultPrivKeyCertSEVERE: WSS1505: IO Exception occured: failed to get key/certificate from keystore (not necesaarily i/o excep)com.sun.xml.wss.impl.XWSSecurityRuntimeException: java.security.UnrecoverableKeyException: Cannot recover key at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getPrivateKey(DefaultCallbackHandler.java:2165) at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getDefaultPrivKeyCert(Def

No comments: