Apache2 and multiple SSL configs and name based virtual hosting
Apache/2.0.55 DAV/2 PHP/5.0.4 mod_ssl/2.0.55 OpenSSL/0.9.7i
I have two virtual hosts that need SSL certs and I have them configured but which ever one is listed is the one that sends out it's cert and overrides the other SSL config.
I have tried to place IfDefines around the two SSL virtual hosts but still a no go, I can't figure out how to separate them to keep the SSL certs from overlapping. Any Ideas?
above them are some related stuff and not necessarily in this order:
SSLRandomSeed startup builtin
here's a one of the two SSL vhosts both are subdomains of two diffferent domains.
# General setup for the virtual host
#ServerName has to match the server you entered into the CSR
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSL v2:+EXP:+eNULL
# Path to your certificates and private key
<Files ~ "\.(cgi|shtml|phtml|php3?|php5?)$">
# correction for browsers that don't always handle SSL connections well
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
Are the hosts on different IP addresses? Apache supports only one SSL vhost for each IP address.
Ahh that was it, that's pretty dumb that you can only have one SSL per IP.
hmmm... no, not really. There is a reason for this limitation... it's not as if that just decided "hey, lets piss everyone off and make them use a unique IP".... ;)
apache..ssl vhost..one ip @
i know it has been a year since this question was asked.. maybe u knew it before now...
did u mean like these warnings on apache server console?
>>[Thu Nov 02 06:10:22 2006] [warn] NameVirtualHost 192.168.2.2:443 has no VirtualHosts
[Thu Nov 02 06:10:22 2006] [warn] NameVirtualHost 192.168.2.2:443 has no VirtualHosts<<
if so, may i ask: does this affect the situation? i meant the security level?
or the usual browser warning when moving from http to https? if so, u're absolutely right!
These are no SSL warnings. I guess falko meaned that you get a SSL security warning in your browser thet the domain of your SSL certificate does not match the domain of the vhost.
|All times are GMT +2. The time now is 11:26.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.