Openssl not working in windows (SSLEAY32.dll error)

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:

Continue reading