Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java webstart client 2way ssl

 
Anusha Bhatnagar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic