Invalid command ‘SSLProtocol‘, perhaps misspelled or defined by a module not included in the server

在配置apache HTTPS证书时,出现如下报错:

Invalid command 'SSLProtocol', perhaps misspelled or defined by a module not included in the server
  • 错误原因:
    未启用Apache配置文件的mod_ssl.so模块。
  • 解决方案:

安装mod_ssl.so模块

yum install -y mod_ssl

重启apache服务

systemctl restart httpd

问题解决

你可能感兴趣的:(Linux,apache,mod_ssl,httpd,SSL)