I have been trying to generate a SSL certificate for local testing. When I cd
into /xampp/apache/
and run makecert
I get the following error:
WARNING: Can't open config file: ./bin/openssl.cnf
...
Error opening Private Key privkey.pem
How can that be fixed?
There is a wrong path to the openssl.cnf in the makecert.bat.
Just edit makecert.bat to fix the path: