File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes mutual authentication ssl with netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "mutual authentication ssl with netbeans" Watch "mutual authentication ssl with netbeans" New topic
Author

mutual authentication ssl with netbeans

Filippo La Torre
Greenhorn

Joined: Jun 01, 2012
Posts: 6
Hi!

I'm trying to create a web service server and client that works with ssl mutual authentication. I chose the stack Metro and Netbeans for development. The server must run on Tomcat. While the client on Glassfish or another.

To start I followed this guide:
http://nhachicha.wordpress.com/2012/01/26/mutual-authentication-with-tomcat/

I think it's working because for access at https:localhost:8443 I had to add the certificate client.p12 to Firefox and accept what the server.

After that I configured on the NetBeans web service server with:
Secure Service and set the file server.jks for the keystore and the file truststore.jks for the truststore.

I should now create the client but when I try to contact the server to read the WSDL can not get it. Obviously this is because I don't have the client certificate.

My question is how to retrieve the WSDL in these cases? And though I can also generate code for the client, how to set parameters for the client? Should I create a client.jks to set it as the keystore and for truststore parameter use the same truststore.jks I created for the server?

thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mutual authentication ssl with netbeans
 
Similar Threads
Mutual authentication in Web Services
exception starting NodeAgent after enabling Security
mutual authentication won't work
The server sent HTTP status code -1
Problem setting up Security using JAX-WS for Signed certificates