Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8310731

Configure a javax.net.ssl.SNIMatcher for the HTTP/1.1 test servers in java/net/httpclient tests

XMLWordPrintable

    • b04

        Many of the java/net/httpclient tests create and use HTTP/1.1 test servers backed by the com.sun.net.httpserver.HttpsServer. Right now, none of these tests configure a javax.net.ssl.SNIMatcher. It has been observed in some test logs that when a HTTP client then initiates a TLS handshake with a SNI name to such servers, then the SNI name is ignored on the server side with logs like:

        > no server name matchers, ignore server name indication

        Configuring these test servers with a SNIMatcher would prevent the SNI name from being ignored.

              jpai Jaikiran Pai
              jpai Jaikiran Pai
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: