10

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?

Community
  • 1
  • 1
Steve
  • 2,066
  • 13
  • 60
  • 115
  • 4
    is mod_ssl enabled (with LoadModule)? – weirdan Apr 28 '17 at 12:03
  • Try this one as well http://stackoverflow.com/questions/26236351/installation-ssl-in-wamp-server-error-in-httpd-ssl-conf/26252312#26252312 – RiggsFolly Apr 28 '17 at 13:35
  • 1
    Stack 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](http://stackoverflow.com/help/on-topic) in the Help Center. Perhaps [Super User](http://superuser.com/) or [Unix & Linux Stack Exchange](http://unix.stackexchange.com/) would be a better place to ask. Also see [Where do I post questions about Dev Ops?](http://meta.stackexchange.com/q/134306) – jww Apr 28 '17 at 20:36
  • 4
    `LoadModule ssl_module libexec/apache2/mod_ssl.so` in `httpd.conf` – Liviu Sep 26 '17 at 17:01

3 Answers3

11

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
allenski
  • 1,652
  • 4
  • 23
  • 39
Alexander
  • 101
  • 1
  • 3
5

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

sudo a2enmod ssl

Hope it helps someone :)

hfunes.com
  • 168
  • 1
  • 3
  • 11
1

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

Pandurang
  • 1,656
  • 2
  • 6
  • 10