You have to set the keyStore and other variables when running the application, using
-Djavax.net.ssl.keyStore=path/to/keystore.jks
Bozho
2010-01-26 10:06:37
You have to set the keyStore and other variables when running the application, using
-Djavax.net.ssl.keyStore=path/to/keystore.jks
Looks like you have a typo -- "trustStrore" should be "trustStore", i.e. System.setProperty("javax.net.ssl.trustStrore", "cacerts.jks"); should be: System.setProperty("javax.net.ssl.trustStore", "cacerts.jks");