Terryburg’s Tales of Things You Might Not Know

Things You Might Not Know About https and WAMP

Things You Might Not Know About https and WAMP

Just minor things, but learned the hard way.

There’s plenty of good resources out there like out there like the following that explain pretty well how to enable https in WAMP, but there is one crucial catch: Do NOT generate your server key/crt pair with just any old version of OpenSSL you might have hanging around on your PC, like for instance shown in that link, or maybe came with Putty, or whatever. Instead, navigate to the wamp64/bin/apache/apachex.x.x/bin directory and run your OpenSSL commands there, to generate your key and crt with the proper version that shipped with that Apache. Otherwise you could be setting yourself up for hours and hours of headaches.

Also, when you get to the cert creating step, you might need to add the -config option on the end of the command to point to the proper openssl.cnf file, which is located in that Apache’s /conf subdirectory.