On Wed, 2016-03-02 at 12:37 -0500, Sam Wilson wrote: > Hey httpclient-users, > > I'm trying to get Server Name Indication working in an existing > application, but I'm having some serious trouble. > > The java version is 1.8.0_45. > > I've walked all the way through the HttpClient code to the > sun.security.ssl.SSLSocketImpl.connect call, and I see that HttpClient > is correctly passing the hostname through to the socket connect. > > The paramSocketAddress.toString() returns "www.example.com:443", where > example.com is replaced by the actual SNI host I'm using. > > When I enable -Djavax.net.debug=all, there is no server name extension > listed in the outgoing request. > > Is there anything else I need to do to enable SNI? >
No, there is not. Just make sure you are not using deprecated functionality. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org