summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-11-04 16:38:17 -0600
committerJames Moger <james.moger@gitblit.com>2014-11-04 16:38:17 -0600
commit4e84166db5c5538e3984d9d2d6bb1f9902e65ee0 (patch)
treea5c18cd4d4bb548b19f53772dc967025d1efae5b
parenteb8089f0ee407fdda97b29848f923f8c92a402f4 (diff)
parent1219389f3b82e878412045356d8965982154e82e (diff)
downloadgitblit-4e84166db5c5538e3984d9d2d6bb1f9902e65ee0.tar.gz
gitblit-4e84166db5c5538e3984d9d2d6bb1f9902e65ee0.zip
Merged #217 "Exclude SSLv3 from Gitblit GO https protocols"
-rw-r--r--src/main/java/com/gitblit/GitblitSslContextFactory.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/GitblitSslContextFactory.java b/src/main/java/com/gitblit/GitblitSslContextFactory.java
index 9dd89b61..bda92afa 100644
--- a/src/main/java/com/gitblit/GitblitSslContextFactory.java
+++ b/src/main/java/com/gitblit/GitblitSslContextFactory.java
@@ -54,6 +54,7 @@ public class GitblitSslContextFactory extends SslContextFactory {
setKeyStorePassword(storePassword);
setTrustStorePath(clientTrustStore.getAbsolutePath());
setTrustStorePassword(storePassword);
+ addExcludeProtocols("SSLv3");
logger.info(" keyStorePath = " + keyStore.getAbsolutePath());
logger.info(" trustStorePath = " + clientTrustStore.getAbsolutePath());