Hi,
I have review hundreds of google threads but have been unable to get this working.
I am trying to pass https traffic from a front-end apache server to a backend apache. This type of forwarding works:
<VirtualHost *:80>
ServerName www.domain.com
ServerAlias domain.com
ProxyPreserveHost On
ProxyPass / http://172.16.0.183/
ProxyPassReverse / http://172.16.0.183/
<Proxy http://172.16.0.183>
Allow from 172.16.0.183
</Proxy>
</VirtualHost>
But this does not load the signed certificate and fails:
<VirtualHost 172.16.0.183:443>
ServerName www.domain.com
ServerAlias domain.com
<Proxy *>
Order deny,allow
Allow from 172.16.0.183
</Proxy>
SSLEngine on
SSLProxyEngine on
SSLCertificateFile /etc/ssl/certs/domain.com.crt
SSLCertificateKeyFile /etc/ssl/private/domain.com.key
SSLCACertificateFile /etc/ssl/bundles/gd_bundle.crt
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / https://172.16.0.183/
ProxyPassReverse / https://172.16.0.183/
</VirtualHost>
I have installed the signed certificate in the correct paths (as referenced in the SSLCertificateFile, SSLCertificateKeyFile, and SSLCertificateFile in the config).
I have confirmed that the HTTPS is working on the back-end server. If I don’t try to go through the proxy both the http and https work.
Can you help troubleshoot this for me I have run out of things to try as I have scoured the apache documentation and tried to implement all of the appropriate mod_ssl and mod_proxy directives.
Your help is appreciated on this.
Regards,
Steve