diff options
author | James Moger <james.moger@gitblit.com> | 2014-11-04 17:20:31 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-11-04 17:24:04 -0500 |
commit | 4aff00191f7d8ede39dfdcda703c61f33c5f000d (patch) | |
tree | c230441e6a84474dd7b9b2426833ec516b6281ff | |
parent | b76107bb240c54ba4d4c8e1d2badd412e5c473fa (diff) | |
download | gitblit-4aff00191f7d8ede39dfdcda703c61f33c5f000d.tar.gz gitblit-4aff00191f7d8ede39dfdcda703c61f33c5f000d.zip |
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());
|