ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject ambari git commit: AMBARI-16658. DevDeploy: Cannot connect to the server using SSLv3 (aonishuk)
Date Fri, 13 May 2016 16:55:13 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 b990a5030 -> d8724f968


AMBARI-16658. DevDeploy: Cannot connect to the server using SSLv3 (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d8724f96
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d8724f96
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d8724f96

Branch: refs/heads/branch-2.4
Commit: d8724f968aaf821ee225e03c49e1787447ab4c4f
Parents: b990a50
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Fri May 13 15:20:15 2016 +0300
Committer: Mahadev Konar <mahadev@apache.org>
Committed: Fri May 13 09:54:58 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/ambari/server/controller/AmbariServer.java   | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/d8724f96/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
b/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
index a071c9b..db66961 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
@@ -744,6 +744,10 @@ public class AmbariServer {
    * at server properties)
    */
   private void disableInsecureProtocols(SslContextFactory factory) {
+    // by default all protocols should be available
+    factory.setExcludeProtocols();
+    factory.setIncludeProtocols(new String[] { "SSLv2Hello","TLSv1"});
+    
     if (!configs.getSrvrDisabledCiphers().isEmpty()) {
       String[] masks = configs.getSrvrDisabledCiphers().split(DISABLED_ENTRIES_SPLITTER);
       factory.setExcludeCipherSuites(masks);


Mime
View raw message