Setting Https Apache Win
Setting Https Apache Win
1. Open a command prompt (WindowsKey + R > cmd > click OK) and enter the following commands.
cd c:\wamp64\bin\apache\apache2.4.27\bin
openssl genrsa -aes256 -out private.key 2048
openssl rsa -in private.key -out private.key
openssl req -new -x509 -nodes -sha1 -key private.key -out certificate.crt -days 36500 -config
c:\wamp64\bin\apache\apache2.4.27\conf\openssl.cnf
Note: You can pretty much answer the questions any way you want though real answers are best. The one
question that really matters here is the FQDN. It should be: localhost.
6. You are done. To check the validity of file, at the command prompt, enter:
From this point on, you should be able to start, stop and restart Wamp Server and SSL-HTTPS will continue to
work.