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:
set OPENSSL_CONF=./conf/openssl.cnf
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With