Re: HttpClient 4.5.2 and Server Name Indication

2016-03-03 Thread Gerry Woods
We just went through this exercise. We have our own socket factory implementation that, based on HTTPCLIENT-1119, uses the String host name when SSLSocketFactory.createSocket() is invoked (rather than using the InetAddress methods). This seemed to do the trick. On 3/2/16, 12:48 PM, "Sam

Re: HttpClient 4.5.2 and Server Name Indication

2016-03-03 Thread Oleg Kalnichevski
On Wed, 2016-03-02 at 16:19 -0500, Sam Wilson wrote: > On 3/2/16 3:56 PM, Philippe Mouawad wrote: > > See Oleg's commit few minutes on deprecated classes: > > http://svn.apache.org/viewvc?view=revision=1733362 > > So yes, my code hits that change. I take it I either grab the latest > HttpClient

Re: HttpClient 4.5.2 and Server Name Indication

2016-03-02 Thread Sam Wilson
On 3/2/16 3:56 PM, Philippe Mouawad wrote: See Oleg's commit few minutes on deprecated classes: http://svn.apache.org/viewvc?view=revision=1733362 So yes, my code hits that change. I take it I either grab the latest HttpClient from svn, or change my software to avoid this path? Thanks for

Re: HttpClient 4.5.2 and Server Name Indication

2016-03-02 Thread Sam Wilson
On 3/2/16 3:51 PM, Oleg Kalnichevski wrote: On Wed, 2016-03-02 at 15:48 -0500, Sam Wilson wrote: On 3/2/16 3:41 PM, Oleg Kalnichevski wrote: On Wed, 2016-03-02 at 12:37 -0500, Sam Wilson wrote: Is there anything else I need to do to enable SNI? No, there is not. Just make sure you are not

Re: HttpClient 4.5.2 and Server Name Indication

2016-03-02 Thread Philippe Mouawad
Hi, Have a look at this: https://issues.apache.org/jira/browse/HTTPCLIENT-1119 You will see concerned classes, see: https://github.com/apache/httpclient/commit/92b7e8cd971868505d0f22ee5cfc12a68ee91b80#diff-4f1f0cfa92ca97f7ee68436780ce874c See Oleg's commit few minutes on deprecated classes:

Re: HttpClient 4.5.2 and Server Name Indication

2016-03-02 Thread Sam Wilson
On 3/2/16 3:41 PM, Oleg Kalnichevski wrote: On Wed, 2016-03-02 at 12:37 -0500, Sam Wilson wrote: Is there anything else I need to do to enable SNI? No, there is not. Just make sure you are not using deprecated functionality. I'm sorry, are you saying that I am using deprecated

Re: HttpClient 4.5.2 and Server Name Indication

2016-03-02 Thread Oleg Kalnichevski
On Wed, 2016-03-02 at 15:48 -0500, Sam Wilson wrote: > On 3/2/16 3:41 PM, Oleg Kalnichevski wrote: > > On Wed, 2016-03-02 at 12:37 -0500, Sam Wilson wrote: > >> > >> Is there anything else I need to do to enable SNI? > >> > > > > No, there is not. Just make sure you are not using deprecated > >

Re: HttpClient 4.5.2 and Server Name Indication

2016-03-02 Thread Oleg Kalnichevski
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