DEV Community


Posted on • Originally published at on

Enable SSL with OpenSSL and WAMP on Windows 10

This is my environment: Windows 10 x64, WampServer Version 3.0.4 64bits and Apache 2.4.18


The instructions are on this post inside the WampServer forum.

If you can't start Apache, possibly there is something bad in your config. My issues are described in the next section. You can see your errores executing httpd directly on cmd.

cd \\wamp\bin\apache\apachex.y.z\binhttpd -t

That will show you the errors inside the configuration file and the line as well.


It’s necessary to use a non-native OpenSSL version from WAMP. I downloaded mine from SourceForge’s page. The downloaded file was

Errors that I’ve faced

Native OpenSSL on WAMP: “Can’t find ordinal (…)”

On WampServer 64bits, the OpenSSL executable doesn’t work on Windows 10 64bits, so you need to download a working version for it.

My particular error was “The ordinal 113 could not be located in the dynamic link library”. The solution was to install OpenSSL on my own, like described above.

WAMP httpd: “invalid command SSLCipherSuite”

Uncomment the line from the httpd.conf file.

LoadModule ssl_module modules/

You can follow the instructions from the source.


WAMP httpd: “Cannot load modules/ into server”

Two possible paths here. The seconds worked for me.

Include the OpenSSL’s DDL in the Windows directory

You have to install a different OpenSSL version. You can see this StackOverlow’s answer and follow the instructions:

Replace libeay32.dll and ssleay32.dll on the Apache directory

It’s weird but those files libeay32.dll and ssleay32.dll that WAMP 64 ships doesn’t work with the SSL module. You need to download an Apache 32bits version and copy & paste them at \\wamp\bin\apache\apachex.y.z\bin.

I took the files from this Apache version.

Explicitly, this link:


Top comments (0)