Skip to content

Commit

Permalink
Merge pull request #1545 from Alejandro-Carrasco/secure-protocols
Browse files Browse the repository at this point in the history
Update RemoteUrl.java
  • Loading branch information
gracekarina authored Apr 13, 2021
2 parents 42f9612 + 2420d18 commit a5234f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void checkServerTrusted(X509Certificate[] certs, String authType) {
}};

// Install the all-trusting trust manager
final SSLContext sc = SSLContext.getInstance("SSL");
final SSLContext sc = SSLContext.getInstance("TLS");
sc.init(null, trustAllCerts, new java.security.SecureRandom());
final SSLSocketFactory sf = sc.getSocketFactory();

Expand Down

0 comments on commit a5234f5

Please sign in to comment.