-
Suggestion
-
Resolution: Fixed
-
None
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
The fix for CONF-24035 introduced a retry with SSLv3 if a connection fails. However, like workaround implemented in SAL-203 there is no need to retry with SSLv3 - instead enabling TLSv1.1 or higher will address the issue. The issue is actually caused by java not following the TLS rfc. When TLSv1.1 or higher is enabled or the system property com.sun.net.ssl.rsaPreMasterSecretFix is set to true java will as per the TLS specification send the same version it supports in the client hello and in the PreMasterSecret. Otherwise, the default behaviour when TLSv1.1 is not enabled in client mode (e.g. the default in java 7) is to send the highest enabled version in the client hello and the active negotiated version in the PreMasterSecret causing servers (tested against openssl) to reject java's connection.
Note: Oracle has disabled SSLv3 in java 7 update 75 and java 8 update 31, see http://www.oracle.com/technetwork/java/javase/7u75-relnotes-2389086.html and http://www.oracle.com/technetwork/java/javase/8u31-relnotes-2389094.html respectively. So attempting to retry with SSlv3 will not work.
Please fix this issue by removing the copied CustomSSLProtocolSocketFactory class (it was copied from SAL) and setting the HttpClientHttpRetrievalService.DEFAULT_SSL_PROTOCOL based upon what is available in the running JVM. Note: in my quick survey of confluence plugins there was not a single usage or reference the HttpClientHttpRetrievalService.DEFAULT_SSL_PROTOCOL field.
- is duplicated by
-
CONFSERVER-36731 The fix for CONF-24035 hard-codes SSLv3 and TLSv1 protocols and explicitly retries with SSLv3 which is not needed
-
- Closed
-
- relates to
-
CONFCLOUD-36250 Drop SSlv3 retry and copied CustomSSLProtocolSocketFactory.java from SAL
- Closed
Hi kellys,
Oracle has disabled SSLv3 in java 7 update 75 and java 8 update 31.
This is just an internal task to remove the SSLv3 from our Shared Access Layer library inside Confluence
Thanks,
Minh Tran
Confluence BugMaster
Atlassian