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

在配置https过程中,重启apache的时候,有时会出现错误提示:

<span style="font-size:18px;">Invalid command 'SSLCipherSuite', perhaps misspelled or defined by a module not included in the server configuration</span>
————————————————

错误原因: 未启用Apache配置文件的mod_ssl.so模块。 解决方案: 第一步:

vi /etc/httpd/httpd.conf

第二步: 找到如下行,并取消注释(去掉前面的“#”),


LoadModule ssl_module modules/mod_ssl.so

如果没有找到mod_ssl.so,请点击查看 ​


我的这篇文章,里面有具体的安装mod_ssl.so模块的方法。 第三步: 重启apache,


/etc/init.d/httpd restart

重启成功,没有错误提示,即说明问题解决,mod_ssl.so模块安装完成。 如有问题,请评论留言。



**********************只要思想不滑坡,办法总比困难多********************