Fix SSL in WampServer (Apache 2.4) (SSLMutex)
Posted by: rxnlabs (---.bltmmd.fios.verizon.net)
Date: October 28, 2013 09:26PM

When trying to get SSL enabled in Apache 2.4 for WampServer 2.4 (latest), you need to change the line "SSLMutex default" in the httpd-ssl.conf file.

This line needs to be replaced:

SSLMutex default

with:

Mutex default ssl-cache

This is due to a change in Apache 2.4 in the way Mutex directive is declared. Read more about the change here [httpd.apache.org] (specifically upgrading from 2.2 to 2.4) and here [httpd.apache.org].

If the problem with SSL is related, Apache will show this error when you try to check for syntax errors using the "httpd -t" command on the command line:

Invalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration

This should hopefully save you the hours of troubleshooting the problem that I had getting SSL to work in WAMP.

This problem existed on WampServer 2.4 64-bit. Not sure if it's present in WampServer 2.4 for 32-bit.



Edited 1 time(s). Last edit at 10/29/2013 07:44PM by rxnlabs.

Options: ReplyQuote
Re: Fix SSL in WampServer (Apache 2.4) (SSLMutex)
Posted by: Byourself83 (---.scansafe.net)
Date: October 28, 2013 10:14PM

This seems helpful knowledge. Didn't realize there was a difference for 2.4.



Edited 1 time(s). Last edit at 10/29/2013 04:28AM by Byourself83.

Options: ReplyQuote
Re: Fix SSL in WampServer (Apache 2.4) (SSLMutex)
Posted by: jaisingh1006 (117.195.98.---)
Date: October 31, 2013 03:27AM

One more major issue with Wamp 2.4 is that Resources ie. .css, .js and image files don't load even after all configuration. To solve the issue kindly do the following:

download and install 1.0.1e openssl from [slproweb.com]

then find the files in the installed directory:

bin\openssl.cfg (replace with confg\openssl.cnf after renaming the .cfg file to .cnf)
bin\libeay32.dll
bin\ssleay32.dll
bin\openssl.exe

Stop the server and replace those files and enjoy!

Options: ReplyQuote


Sorry, only registered users may post in this forum.