After you've downloaded and installed WAMP Server, follow these steps:
- Generate SSL certificate using OpenSSL:
-
Add C:\wamp64\bin\apache\apache2.4.27\bin
directory to the PATH so you can access openssl
command from the command prompt (WAMP comes with its own version of OpenSSL already integrated, so you don't need to install it. You'll find it in this directory.).
IMPORTANT: Please note that the path of your installation depends on your version of Apache! DO NOT copy and paste the paths presented in this gist as they will not match with yours!
-
Navigate to your user directory (C:\Users\%YOUR_USERNAME%\
), create a new folder (.openssl
), navigate to it with Powershell and run these commands:
openssl genrsa -aes256 -out private.key 2048
openssl rsa -in private.key -out private.key