Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2693

Allow to use HttpsURLConnection's defaultSSLSocketFactory and defaultHostnameVerifier in CXF client

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.6
    • 2.2.7, 2.3
    • Transports
    • None

    Description

      Allow CXF client (JAXWS & JAXRS) for HTTPS calls to use JVM wide SSL components :

      For this, I propose to add the following attributes to <http-conf:tlsClientParameters ... /> :

      Attribute Description
      useHttpsURLConnectionDefaultSslSocketFactory This attribute specifies if HttpsURLConnection.defaultSslSocketFactory should be used to create https connections. If 'true', 'jsseProvider', 'secureSocketProtocol', 'trustManagers', 'keyManagers', 'secureRandom', 'cipherSuites' and 'cipherSuitesFilter' are ignored.
      useHttpsURLConnectionDefaultSslSocketFactory This attribute specifies if HttpsURLConnection.defaultHostnameVerifier should be used to create https connections. If 'true', 'disableCNCheck' is ignored.

      Attachments

        1. CXF-2693-1.patch
          13 kB
          Cyrille Le Clerc

        Activity

          People

            cleclerc Cyrille Le Clerc
            cleclerc Cyrille Le Clerc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: