Unable to generate SSL certificate through XAMPP

守給你的承諾、 提交于 2019-12-13 14:08:52

问题


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?


回答1:


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


来源:https://stackoverflow.com/questions/23855868/unable-to-generate-ssl-certificate-through-xampp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!