Recently I had to setup a self signed certificate for a Windows Apache setup. This of course requires the usage of openssl. However openssl returned the following error code when trying to use it:
It turns out that the problem is related to the built in distribution of OpenSSL that ships with some WAMP versions. In order to correct it you would need to download and install the Windows version of OpenSSL from here:
Choose the latest 64 or 32 bit version according to your setup, the light versions should be fine for our purposes. The one I used when writing this article was
After OpenSSL is installed, go to the install location and copy the following three files (they might be spread across folders depending on the version and architecture):
and paste them to your
apache/bin folder, overwriting any existing ones. That fixed it for me.