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

Server Name Indication (SNI) Support

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment