gpt4 book ai didi

ssl - 无法通过 XAMPP 生成 SSL 证书

转载 作者:太空宇宙 更新时间:2023-11-03 12:52:45 27 4
gpt4 key购买 nike

我一直在尝试生成用于本地测试的 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/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com