Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't start Apache: Invalid command 'SSLCipherSuite'

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?

like image 300
Steve Avatar asked Apr 28 '17 11:04

Steve


3 Answers

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
like image 194
Alexander Avatar answered Nov 15 '22 10:11

Alexander


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

sudo a2enmod ssl

Hope it helps someone :)

like image 4
hfunes.com Avatar answered Nov 15 '22 08:11

hfunes.com


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

like image 1
Pandurang Avatar answered Nov 15 '22 10:11

Pandurang