diff options
author | James Moger <james.moger@gitblit.com> | 2014-11-04 16:38:17 -0600 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-11-04 16:38:17 -0600 |
commit | 4e84166db5c5538e3984d9d2d6bb1f9902e65ee0 (patch) | |
tree | a5c18cd4d4bb548b19f53772dc967025d1efae5b | |
parent | eb8089f0ee407fdda97b29848f923f8c92a402f4 (diff) | |
parent | 1219389f3b82e878412045356d8965982154e82e (diff) | |
download | gitblit-4e84166db5c5538e3984d9d2d6bb1f9902e65ee0.tar.gz gitblit-4e84166db5c5538e3984d9d2d6bb1f9902e65ee0.zip |
Merged #217 "Exclude SSLv3 from Gitblit GO https protocols"
-rw-r--r-- | src/main/java/com/gitblit/GitblitSslContextFactory.java | 1 |
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());
|