Creating the certificate openssl req -new -x509 -sha1 -key private.key -out certificate.crt -days 36500 “certificate.crt” will be our certificate. Now we will generate a self-signed certificate, which will be used to certify the connection for encrypted traffic.
#How to use wamp server 4 password
Removing the passphrase (use the password entered on step 3.1) openssl rsa -in -out private.key
It’ll ask you the pass-phrase(use the password entered on step 3.1).ģ.3. We will also take a backup copy of the original file. Now we will remove the passphrase (WAMP doesn’t support pass-phrase for key) from the RSA private key. Generate the private key openssl genrsa -aes256 -out private.key 2048 You will prompt to enter a pass-phrase (password) and also ask to verify the phrase, just enter any password(e.g. Once we are in the “bin” directory (Where the OpenSSL installed) type the following command to generate the private key. So to do that we need open the command-prompt and “Run as Administrator”. Now we will generate a private key which is 2048bits encryption. Step 3: Create SSL Private Key and Certificate While installing I have selected the default (C:\OpenSSL-Win64) installation folder.
#How to use wamp server 4 install
Step 1: Download and Install WAMP(Windows machine)ĭownload & install WAMP (Assuming that WAMP is installed, in my case, it’s on G:/ drive, I did it because I prefer to separate my projects from other files ) Step 2: Download OpenSSLĭownload OpenSSL – Shining Light Productions choose the appropriate version according to your Operating system. So here is the step-by-step tutorial on how I installed a self-signed SSL certificate on my local WAMP server to use HTTPS communication. By default, we can’t use HTTPS for our WAMP connections. But as a developer, I am sure that every developer always likes to have an exact environment like the production system. Sometimes I have to work on web servers (production servers) that come with SSL enabled to use the HTTPS protocols and whereas my local development machines use HTTP, and this makes my development system different from the production one. Throughout my web development career, I have worked on different projects some are big, some are small, some need CTO as a service, some not. This post was last updated on January 5th, 2021 at 03:46 pm