Can't start Apache: Invalid command 'SSLCipherSuite'
18,403
Solution 1
In the httpd.conf
, need to turn on mod_ssl.so
:
LoadModule ssl_module modules/mod_ssl.so
Then the next problem is to turn on mod_socache_shmcb.so
:
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
Solution 2
I had the same problem, and solved running the command:
sudo a2enmod ssl
Hope it helps someone :)
Solution 3
Did you compile Apache httpd with enable-ssl option. If not, then recompile httpd with ssl and then add mod_ssl configuration.
Related videos on Youtube
Author by
Steve
Updated on June 29, 2022Comments
-
Steve over 1 year
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?
-
weirdan over 6 yearsis mod_ssl enabled (with LoadModule)?
-
jww over 6 yearsStack Overflow is a site for programming and development questions. This question appears to be off-topic because it is not about programming or development. See What topics can I ask about here in the Help Center. Perhaps Super User or Unix & Linux Stack Exchange would be a better place to ask. Also see Where do I post questions about Dev Ops?
-
Liviu about 6 years
LoadModule ssl_module libexec/apache2/mod_ssl.so
inhttpd.conf