Skip to content

Instantly share code, notes, and snippets.

@albertoaflores
Created July 3, 2012 12:27
Show Gist options
  • Save albertoaflores/3039442 to your computer and use it in GitHub Desktop.
Save albertoaflores/3039442 to your computer and use it in GitHub Desktop.
Sample .mavenrc file for SSL connections
MAVEN_OPTS="-Djavax.net.ssl.keyStore=<YOU KEYSTORE FILE> \
-Djavax.net.ssl.keyStorePassword=<YOUR KEYSTORE PASSWORD> \
-Djavax.net.ssl.keyStoreType=JKS \
-Djavax.net.ssl.trustStore=<YOUR TRUSTSTORE FILE> \
-Djavax.net.ssl.trustStorePassword=<YOUR TRUSTSTORE PASSWORD> \
-Djavax.net.ssl.trustStoreType=JKS"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment