Commit 47edb369 authored by Sean Marra's avatar Sean Marra Committed by akrherz

OF-1275

parent 17d50e8a
...@@ -56,7 +56,7 @@ public class SimpleSSLSocketFactory extends SSLSocketFactory implements Comparat ...@@ -56,7 +56,7 @@ public class SimpleSSLSocketFactory extends SSLSocketFactory implements Comparat
public SimpleSSLSocketFactory() { public SimpleSSLSocketFactory() {
try { try {
final SSLContext sslContext = SSLContext.getInstance("TLSv1"); final SSLContext sslContext = SSLContext.getInstance("TLSv1.2");
sslContext.init(null, // KeyManager not required sslContext.init(null, // KeyManager not required
new TrustManager[] { new DummyTrustManager() }, new TrustManager[] { new DummyTrustManager() },
new java.security.SecureRandom()); new java.security.SecureRandom());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment