hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1790) [Java Broker] Select appropriate certificate for TLS based on SNIServerName
Date Fri, 02 Dec 2016 15:03:58 GMT
Keith Wall created HTTPCLIENT-1790:

             Summary: [Java Broker] Select appropriate certificate for TLS based on SNIServerName

                 Key: HTTPCLIENT-1790
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1790
             Project: HttpComponents HttpClient
          Issue Type: Improvement
            Reporter: Keith Wall
             Fix For: Future

Enable SNI support for the Java Broker.

We will need a X509ExtendedKeyManager implementation that gets the SNIServerName from the
SSL handshakes and then selects the most appropriate certificate alias for the indicated hostname.

I found the following example helpful:



This change requires Java 8, but it is probably possible to retain support for Java 7 using

It looks to me like the clients (Qpid JMS Client and Legacy) require no changes.  They both
pass the hostname through to the SSLEngine, so the SNIServerName should already be passed
through.  Client side support in Java was added at Java 7.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message