[
https://issues.apache.org/jira/browse/HTTPCLIENT-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14044717#comment-14044717
]
Igor edited comment on HTTPCLIENT-1522 at 6/26/14 2:52 PM:
-----------------------------------------------------------
And where am I supposed to implement this factory?
As you can see, *SSLConnectionSocketFactory* is a part of HttpClient
HttpClientConnectionOperator.java is lloking up the registry to get such factory
{code}
final Lookup<ConnectionSocketFactory> registry =
getSocketFactoryRegistry(context);
final ConnectionSocketFactory sf = registry.lookup(host.getSchemeName());
{code}
But we just need the same factory as SSLConnectionSocketFactory, with second
checking attempt, whether SNI support or not
was (Author: alebastrov):
And where am I supposed to implement this factory?
As you can see, *SSLConnectionSocketFactory* is a part of HttpClient
HttpClientConnectionOperator.java is lloking up the registry to get such factory
{code}
final Lookup<ConnectionSocketFactory> registry =
getSocketFactoryRegistry(context);
final ConnectionSocketFactory sf = registry.lookup(host.getSchemeName());
{code}
But we just need the same factory as SSLConnectionSocketFactory, with second
checking attempt
> SNI support
> -----------
>
> Key: HTTPCLIENT-1522
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1522
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 4.3.4
> Reporter: Igor
>
> Running HttpRequest to https://touchpoint.tealeaveshealth.com/consume
> causes an error
> {code}
> javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
> {code}
> to see how to fix, you can open
> *http://stackoverflow.com/questions/7615645/ssl-handshake-alert-unrecognized-name-error-since-upgrade-to-java-1-7-0*
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]