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.

Share:
18,403

Related videos on Youtube

Steve
Author by

Steve

Updated on June 29, 2022

Comments

  • Steve
    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?