You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by na...@apache.org on 2019/11/25 13:54:56 UTC

[jclouds] branch master updated: JCLOUDS-1528 - Use TLS instead of SSL in SSLContext.getInstance (#55)

This is an automated email from the ASF dual-hosted git repository.

nacx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jclouds.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a338da  JCLOUDS-1528 - Use TLS instead of SSL in SSLContext.getInstance (#55)
3a338da is described below

commit 3a338da68250ceee071f8c38cffe3660b3c3b6b4
Author: Colm O hEigeartaigh <co...@users.noreply.github.com>
AuthorDate: Mon Nov 25 13:54:48 2019 +0000

    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 8ec4810..6f03171 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) {