From 3a338da68250ceee071f8c38cffe3660b3c3b6b4 Mon Sep 17 00:00:00 2001 From: Colm O hEigeartaigh Date: Mon, 25 Nov 2019 13:54:48 +0000 Subject: [PATCH] JCLOUDS-1528 - Use TLS instead of SSL in SSLContext.getInstance (#55) --- core/src/main/java/org/jclouds/http/config/SSLModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/jclouds/http/config/SSLModule.java b/core/src/main/java/org/jclouds/http/config/SSLModule.java index 8ec4810df1..6f03171f30 100644 --- a/core/src/main/java/org/jclouds/http/config/SSLModule.java +++ b/core/src/main/java/org/jclouds/http/config/SSLModule.java @@ -79,7 +79,7 @@ public class SSLModule extends AbstractModule { @Inject UntrustedSSLContextSupplier(TrustAllCerts trustAllCerts) { try { - SSLContext sslContext = SSLContext.getInstance("SSL"); + SSLContext sslContext = SSLContext.getInstance("TLS"); sslContext.init(null, new TrustManager[] { trustAllCerts }, new SecureRandom()); this.sslContext = sslContext; } catch (Exception e) {