(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
```
This commit is contained in:
Gavin Chou
2023-07-07 12:24:55 +08:00
committed by GitHub
parent bb985cd9a1
commit 53c10a2389

View File

@ -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.