WebService encryption problem
Hi,
I'm having a tough time trying to encrypt a WebService I'm developing. I'm using NetBeans 6.5.1.
The WebService is using the Mutual Certificates security mechanism; I generated both the client and server keys/certificates and set them on both sides. When I'm accessing this WebService from an application that is deployed on the same machine, it works perfectly. But when I try to access it from an another computer, it doesn't seem to work.
I'm receiving this message(server side):
Code:
WSS1913: Key used to decrypt EncryptedKey cannot be null
WSS1927: Error occured while decrypting EncryptedKey
And the client side:
Code:
StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw exception
javax.xml.ws.soap.SOAPFaultException: WSS1927: Error occured while decrypting EncryptedKey
...
I've been fighting with this for about a week now, I'd really appreciate some help. (and yes, I've google'd this before asking you ;-)
\\edit: It's not working if I'm using development defaults for the keystore/truststore