Hi, I've been struggling with trying to setup regular site with multiple SSL sites on one apache site config file. We're run Ubuntu 8.0.4, apache 2.2.12(supports SNI) and openssl 0.9.8g. I was wonder if anyone have a working sample that they might share? Below is the current config that I'm trying to use but does not work. Thanks sropensrc NameVirtualHost *:443 SSLStrictSNIVHostCheck off <VirtualHost *:443> ServerName sslsite1.domain.com ServerAlias sslsite1 SSLEngine on SSLCertificateFile /root/crt/star_domain_com.crt SSLCertificateKeyFile /root/ssl/star_domain_com.key SSLCertificateChainFile /root/crt/DigiCertCA.crt DocumentRoot /home/dir/html/ <Directory /> Options None AllowOverride None </Directory> ErrorLog /var/log/apache2/error.log More config here </VirtualHost> ################################# Bride <VirtualHost *:443> ServerName sslsite2.domain.com ServerAlias sslsite2 SSLEngine on SSLCertificateFile /root/crt/star_domain_com.crt SSLCertificateKeyFile /root/ssl/star_domain_com.key SSLCertificateChainFile /root/crt/DigiCertCA.crt DocumentRoot /home/dir/html/ <Directory /> Options None AllowOverride None </Directory> ErrorLog /var/log/apache2/error.log More config here </VirtualHost>
That's what I thought at first, here's a link "http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI". It's probably simpler to setup one IP per ssl site, but we'll be adding more ssl sites in the future, we don't want to add hardware. thanks
Ah, gotcha, I didn't realise that's what you were trying to get working. Personally I've never tried it.