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

Server Name Indication (SNI) Support

    XMLWordPrintableJSON

Details

    Description

      Provide support for Server Name Indication (SNI) support as per RFC 3546 (section 3.1).

      Currently attempting to connect to SNI enabled host 'expectedhost' over SSL using http client results in an SSLException similar to:

      javax.net.ssl.SSLException: hostname in certificate didn't match: <expectedhost> != <defaulthost>
      at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:220)

      We use SNI on some of our environments and were trying to use httpclient to automatically test host access and availability.

      Attachments

        Activity

          People

            Unassigned Unassigned
            guspower Gus Power
            Votes:
            11 Vote for this issue
            Watchers:
            17 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: