Hello,

 

I have a java Web service running on Tomcat 1.5.15 and using wss4j version 1.5. The keystore I'm using is a pkcs12 generated with openssl. I'm able to encrypt/decrypt the usernameToken using a java web client. When I use a .NET client in Windows XP that is using the same keystore the web service fails to decrypt and I get the following error:

 

Unexpected number of X509Data: for decryption (KeyId)

 

I read all the messages in this newsgroup and I found other members having the same problem but no solutions. I suspect it has something to do with the .NET configuration especially the Default Session Key Algorithm. How do I configure .NET and the keystore to interoperate with a java web service?

 

After days trying to fix the problem I ran out of options. Hopefully it is something vary basic that I'm not seing.

 

Please help,

Alberto

 

Reply via email to