How centos7.4,apache2.4 installs ssl certificates

There are no two lines of code in

httpd.conf

LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf

make sure openssl and mod_ssl.so are compiled and installed

clipboard.png
clipboard.png

there are also ssl.conf
443 ports open

then I add these two lines to / etc/httpd/conf/httpd.conf. As a result, httpd failed to start

error message Failed to start The Apache HTTP Server.

May.02,2021
Menu