Can't start Apache: Invalid command 'SSLCipherSuite'

喜夏-厌秋 提交于 2020-01-23 06:20:27

问题


I'm trying to get SSL working with WampServer. I'm following this answer, and I get to the section: Now test your Apache installation by calling httpd -t.

Apache will not restart at this point. Windows error log has an entry:

The Apache service named  reported the following error:
>>> Invalid command 'SSLCipherSuite', perhaps misspelled or defined by a module not included in the server configuration     .

I can comment out SSLCipherSuite in:

  • C:\wamp\bin\apache\apache2.4.23\conf\extra\httpd-ssl.conf
  • C:\wamp\bin\apache\apache2.4.23\conf\original\extra\httpd-ssl.conf

but then the next command down is reported in Windows Error Reporting as an invalid command.

Any pointers?


回答1:


I had the same problem, and solved running the command:

sudo a2enmod ssl

Hope it helps someone :)




回答2:


Did you compile Apache httpd with enable-ssl option. If not, then recompile httpd with ssl and then add mod_ssl configuration.



来源:https://stackoverflow.com/questions/43679639/cant-start-apache-invalid-command-sslciphersuite

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!