I have an internet-accessible apache server that has SSL enabled and working.
On the local network, there is another server which provides a tomcat app over http.
The apache server reverse proxies the tomcat app. When the apache server is used over http, the tomcat app is correctly proxied, but when using it over https, the tomcat server returns 404 resource not found. So is the https request not translated to http? I would prefer to do it without touching the tomcat config, since that's not my area.
This is my config:
<VirtualHost *:443>
ServerName ext-service.example.com
SSLEngine on
SSLCertificateFile /etc/apache2/ssl.crt/mycert.crt
SSLCertificateKeyFile /etc/apache2/ssl.key/mykey.key
SSLCertificateChainFile /etc/apache2/ssl.crt/mybundle.crt
ProxyRequests Off
ProxyPreserveHost Off
<Proxy *>
AddDefaultCharset off
Order deny,allow
Allow from all
</Proxy>
DocumentRoot /srv/www/empty/
ProxyPass / http://int-service.example.com/
ProxyPassReverse / http://int-service.example.com/
</VirtualHost>
Best Answer
If the tomcat is set up to use AJP I suggest you to use that.