How to Enable SSL on Localhost Windows WAMP

Run these commands to setup SSL on your localhost running WAMP.

openssl genrsa -out private.pem 2048

openssl pkcs12 -export -nocerts -inkey private.pem -out private.p12

openssl req -new -x509 -nodes -sha1 -key private.pem -out certificate.crt -days 36500 -config /c/wamp/bin/apache/apache2.4.9/conf/openssl.cnf


enable SSL on localhost


Sam Deering

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *