hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: HttpClient 4.5.2 and Server Name Indication
Date Wed, 02 Mar 2016 20:41:07 GMT
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


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

View raw message