Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-36250

Drop SSlv3 retry and copied CustomSSLProtocolSocketFactory.java from SAL

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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.

            [CONFSERVER-36250] Drop SSlv3 retry and copied CustomSSLProtocolSocketFactory.java from SAL

            Minh Tran added a comment - - edited

            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

            Minh Tran added a comment - - edited 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

            What are the symptoms of this issue? In the week since we've upgraded to Confluence 5.8.5 (but this was opened ~6 months ago) we've had multiple instances of people unable to click "Save" on Confluence pages, they get an "SSL connection error" from Chrome. I'm trying to ascertain if upgrading to 5.8.6 would fix that issue. (we had not planned on upgrading Confluence again until 5.9.x).

            -Kelly Schoenhofen

            Kelly Schoenhofen added a comment - What are the symptoms of this issue? In the week since we've upgraded to Confluence 5.8.5 (but this was opened ~6 months ago) we've had multiple instances of people unable to click "Save" on Confluence pages, they get an "SSL connection error" from Chrome. I'm trying to ascertain if upgrading to 5.8.6 would fix that issue. (we had not planned on upgrading Confluence again until 5.9.x). -Kelly Schoenhofen

              mtran@atlassian.com Minh Tran
              dblack David Black
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: