Install SSL on windows localhost WAMP HTTP + SSL = HTTPS
Here we are going to see how to install SSL certificate in Windows localhost WAMP server.
Lot many times our production servers are installed with SSL certificates and our local development machines uses noramal http, and this makes our development system different from our production one. And as a developer we always like to have an exact environment like our production system. So here’s the guide how to install self created SSL certificate on your local WAMP installation and use Https communication with your local WAMP.
Here are the things we are going to do
- Download & install WAMP (Assuming that WAMP is installed in C: directory)
- Download & install OpenSSL
- Configure WAMP to use HTTP+SSL=HTTPS
Watch the video tutorial to know about the detailed step by step procedure.
Download & install WAMP (Assuming that WAMP is installed in C: directory)
Download & install OpenSSL
Configure WAMP to use HTTP+SSL=HTTPS
Path to openssl.cnf : C:wampbinapacheapache2.4.9confopenssl.cnf
CMD in Path to openssl.exe :::
openssl rsa -in private.key -out private.key
openssl req -new -x509 -nodes -sha1 -key private.key -out certificate.crt -days 36500 -config C:wampbinapacheapache2.4.9confopenssl.cnf
Now copy the privateKey & certificate into folder
Open httpd.conf & uncomment following
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
Open php.ini (wampbinphpphp5.5.12php.ini)
(Below this line check following parameters)
Latest posts by Ankit Wasankar (see all)
- 3D Graphics: A WebGL Tutorial - May 18, 2017
- Top 10 Most Common C++ Mistakes That Developers Make - April 14, 2017
- Install SSL on windows localhost WAMP HTTP &SSLHTTPS - July 23, 2016