summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-11-04 17:20:31 -0500
committerJames Moger <james.moger@gitblit.com>2014-11-04 17:24:04 -0500
commit4aff00191f7d8ede39dfdcda703c61f33c5f000d (patch)
treec230441e6a84474dd7b9b2426833ec516b6281ff
parentb76107bb240c54ba4d4c8e1d2badd412e5c473fa (diff)
downloadgitblit-4aff00191f7d8ede39dfdcda703c61f33c5f000d.tar.gz
gitblit-4aff00191f7d8ede39dfdcda703c61f33c5f000d.zip
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());