我一直在尝试生成用于本地测试的 SSL 证书。当我 cd
进入 /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
关于ssl - 无法通过 XAMPP 生成 SSL 证书,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23855868/