James Moger
2014-02-21 aa61fc86db4f5ebf645ecf69c6f5ec36f2973e5a
src/main/java/com/gitblit/GitblitSslContextFactory.java
@@ -32,7 +32,7 @@
/**
 * Special SSL context factory that configures Gitblit GO and replaces the
 * primary trustmanager with a GitblitTrustManager.
 *
 *
 * @author James Moger
 */
public class GitblitSslContextFactory extends SslContextFactory {
@@ -40,11 +40,11 @@
   private static final Logger logger = LoggerFactory.getLogger(GitblitSslContextFactory.class);
   private final File caRevocationList;
   public GitblitSslContextFactory(String certAlias, File keyStore, File clientTrustStore,
         String storePassword, File caRevocationList) {
      super(keyStore.getAbsolutePath());
      this.caRevocationList = caRevocationList;
      // disable renegotiation unless this is a patched JVM
@@ -65,8 +65,8 @@
         logger.info("   allowing SSL renegotiation on Java " + v);
         setAllowRenegotiate(allowRenegotiation);
      }
      if (!StringUtils.isEmpty(certAlias)) {
         logger.info("   certificate alias = " + certAlias);
         setCertAlias(certAlias);
@@ -74,7 +74,7 @@
      setKeyStorePassword(storePassword);
      setTrustStore(clientTrustStore.getAbsolutePath());
      setTrustStorePassword(storePassword);
      logger.info("   keyStorePath   = " + keyStore.getAbsolutePath());
      logger.info("   trustStorePath = " + clientTrustStore.getAbsolutePath());
      logger.info("   crlPath        = " + caRevocationList.getAbsolutePath());