[Apache] Invalid command 'SSLCertificateFile', perhaps misspelled or defined by a module not included in the server configuration
When I configured SSL settings in Apache and ran httpd configtest, I got an error.
Invalid command 'SSLCertificateFile', perhaps misspelled or defined by a module not included in the server configuration
Apache wasn’t compatible with mod_ssl, so I resolved the error by adding mod_ssl.
The method for adding mod_ssl differs depending on whether you installed from source or using yum.
・Reference: apxsでapacheにモジュールを追加する
Install mod_ssl
# yum -y install mod_ssl
Install openssl
# yum -y install openssl
That’s all.
・apache+mod_sslでSSL — server-memo.net
That’s all from the Gemba.