Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13564116A1 for ; Thu, 26 Jun 2014 15:11:25 +0000 (UTC) Received: (qmail 4513 invoked by uid 500); 26 Jun 2014 15:11:24 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 4479 invoked by uid 500); 26 Jun 2014 15:11:24 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 4465 invoked by uid 99); 26 Jun 2014 15:11:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 15:11:24 +0000 Date: Thu, 26 Jun 2014 15:11:24 +0000 (UTC) From: "Igor (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HTTPCLIENT-1522) SNI support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1522?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D14044736#comment-14044736 ]=20 Igor edited comment on HTTPCLIENT-1522 at 6/26/14 3:09 PM: ----------------------------------------------------------- (-) SocketFactory creates not SSL socket, but ususal socket {code} if (socket instanceof SSLSocket){ ....//never runs } {code} {code} {http.cookie-origin=3D[(secure)touchpoint.tealeaveshealth.com:443/consume],= http.auth.credentials-provider=3D{}, http.connection=3DCPoolProxy{[Not bou= nd]}, http.target_host=3Dhttps://touchpoint.tealeaveshealth.com, http.cooki= e-spec=3Dbest-match, http.cookiespec-registry=3D{ignorecookies=3Dorg.apache= .http.impl.cookie.IgnoreSpecFactory@1106547c, rfc2109=3Dorg.apache.http.imp= l.cookie.RFC2109SpecFactory@3694a19f, rfc2965=3Dorg.apache.http.impl.cookie= .RFC2965SpecFactory@57fee9b7, compatibility=3Dorg.apache.http.impl.cookie.B= rowserCompatSpecFactory@20a21a83, standard=3Dorg.apache.http.impl.cookie.RF= C2965SpecFactory@727a9f31, best-match=3Dorg.apache.http.impl.cookie.BestMat= chSpecFactory@506984ae, netscape=3Dorg.apache.http.impl.cookie.NetscapeDraf= tSpecFactory@3f85e4c0}, http.route=3D{s}->https://touchpoint.tealeaveshealt= h.com:443, http.request=3DPOST /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-st= ore=3D[], http.auth.proxy-scope=3Dstate:UNCHALLENGED;, http.request-config= =3D, expectContinueEnabled=3Dfalse, proxy=3Dnull, localAddress=3Dnull, stal= eConnectionCheckEnabled=3Dtrue, cookieSpec=3Dnull, redirectsEnabled=3Dtrue,= relativeRedirectsAllowed=3Dtrue, maxRedirects=3D50, circularRedirectsAllow= ed=3Dfalse, authenticationEnabled=3Dtrue, targetPreferredAuthSchemes=3Dnull= , proxyPreferredAuthSchemes=3Dnull, connectionRequestTimeout=3D-1, connectT= imeout=3D-1, socketTimeout=3D-1], http.auth.target-scope=3Dstate:UNCHALLENG= ED;, http.authscheme-registry=3D{basic=3Dorg.apache.http.impl.auth.BasicSch= emeFactory@3938ae1a, digest=3Dorg.apache.http.impl.auth.DigestSchemeFactory= @382e4a4f, ntlm=3Dorg.apache.http.impl.auth.NTLMSchemeFactory@6710a559, ker= beros=3Dorg.apache.http.impl.auth.KerberosSchemeFactory@75d7aaeb, negotiate= =3Dorg.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} > SNI support > ----------- > > Key: HTTPCLIENT-1522 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-152= 2 > 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/76156= 45/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: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org