I am running a Win2003 server using Apache2.2 to basically just proxy to Tomcat6 with SSL.
I had tried running just tomcat6 but from everything that I read it was better for SSL traffic to proxy using Apache, so that is what i did.
Right now I am just pointing it to the Tomcat default page, that is easy enough to change later.
Here is where I am at.
1. On the server if I go to http: //localhost: it brings up the page fine.
2. On the server https: //localhost also brings up the page fine. Of course I do get a certificate error because the SSL cert is for my domain. But it does work and the samples run fine.
3. From either the server or another PC, if I goto http: //my. domain.com it works fine and brings up the Tomcat default page.
4. From either place going to https the browser says waiting and eventually returns an error.
In my httpd.conf file I have:
Listen 80
Listen 443
The mod_proxy 's, mod_ssl & mod_vhost_alias are all turned on.
In my httpd-vhosts.conf file here is what I have:
NameVirtualHost *:80 (although on this try it isn't named, shows error in the logs but doesnt seem to hurt anything)
NameVirtualHost *:443
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
ProxyPass / http: //localhost:8080/
ProxyPassReverse / http: //localhost:8080/
<VirtualHost *:443>
SSLEngine On
SSLProxyEngine on
SSLCertificateFile conf/ssl/certname.cer
SSLCertificateKeyFile conf/ssl/keyname.key
ProxyPass / httpa: //localhost:8443/
ProxyPassReverse / httpa: //localhost:8443/
ErrorLog "logs/mydomain.com-error.log"
CustomLog "logs/mydomain.com-access.log" common
</VirtualHost>