JCLOUDS-1528 - Use TLS instead of SSL in SSLContext.getInstance (#55)

This commit is contained in:
Colm O hEigeartaigh 2019-11-25 13:54:48 +00:00 committed by Ignasi Barrera
parent 18da28af9f
commit 3a338da682
1 changed files with 1 additions and 1 deletions

View File

@ -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) {