This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes Java webstart client 2way ssl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Java webstart client 2way ssl" Watch "Java webstart client 2way ssl" New topic
Author

Java webstart client 2way ssl

Anusha Bhatnagar
Greenhorn

Joined: May 24, 2011
Posts: 9
I have a Javaws application where I'm trying to achieve 2-way ssl authentication. For doing that, created both the client and server certificates and added each of them to the respective keystores. I'm not sure how should the java client connect to the server now. Just specifying the system properties of keystore and truststore are not enough it seems.

I want to be able to execute the javaws <JNLP FILE address>command

javaws -JDjavax.net.ssl.trustStore=client.jks -JDjavax.net.ssl.trustStorePassword=password -JDjavax.net.ssl.keyStore=client.jks avax.net.ssl.trustStorePassword=supersecret https:localhost:8443/ws/abc.jnlp

What else should I need to do apart from this to work? Please suggest.
 
jQuery in Action, 2nd edition
 
subject: Java webstart client 2way ssl
 
Similar Threads
The server sent HTTP status code -1
connect to a SOAP webservice using SSL
mutual authentication ssl with netbeans
Part II - RMI or SSL over TCP/IP
2 technical questions for the techies