You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment 18.9 (build 11.0.4+11)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.4+11, mixed mode)
A workaround is to set the system property jdk.tls.client.protocols=TLSv1.2 as mentioned here. (This was revealed to me in a comment on this question.) That is, change the Maven command to
However, because it seems that JDK 11 is defaulting to TLSv1.3, some change to the SSLConfiguration.getSSLSocketFactory() method is probably approprate. I do not know what that change is, though.
The text was updated successfully, but these errors were encountered:
Tests that make SSL connections fail due to errors when building with JDK 11. Specifically, these tests exhibit errors:
This can be reproduced by building in containers. The tests pass when, in a local cloned repository directory, you execute
...which builds with JDK 8, but they fail if you execute
...which builds with JDK 11.
Partial build log showing the failures on JDK 11 is attached:
sockslib-build-jdk-11.log
Java version details are:
A workaround is to set the system property
jdk.tls.client.protocols=TLSv1.2
as mentioned here. (This was revealed to me in a comment on this question.) That is, change the Maven command toHowever, because it seems that JDK 11 is defaulting to TLSv1.3, some change to the
SSLConfiguration.getSSLSocketFactory()
method is probably approprate. I do not know what that change is, though.The text was updated successfully, but these errors were encountered: