Installing a GoDaddy certificate to Apache

January 13, 2014 8.4k views
I am getting a browser error when I access uses an invalid security certificate. The certificate is not trusted because it is self-signed. (Error code: sec_error_untrusted_issuer) I have two files from GoDaddy: /etc/httpd/conf/keys/ /etc/httpd/conf/keys/ Which is the SSLCACertificateFile and which is the SSLCertificateChainFile? Should these directives be in /etc/httpd/conf.d/ssl.conf or /etc/httpd/conf/httpd.conf?
1 Answer
SSLCACertificateFile should be set to /etc/httpd/conf/keys/ and SSLCertificateChainFile should be set to /etc/httpd/conf/keys/

Should these directives be in /etc/httpd/conf.d/ssl.conf or /etc/httpd/conf/httpd.conf?
They should be inside your <VirtualHost> tags.

Make sure you reload/restart Apache once you edit the config files.
Have another answer? Share your knowledge.