I´m having problems setting up a SSL cert. It seems Apache2 does not serve the cert defined in the vhost but the one in default-ssl (which seems to be expired)
default-ssl
<VirtualHost _default_:443>
ServerAdmin webmaster@localhost
ServerName 70.127.153.111
...
SSLEngine on
SSLCertificateFile /etc/ssl/certs/webserver.pem
SSLCertificateKeyFile /etc/ssl/private/webserver.key
...
Vhost Setup
<VirtualHost *:443>
ServerName sub.mydomain.com
DocumentRoot /var/www/
SSLEngine on
SSLCertificateFile /etc/ssl/private/mydomain.crt
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-mydomain-snakeoil.key
SSLCertificateChainFile /etc/apache2/mydomain.crt
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</VirtualHost>
Happy for any hint what I´m doing wrong.
Thanks!