diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/http/JDKHttpConnection.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/http/JDKHttpConnection.java index bde5e1da2..ed37feab3 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/http/JDKHttpConnection.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/http/JDKHttpConnection.java @@ -186,7 +186,7 @@ public class JDKHttpConnection implements HttpConnection { public void configure(KeyManager[] km, TrustManager[] tm, SecureRandom random) throws NoSuchAlgorithmException, KeyManagementException { - SSLContext ctx = SSLContext.getInstance("SSL"); //$NON-NLS-1$ + SSLContext ctx = SSLContext.getInstance("TLS"); //$NON-NLS-1$ ctx.init(km, tm, random); ((HttpsURLConnection) wrappedUrlConnection).setSSLSocketFactory(ctx .getSocketFactory());