问题
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