Name-based virtual hosting SSL (seems to work)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've read this:
http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#vhosts

and it seems to state that this:

<VirtualHost *:443>
    AddHandler  fastcgi-script              .fcgi .fcg .fpl .py .pyc
    DocumentRoot /home/eggs/jt/pi/www/htdocs
    ServerName eggs.test.mycompany.com
    FastCgiExternalServer /home/eggs/jt/pi/pylib -host 127.0.0.1:5000
    SSLEngine on
    SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+SSLv2:+EXP:+eNULL
    SSLCertificateFile /etc/httpd/ssl/host.cert
    SSLCertificateKeyFile /etc/httpd/ssl/host.key
</VirtualHost>

<VirtualHost *:443>
    AddHandler  fastcgi-script              .fcgi .fcg .fpl .py .pyc
    DocumentRoot /home/toast/jt/pi/www/htdocs
    ServerName toast.test.mycompany.com
    FastCgiExternalServer /home/toast/jt/pi/pylib -host 127.0.0.1:5000
    SSLEngine on
    SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+SSLv2:+EXP:+eNULL
    SSLCertificateFile /etc/httpd/ssl/host.cert
    SSLCertificateKeyFile /etc/httpd/ssl/host.key
</VirtualHost>

However, it's working fine for me. When I go to eggs.test.mycommpany.com, I get the "eggs site", and when I go to toast, I get the "toast site."

Am I missing something? I'm using the same certificate for all sites. The statement is very clear that this cannot and will not work, but it seems to be working for me.

Can someone elucidate?

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux