From 53c10a2389667b4dfe1f65f9d2e27e7a4ec3be9a Mon Sep 17 00:00:00 2001 From: Gavin Chou Date: Fri, 7 Jul 2023 12:24:55 +0800 Subject: [PATCH] (chore) Disable ssl connection to FE by default for compatibility reason (#20230) Older MySQL client (< 5.7.28) will try to connect to server with tls1.1, which is insecure and is not supported by Doris FE. The connection will fail. We disable ssl connection support on Doris FE to keep the users' application unaffected. To enable ssl support explicitly, just put the following to fe.conf ``` enable_ssl = true ``` --- fe/fe-common/src/main/java/org/apache/doris/common/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java index c683db9bc5..287d39dc5b 100644 --- a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java +++ b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java @@ -1816,7 +1816,7 @@ public class Config extends ConfigBase { * If set to ture, doris will establish an encrypted channel based on the SSL protocol with mysql. */ @ConfField(mutable = false, masterOnly = false, expType = ExperimentalType.EXPERIMENTAL) - public static boolean enable_ssl = true; + public static boolean enable_ssl = false; /** * If set to ture, ssl connection needs to authenticate client's certificate.