[
https://issues.apache.org/jira/browse/HTTPCLIENT-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14044736#comment-14044736
]
Igor edited comment on HTTPCLIENT-1522 at 6/26/14 3:12 PM:
-----------------------------------------------------------
(-) SocketFactory creates not SSL socket, but ususal socket
{code}
if (socket instanceof SSLSocket){
....//never runs
}
{code}
HttpContext context is
{code}
{http.cookie-origin=[(secure)touchpoint.tealeaveshealth.com:443/consume],
http.auth.credentials-provider={}, http.connection=CPoolProxy{[Not bound]},
http.target_host=https://touchpoint.tealeaveshealth.com,
http.cookie-spec=best-match,
http.cookiespec-registry={ignorecookies=org.apache.http.impl.cookie.IgnoreSpecFactory@1106547c,
rfc2109=org.apache.http.impl.cookie.RFC2109SpecFactory@3694a19f,
rfc2965=org.apache.http.impl.cookie.RFC2965SpecFactory@57fee9b7,
compatibility=org.apache.http.impl.cookie.BrowserCompatSpecFactory@20a21a83,
standard=org.apache.http.impl.cookie.RFC2965SpecFactory@727a9f31,
best-match=org.apache.http.impl.cookie.BestMatchSpecFactory@506984ae,
netscape=org.apache.http.impl.cookie.NetscapeDraftSpecFactory@3f85e4c0},
http.route={s}->https://touchpoint.tealeaveshealth.com:443, http.request=POST
/consume HTTP/1.1 [Content-Length: 0, Host: touchpoint.tealeaveshealth.com,
Connection: Keep-Alive, User-Agent: Apache-HttpClient/4.3.4 (java 1.5),
Accept-Encoding: gzip,deflate], http.cookie-store=[],
http.auth.proxy-scope=state:UNCHALLENGED;, http.request-config=,
expectContinueEnabled=false, proxy=null, localAddress=null,
staleConnectionCheckEnabled=true, cookieSpec=null, redirectsEnabled=true,
relativeRedirectsAllowed=true, maxRedirects=50, circularRedirectsAllowed=false,
authenticationEnabled=true, targetPreferredAuthSchemes=null,
proxyPreferredAuthSchemes=null, connectionRequestTimeout=-1, connectTimeout=-1,
socketTimeout=-1], http.auth.target-scope=state:UNCHALLENGED;,
http.authscheme-registry={basic=org.apache.http.impl.auth.BasicSchemeFactory@3938ae1a,
digest=org.apache.http.impl.auth.DigestSchemeFactory@382e4a4f,
ntlm=org.apache.http.impl.auth.NTLMSchemeFactory@6710a559,
kerberos=org.apache.http.impl.auth.KerberosSchemeFactory@75d7aaeb,
negotiate=org.apache.http.impl.auth.SPNegoSchemeFactory@221666be}}
{code}
was (Author: alebastrov):
(-) SocketFactory creates not SSL socket, but ususal socket
{code}
if (socket instanceof SSLSocket){
....//never runs
}
{code}
{code}
{http.cookie-origin=[(secure)touchpoint.tealeaveshealth.com:443/consume],
http.auth.credentials-provider={}, http.connection=CPoolProxy{[Not bound]},
http.target_host=https://touchpoint.tealeaveshealth.com,
http.cookie-spec=best-match,
http.cookiespec-registry={ignorecookies=org.apache.http.impl.cookie.IgnoreSpecFactory@1106547c,
rfc2109=org.apache.http.impl.cookie.RFC2109SpecFactory@3694a19f,
rfc2965=org.apache.http.impl.cookie.RFC2965SpecFactory@57fee9b7,
compatibility=org.apache.http.impl.cookie.BrowserCompatSpecFactory@20a21a83,
standard=org.apache.http.impl.cookie.RFC2965SpecFactory@727a9f31,
best-match=org.apache.http.impl.cookie.BestMatchSpecFactory@506984ae,
netscape=org.apache.http.impl.cookie.NetscapeDraftSpecFactory@3f85e4c0},
http.route={s}->https://touchpoint.tealeaveshealth.com:443, http.request=POST
/consume HTTP/1.1 [Content-Length: 0, Host: touchpoint.tealeaveshealth.com,
Connection: Keep-Alive, User-Agent: Apache-HttpClient/4.3.4 (java 1.5),
Accept-Encoding: gzip,deflate], http.cookie-store=[],
http.auth.proxy-scope=state:UNCHALLENGED;, http.request-config=,
expectContinueEnabled=false, proxy=null, localAddress=null,
staleConnectionCheckEnabled=true, cookieSpec=null, redirectsEnabled=true,
relativeRedirectsAllowed=true, maxRedirects=50, circularRedirectsAllowed=false,
authenticationEnabled=true, targetPreferredAuthSchemes=null,
proxyPreferredAuthSchemes=null, connectionRequestTimeout=-1, connectTimeout=-1,
socketTimeout=-1], http.auth.target-scope=state:UNCHALLENGED;,
http.authscheme-registry={basic=org.apache.http.impl.auth.BasicSchemeFactory@3938ae1a,
digest=org.apache.http.impl.auth.DigestSchemeFactory@382e4a4f,
ntlm=org.apache.http.impl.auth.NTLMSchemeFactory@6710a559,
kerberos=org.apache.http.impl.auth.KerberosSchemeFactory@75d7aaeb,
negotiate=org.apache.http.impl.auth.SPNegoSchemeFactory@221666be}}
{code}
> 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]