Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration

10 年 ago jony Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration已关闭评论

先安装ssl mode

yum install mod_ssl

如果没安装,重启apache时会提示:

"Invalid command "SSLEngine", perhaps misspelled or

defined by a module not included in the server configuration"

 

如果mod_ssl安装好了,也加载了mod_ssl.so,还是提示上面的错误,哪就很有可能是证书文件有问题,或者导入证书文件错误