You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by John Melody <jo...@sybernet.ie> on 2004/03/24 12:50:24 UTC

Httpclient + HTTPS + Proxy + BASIC Authentication

I have read the notes on the bug in Httpclient V2.0 to do with 
using Basic Authentication with a HTTPS Url through a proxy. 

The workaround is to use preemptive authentication. 

Are the credentials i.e. username, password sent unencrypted to the 
server when Preemptive Authentication is used even through the URL is 
a https URL.

regards, 
John.  

John Melody 
SyberNet Ltd. 
Galway Business Park, 
Dangan, 
Galway. 
Tel. No. +353 91 514400 
Fax. NO. +353 91 514409 
Mobile - 087-2345847 

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


RE: Httpclient + HTTPS + Proxy + BASIC Authentication

Posted by ol...@bluewin.ch.
John,
The connection between the client (the agent) and the proxy is always unencrypted
regardless of the transport mechanism used to access the target server (plain
or SSL). Therefore, when the Basic authentication scheme is used to authenticate
with the proxy, the credentials are transmitted in clear case. To my knowledge
none of the mainstream proxy servers currently implements transport security
between the client (the agent) and the proxy.

The HTTPS + Proxy + BASIC Authentication bug has been fixed in the 3.0-prealpha-nightly
version of HttpClient. Please note that this is unstable development version
and it is incompatible with 2.0 API. If things progress well, we may have
the first official alpha out by the of May for the public review of the new
3.0 API.

Oleg


>-- Original Message --
>Reply-To: "Jakarta Commons Users List" <co...@jakarta.apache.org>
>From: "John Melody" <jo...@sybernet.ie>
>To: <co...@jakarta.apache.org>
>Subject: Httpclient + HTTPS + Proxy + BASIC Authentication 
>Date: Wed, 24 Mar 2004 11:50:24 -0000
>
>
>
>I have read the notes on the bug in Httpclient V2.0 to do with 
>using Basic Authentication with a HTTPS Url through a proxy. 
>
>The workaround is to use preemptive authentication. 
>
>Are the credentials i.e. username, password sent unencrypted to the 
>server when Preemptive Authentication is used even through the URL is 
>a https URL.
>
>regards, 
>John.  
>
>John Melody 
>SyberNet Ltd. 
>Galway Business Park, 
>Dangan, 
>Galway. 
>Tel. No. +353 91 514400 
>Fax. NO. +353 91 514409 
>Mobile - 087-2345847 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


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