]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5860 Disable SSLv3 in Tomcat connector
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 19 Nov 2014 18:09:08 +0000 (19:09 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 19 Nov 2014 18:09:20 +0000 (19:09 +0100)
server/sonar-server/src/main/java/org/sonar/server/app/Connectors.java

index 6a743f88c92d4aecffa3b46c1b9735d16b7cd65a..8bbbef093119ba028101b825beee0637932b5bd9 100644 (file)
@@ -115,6 +115,9 @@ class Connectors {
       setConnectorAttribute(connector, "truststoreType", props.value("sonar.web.https.truststoreType", "JKS"));
       setConnectorAttribute(connector, "truststoreProvider", props.value("sonar.web.https.truststoreProvider"));
       setConnectorAttribute(connector, "clientAuth", props.value("sonar.web.https.clientAuth", "false"));
+      // SSLv3 must not be enable because of Poodle vulnerability
+      // See https://jira.codehaus.org/browse/SONAR-5860
+      setConnectorAttribute(connector, "sslEnabledProtocols", "TLSv1,TLSv1.1,TLSv1.2");
       setConnectorAttribute(connector, "sslProtocol", "TLS");
       setConnectorAttribute(connector, "SSLEnabled", true);
       info("HTTPS connector is enabled on port " + port);