Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Fasani2016-10-14 11:48:15 +0000
committerEike Stepper2016-10-18 16:31:36 +0000
commit4a3ffea75b73315df5b22e1166d0729122e1cb29 (patch)
tree1799259b18bafbe04f70d47380ac0da6b145f373 /plugins/org.eclipse.net4j.tcp
parent193ac7190f01d954b55dcd1bf9eaff1491bfe6e8 (diff)
downloadcdo-4a3ffea75b73315df5b22e1166d0729122e1cb29.tar.gz
cdo-4a3ffea75b73315df5b22e1166d0729122e1cb29.tar.xz
cdo-4a3ffea75b73315df5b22e1166d0729122e1cb29.zip
[502066] Use TLS version from default to v1.2
* TLS communication fails with JDK1.7 because of the default cipher algorithm used. This change force to initialize SSLContext with TSLv1.2 so that the right cipher algorithm is used. * Note that it keeps working with JAVA8 Change-Id: Ic414737a11f08222cfdf659d838836d62cd0c75f Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=502066 Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
Diffstat (limited to 'plugins/org.eclipse.net4j.tcp')
-rw-r--r--plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/tcp/ssl/SSLUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/tcp/ssl/SSLUtil.java b/plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/tcp/ssl/SSLUtil.java
index fb9f7fc295..6180350bc7 100644
--- a/plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/tcp/ssl/SSLUtil.java
+++ b/plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/tcp/ssl/SSLUtil.java
@@ -50,7 +50,7 @@ public class SSLUtil
/**
* The variable for SSL Engine
*/
- private static final String PROTOCOL = "TLS";
+ private static final String PROTOCOL = "TLSv1.2";
/**
* The X.509 certificate type.

Back to the top