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

written by objects \\ tags: , ,

One Ping to “How do I specify what keystore file a Java application should use, for example when making an SSL connection”

  1. How to create an SSL Server Socket? | web development helpdesk Says:

    […] In addition you will also need to add the certificate (that is sent to the connecting client) to the keystore used by the application. […]

Leave a Reply

You must be logged in to post a comment.