I have around 10 sites in Apache 2. These are all separate sites - not subdomains. I have SSL certs for two of them and I would like to set up the SSL for both of them and not force my non-ssl sites to use either cert.
The problem I am experiencing is that I am not able to have both certs active, it always seems to default to the first one, regardless of which site i go to.
I've been reading about this, and it looks like while my server might support SSI, windows XP does not support it, so that will not be a viable option. Also, I looked briefly into mod_gnutils, but I can't guarantee that that will do what i want, and I am also not really comfortable making all of the necessary installation/configuration to make that work if i don't absolutely have to.
Any direction provided to me regarding this would be greatly appreciated!
here are the two 443 virtual hosts. I've tried referencing the virtual hosts as you see below, as well as other variations such as simply '' and ''. I also played with the NameVirtualHost references, but still to no avail.
Listen 443 NameVirtualHost www.site1.com:443 NameVirtualHost www.site2.com:443 <VirtualHost www.site1.com:443> DocumentRoot /var/www/site1/ ServerName www.site1.com:443 #SSL SSLEngine on SSLCertificateFile /path/to/ssl/site1.com.crt SSLCertificateKeyFile /path/to/ssl/site1.key SSLCertificateChainFile /path/to/ssl/bundle1.crt </VirtualHost> <VirtualHost www.site2.com:443> DocumentRoot /var/www/site2/ ServerName www.site2.com:443 #SSL SSLEngine on SSLCertificateFile /path/to/ssl/site2.com.crt SSLCertificateKeyFile /path/to/ssl/sit2.key SSLCertificateChainFile /path/to/ssl/bundle2.crt </VirtualHost>