diff options
author | Thomas Wolf <thomas.wolf@paranor.ch> | 2019-12-31 23:08:10 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2020-01-03 20:48:25 +0100 |
commit | d661b9f43a091a5b6b5d843f77e79856675435fb (patch) | |
tree | 842e48924121a8239e8ef3994d58f48be4cedc92 /org.eclipse.jgit.http.apache/META-INF | |
parent | 9e6f09c7008171032ee0c0cccb34d7fa4b0ddeb6 (diff) | |
download | jgit-d661b9f43a091a5b6b5d843f77e79856675435fb.tar.gz jgit-d661b9f43a091a5b6b5d843f77e79856675435fb.zip |
TLS support on IBM JDKs
SSLContext.getInstance("TLS") by default behaves differently on IBM
JDK than on Oracle or OpenJDK.[1] On IBM JDK one gets sockets that
have only TLSv1 enabled, which makes HTTPS connections fail since most
servers refuse this old protocol version. On Oracle JDK/OpenJDK, one
gets sockets with all available protocol versions enabled.
Explicitly enable all available TLS protocol versions to make
HTTPS connections work also on IBM JDK.
[1] https://www.ibm.com/support/knowledgecenter/en/SSYKE2_8.0.0/com.ibm.java.security.component.80.doc/security-component/jsse2Docs/matchsslcontext_tls.html#matchsslcontext_tls
Bug: 558709
Change-Id: I5ffc57a78e67a6239b9dad54840a49a8ed28930a
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.http.apache/META-INF')
-rw-r--r-- | org.eclipse.jgit.http.apache/META-INF/MANIFEST.MF | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.jgit.http.apache/META-INF/MANIFEST.MF b/org.eclipse.jgit.http.apache/META-INF/MANIFEST.MF index f19031f896..e68959ae52 100644 --- a/org.eclipse.jgit.http.apache/META-INF/MANIFEST.MF +++ b/org.eclipse.jgit.http.apache/META-INF/MANIFEST.MF @@ -19,10 +19,12 @@ Import-Package: org.apache.http;version="[4.3.0,5.0.0)", org.apache.http.conn.scheme;version="[4.3.0,5.0.0)", org.apache.http.conn.socket;version="[4.3.0,5.0.0)", org.apache.http.conn.ssl;version="[4.3.0,5.0.0)", + org.apache.http.conn.util;version="[4.3.0,5.0.0)", org.apache.http.entity;version="[4.3.0,5.0.0)", org.apache.http.impl.client;version="[4.3.0,5.0.0)", org.apache.http.impl.conn;version="[4.3.0,5.0.0)", org.apache.http.params;version="[4.3.0,5.0.0)", + org.apache.http.ssl;version="[4.3.0,5.0.0)", org.eclipse.jgit.annotations;version="[5.7.0,5.8.0)", org.eclipse.jgit.nls;version="[5.7.0,5.8.0)", org.eclipse.jgit.transport.http;version="[5.7.0,5.8.0)", |