• Post Reply Bookmark Topic Watch Topic
  • New Topic

mutual authentication ssl with netbeans  RSS feed

Filippo La Torre
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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:

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?

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!