Forum Moderators: phranque

Message Too Old, No Replies

SSL and ReverseProxy Error 502

any more documentation on SSL ReverseProxy & error 502?

         

bobenji

11:50 pm on Oct 2, 2007 (gmt 0)

10+ Year Member



Hello,

I would be very happy if someone can help me on this.

I am trying to install SSL support for my proxy server (reverse config)

having written the following to vhost.conf >

<VirtualHost *:443>
ServerAdmin webmaster@example.net
ServerName " . $site['proxied_url'] . "
DocumentRoot /home/webproxy/proxy_html
ProxyPass /crossdomain.xml!
<Location />
SetOutputFilter fixhtml
ProxyPass ["...] . $site['site_url'] . "/
ProxyPassReverse ["...] . $site['site_url'] . "/
</Location>
SSLProxyEngine on
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/_.my-secure-site.com.crt
SSLCertificateKeyFile /etc/apache2/ssl/my-secure-site.com.key
#SSLCertificateChainFile /etc/apache2/ssl/sf_intermediate_bundle.crt
SSLOptions +StdEnvVars

ErrorLog /var/log/apache2/ssl.clients.webproxy.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/ssl.clients.webproxy.access.log combined
ServerSignature On
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</VirtualHost>\n

< i find that the target server responds with the following error 502

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /Quick-Quote.aspx.

Reason: DNS lookup failure for: https:

< when I pass [secure.webmakerx.my-secure-site.com...]
to firefox

to my newbie eyes is appears as if its lost the ability to read directories and passed variable in a URL, or can not resolve my DNS becuse my config is wrong.

Can anybody help resolve this and tell me what is going on? - thank you!

[edited by: jdMorgan at 1:51 pm (utc) on Oct. 3, 2007]
[edit reason] Examplified URLs per Terms of Service [/edit]