This is an automated email from the ASF dual-hosted git repository. shaofengshi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kylin.git
commit ecc39ef9624e2aed6787ffe40390a7264310735f Author: Mahir92 <asefkabi...@gmail.com> AuthorDate: Mon May 4 02:06:42 2020 -0400 KYLIN-4477 Resolve Issue: Use secure TLSv1.3 instead of insecure TLS Signed-off-by: shaofengshi <shaofeng...@apache.org> --- .../apache/kylin/engine/mr/common/DefaultSslProtocolSocketFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine-mr/src/main/java/org/apache/kylin/engine/mr/common/DefaultSslProtocolSocketFactory.java b/engine-mr/src/main/java/org/apache/kylin/engine/mr/common/DefaultSslProtocolSocketFactory.java index d66e4eb..77c4bee 100644 --- a/engine-mr/src/main/java/org/apache/kylin/engine/mr/common/DefaultSslProtocolSocketFactory.java +++ b/engine-mr/src/main/java/org/apache/kylin/engine/mr/common/DefaultSslProtocolSocketFactory.java @@ -130,7 +130,7 @@ public class DefaultSslProtocolSocketFactory implements SecureProtocolSocketFact private static SSLContext createEasySSLContext() { try { - SSLContext context = SSLContext.getInstance("TLS"); + SSLContext context = SSLContext.getInstance("TLSv1.3"); context.init(null, new TrustManager[] { new DefaultX509TrustManager(null) }, null); return context;