diff --git a/src/main/java/com/indix/tools/SSLTrustCA.java b/src/main/java/com/indix/tools/SSLTrustCA.java index 180f3e0..f6a9956 100644 --- a/src/main/java/com/indix/tools/SSLTrustCA.java +++ b/src/main/java/com/indix/tools/SSLTrustCA.java @@ -67,7 +67,6 @@ private synchronized static SSLContext trustCa(URL caFile) { tmf.init(keyStore); SSLContext sslContext = SSLContext.getInstance("TLS"); sslContext.init(null, tmf.getTrustManagers(), null); - SSLContext.setDefault(sslContext); return sslContext; } catch (Exception ex) { throw new RuntimeException(ex);