Skip to content

Instantly share code, notes, and snippets.

@Qkyrie
Created July 17, 2013 08:06
Show Gist options
  • Save Qkyrie/6018665 to your computer and use it in GitHub Desktop.
Save Qkyrie/6018665 to your computer and use it in GitHub Desktop.
set keystores and truststores
System.setProperty("javax.net.ssl.keyStore", getKeystoreUrl());
System.setProperty("javax.net.ssl.keyStorePassword", getKeystorePassword());
System.setProperty("javax.net.ssl.trustStore", getTruststoreUrl());
System.setProperty("javax.net.ssl.trustStorePassword", getTruststorePassword());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment