Skip to Content
0
Nov 03, 2005 at 01:12 PM

WS security exception - KeyAndCertException

67 Views

Hi guys,

we try to create a web-service, which should use WSSE document security. We tried a lot of settings on the J2EE (web as), but it seems, we have a problem to set up correctly certificates...

Following exception is always thrown:

javax.xml.rpc.soap.SOAPFaultException: 000C292F9A4900500000000D0000116800040495DA3EB195 : Error during the generation of encryption element. Error was: com.sap.security.core.securitypolicy.assertions.cert.KeyAndCertException Error reading the private key and certificate from the keystore (view WebServiceSecurity, alias XMLEncryption). Error: java.lang.NullPointerException null

Does somebody have experience with this? Could you please explain me, how to make the settings of certificates correctly? Or send some link?

Thanx in advance!!

Peter