CSchantz Wiki

Apache Info

SSL certificates and Apache

First find the virtual host file

-Rhel based

httpd -S

-Debian/Ubuntu based

apache2ctl -S 

Second check file for

-Rhel based 

cat /etc/httpd/conf.d/domain443.conf |grep “SSL"

-Debian/Ubuntu

cat /etc/apache2/conf.d/domain443.conf |grep “SSL"

Third save the SSL to the location listed or add the info into the config file

SSLCertificateFile /etc/ssl/ssl-domain_com.crt
SSLCertificateKeyFile /etc/ssl/ssl-domain.key
SSLCertificateChainFile /etc/ssl/ssl-domain_com.ca-bundl