Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1726

The deprecated SSLSocketFactory does not contain the SNI fix found in the SSLConnectionSocketFactory class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4.1, 4.5.1
    • 4.5.3
    • None

    Description

      Inside the deprecated SSLSocketFactory.createSocket(final HttpContext context) method the fix that was applied for HTTPCLIENT-1119 to the SSLConnectionSocketFactory class is not present, see https://github.com/apache/httpclient/commit/92b7e8cd971868505d0f22ee5cfc12a68ee91b80 for the fix for HTTPCLIENT-1119. That is, the method needs to create and return a standard socket, which is then layered on top of such that SNI is enabled.

      Attachments

        1. sni.patch
          1 kB
          David

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dblack David
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: