httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Zettergren <bjorn.zetterg...@basefarm.se>
Subject Re: [users@httpd] mod_proxy SSL forward proxy
Date Wed, 24 Aug 2011 11:14:11 GMT
On 08/24/2011 12:00 PM, Bill Moseley wrote:
> moseley@bair ~/Documents/apache $ wget https://mail.google.com/
> --2011-08-24 12:48:42-- https://mail.google.com/
> Resolving localhost... 127.0.0.1, ::1, fe80::1
> Connecting to localhost|127.0.0.1|:8443... connected.
> Failed reading proxy response: Unknown error: 0
> Retrying.
>
> Then in the logs same error:
>
> [Wed Aug 24 12:48:55 2011] [info] SSL Library Error: 336027803
> error:1407609B:SSL routines:SSL23_GET_CLIENT_HELLO:https proxy request
> speaking HTTP to HTTPS port!?

Hi Bill,

I tried your config and i can recreate your problem. But as Eric just 
said in another mail, your browser is not using https to speak to https 
proxy. And i verified that wget speaks http when you point out the 
"https_proxy" environment variable.

I get the same errors as you mention when i run "lwp-request" with HTTP 
(naturally):
$ lwp-request -m GET -p "http://localhost:8443/" https://www.google.com

However, when i explicitly tell "lwp-request" to use HTTPS it works fine!
$ lwp-request -m GET -p "https://localhost:8443/" https://www.google.com

So, your config is not at fault really, maybe the implementation is though.

/Björn

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message