hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel BONNANFANT <sbonn...@yahoo.fr>
Subject RE: [Https & proxy] Impossible to connect
Date Wed, 05 Nov 2003 16:31:33 GMT
I finally succeed.
I found my error when debugging HttpClient code.

The only error was in my client part, I wrote :
ProtocolSocketFactory protoSocketFact = new
StrictSSLProtocolSocketFactory(_stNomFichierCert,
_stPassword, _bVerifServerHostName);

instead of :
StrictSSLProtocolSocketFactory protoSocketFact = new
StrictSSLProtocolSocketFactory(_stNomFichierCert,
_stPassword, _bVerifServerHostName);

and then I put :
Protocol myhttps = new Protocol("https",
protoSocketFact, 443);
Protocol.registerProtocol("https", myhttps);

=> The protocole was understood as "non secure"...
Thanks a lot for your help, Oleg & Glück !

--
Samuel

 --- "Kalnichevski, Oleg"
<oleg.kalnichevski@bearingpoint.com> a écrit : > I
would also recommend Squid
> 
> http://www.squid-cache.org/
> 
> Oleg
> 
> -----Original Message-----
> From: Ortwin Glück [mailto:ortwin.glueck@nose.ch]
> Sent: Wednesday, November 05, 2003 15:40
> To: Commons HttpClient Project
> Subject: Re: [Https & proxy] Impossible to connect
> 
> 
> Samuel BONNANFANT wrote:
> > Do you know other reliable proxy ?
> 
> I guess the most widely used one is Squid.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
>
commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> commons-httpclient-dev-help@jakarta.apache.org
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
>
commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> commons-httpclient-dev-help@jakarta.apache.org
>  

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message