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 <[email protected]> Authored: Fri May 13 15:20:15 2016 +0300 Committer: Mahadev Konar <[email protected]> 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);
