WSS1927: Error occured while decrypting EncryptedKey when loading private key from certain JKS keystores
First off, my environment details:
Metro 2.01 on Glassfish 3.01
My service is configured to used Issued Token Authentication and I'm not sure I want to bore you with how it's configured, because it works just fine :) Let me know if you need details.
I've been using a self-signed keystore up until now - and it works great. But after exchanging that with a Godaddy certificate I'm experiencing this error (full stacktrace attached)
com.sun.xml.wss.impl.WssSoapFaultException: WSS1927: Error occured while decrypting EncryptedKey.
I've googled it plenty I think and all come down to the usual thing:
1) Your service client is using the wrong public key to encrypt messages to the service
2) Your STS is using the wrong public key to encrypt your token
Any ideas what logging settings I need to turn on to see why it can't load my private key from the JKS? As far as I can see the JKS is valid and I'm positive about the jks password and the private key password (have loaded the jks in keystore explorer and validated it).