Permalink
Browse files

disable javax.net.debug=ssl by default, pass it using -Djavax.net.deb…

…ug=ssl if you need it
  • Loading branch information...
2 parents 0f3f7f6 + 130aa1e commit 850c2e4294a651d1ff1e82ecb4503b7b4f900fc9 @grze grze committed Jan 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 clc/modules/msgs/src/main/java/com/eucalyptus/crypto/util/SslSetup.java
View
2 clc/modules/msgs/src/main/java/com/eucalyptus/crypto/util/SslSetup.java
@@ -41,7 +41,7 @@
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 );

0 comments on commit 850c2e4

Please sign in to comment.