The final setep in enabling SSL in WAMP server is to restart the WAMP server for the changes to take effect. The ServerName can be set as “localhost” or the name set to access the website like “” The DocumentRoot folder is the location where the website files are located. SSLCertificateFile “$/logs/ssl_request.log” The existing parameters should be changed to the following The next step is to edit the nf file located in C:\wamp64\bin\apache\apache2.4.71\conf\extra\nf.
The next step is to confirm that the following line is un-commented in the “php.ini” file located in “C:\wamp64\bin\php\php7.0.10\php.ini” LoadModulesocache_shmcb_module modules/mod_socache_shmcb.so Open the file C:\wamp64\bin\apache\apache2.4.41\conf\nf and un-comment (remove #) from the following 3 lines – The next step after copying of the files is to edit the nfffile. Copy C:\Program Files\openssl-win64\bin\certificate.crt and private.key to the newly created folder called key (C:\wamp64\bin\apache2.4.41\conf\key). The next step is to create a folder called “key” in the location C:\wamp64\bin\apache2.4.41\conf\. Step 3: Copy the created SSL Key and certificate Opensslreq -new -x509 -nodes -sha1 -key private.key -out certificate.crt -days 36500 #creating the certificate The common name should set as “localhost” The next step is to create the certificate which involves answering a some questions.Opensslrsa -in private.key -out private.key #removing the pass phrase Opensslgenrsa -aes256 -out private.key 2048 #generating private key Creation of private key and setting up passphrase.Change the directory to the location where OpenSSL.Open the Start Menu -> Right click on command prompt -> “Run as Administrator”.Once the software is installed, the next step is to create the private key and certificate. Step 2: Creation of SSL Private Key and Certificate Make sure you leave the installation to the default settings. You can download the OpenSSL software for windows from the link
CONFIGURING WAMP SERVER 64 BIT
OpenSSL is available in both 32 and 64 bit versions.
CONFIGURING WAMP SERVER INSTALL
Step 1: Download and Install OpenSSL on the server. The following steps are to enable SSL on a WAMP server – To enable https on the development server, we need to enable SSL manually. Websites in development environment that uses a WAMP server sometimes requires https to be available for further development of the application/websites.