我一直在尝试生成用于本地测试的 SSL 证书。当我cd
into /xampp/apache/
并运行makecert
我收到以下错误:
WARNING: Can't open config file: ./bin/openssl.cnf
...
Error opening Private Key privkey.pem
如何解决这个问题?
makecert.bat 中的 openssl.cnf 路径错误。
只需编辑 makecert.bat 即可修复路径:
set OPENSSL_CONF=./conf/openssl.cnf
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)