Recently, I had an issue with openssl extension in Wampserver 2.5
Operating System: Windows 7 Professional
Wampserver 2.5 : Apache - 2.4.9, PHP 5.5.12
To solve the issue you need to install Opensssl installation package, can be found:
Double-click on the file to install and follow the dialogue. The installation of OpenSSL is self-explanatory. You must accept the license and can accept the default directory for OpenSSL. The default settings can also be accepted.
After installation, adjustments need to be made for the use of OpenSLL. The opensll.cnf can be found at C:\wamp\bin\apache\apache2.4.9\conf\openssl.cnf.
Then you have to add them in the environment variables.
To do this, go in Control Panel / System and Security / System and choose
Advance System settings - Enviroment Variables / New.
Here, you add a new user variable called “OPENSLL_CONF” which will contain the path to the configuration file C:\wamp\bin\apache\apache2.4.9\conf\openssl.cnf
Click Save and close the window. Now OpenSLL would be installed and error fixed.