• Post Reply Bookmark Topic Watch Topic
  • New Topic

Client Authentication from java client to .Net webservice  RSS feed

 
d fong
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am writing a java web service client that talks to a .Net web service (.Net v4). I have SSL working, but I have issues with the client authentication.

I have the client certificate in my keystore

System.setProperty("javax.net.ssl.keyStore", KS_WIN);
System.setProperty("javax.net.ssl.keyStorePassword", KS_Password);
System.setProperty("javax.net.ssl.keyStoreType", "JKS");

Does anyone have any experience with this?

The error I am getting is

An error occurred when verifying security for the message

The SSL definitely works as it when we turn client authentication off it works well, but when we turn it back on we get this error again.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!