Current versions of
Apache HTTP Server support SSL certificates and keys all in one file; it is no longer required to separate them. Point
SSLCertificateFile
at the combined file (commonly .pem) and comment out or omit
SSLCertificateKeyFile
.
This may not be desirable if you wish to have the certificate publicly available somewhere like
/etc/ssl/certs/
, available on the web for verification, or use the certificate for other applications for that domain (it's important to keep the key, and thus the combined file, private). In many common cases certificates are only used for an SSL secured web server, however.