I added the following code to my apache config file:
NameVirtualHost *:443 <VirtualHost *:443> ServerName domain.com DocumentRoot /var/www/html SSLEngine ON SSLCertificateFile /etc/httpd/conf/ssl/domain.com.crt SSLCertificateKeyFile /etc/httpd/conf/ssl/decrypted-private-key.pem SSLCertificateChainFile /etc/httpd/conf/ssl/gd_bundle.crt ErrorLog logs/ssl.domain.com.error_log CustomLog logs/ssl.domain.com.access_log combined </VirtualHost>
Apache restarts just fine.
when i navigate to my site however, I get an 'untrusted connection' warning. Digging in a little deeper, chrome shows me the certificate is named 'phoneme1' (no idea where this certificate resides) and that it is self-signed (my certs are signed by godaddy). It makes me think something is being overridden by a setting elsewhere. Any thoughts on how to get the right SSL certificate to serve?
This is on CentOs 6.2, running apache.