Hi,
Running apache2 and using vhost-ssl.conf to host ssl sites, however I need three different sites (different domain names) using ssl on port 443 and I only see the ability to host one in the conf file. For example, the below entries in vhosts-ssl.conf show a path to the ssl certificate for, presumably, one site;
You know that you will have to use three different ip addresses, do you? If you don't, have a look at apache's documentation
<snip> # Server Certificate: # Point SSLCertificateFile at a PEM encoded certificate. If # the certificate is encrypted, then you will be prompted for a # pass phrase. Note that a kill -HUP will prompt again. Keep # in mind that if you have both an RSA and a DSA certificate you # can configure both in parallel (to also allow the use of DSA # ciphers, etc.) SSLCertificateFile /etc/apache2/ssl.crt/server.crt #SSLCertificateFile /etc/apache2/ssl.crt/server-dsa.crt
# Server Private Key: # If the key is not combined with the certificate, use this # directive to point at the key file. Keep in mind that if # you've both a RSA and a DSA private key you can configure # both in parallel (to also allow the use of DSA ciphers, etc.) SSLCertificateKeyFile /etc/apache2/ssl.key/server.key #SSLCertificateKeyFile /etc/apache2/ssl.key/server-dsa.key <snip>
How would you set this up for three separate certificates and three separate keys?
Just point to different files, this one is an example Regards, Gaël