Skip to content

Commit

Permalink
disable javax.net.debug=ssl by default, pass it using -Djavax.net.deb…
Browse files Browse the repository at this point in the history
…ug=ssl if you need it
  • Loading branch information
chris grzegorczyk committed Jan 9, 2012
1 parent 6a50f8d commit 130aa1e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -41,7 +41,7 @@ public class SslSetup {
System.setProperty( "javax.net.ssl.keyStoreType", "PKCS12" );
System.setProperty( "javax.net.ssl.trustStorePassword", ComponentIds.lookup(Eucalyptus.class).name( ) );
System.setProperty( "javax.net.ssl.keyStorePassword", ComponentIds.lookup(Eucalyptus.class).name( ) );
System.setProperty( "javax.net.debug", "ssl" );//set this to "ssl" for debugging.
// System.setProperty( "javax.net.debug", "ssl" );//set this to "ssl" for debugging.
try {
serverContext = SSLContext.getInstance( "TLS" );
serverContext.init( SslSetup.SimpleKeyManager.getKeyManagers( ), SslSetup.SimpleTrustManager.getTrustManagers( ), null );
Expand Down

0 comments on commit 130aa1e

Please sign in to comment.