Oct
15
|
You can specify the keystore location wusing the javax.net.ssl.keyStore system property
java -Djavax.net.ssl.keyStore=<path to keystore file> -Djavax.net.ssl.keyStorePassword=<keystore password> au.com.objects.MyServer
One Ping to “How do I specify what keystore file a Java application should use, for example when making an SSL connection”
Leave a Reply
You must be logged in to post a comment.
April 28th, 2009 at 5:18 am
[…] In addition you will also need to add the certificate (that is sent to the connecting client) to the keystore used by the application. […]