OpenSSL 运行报错 can't open config file: /usr/local/ssl/openssl.cnf

2026-06-16 20 浏览 0 评论

我在本地安装运行的好好的,但是在服务器上安装就出现这样的错误:

WARNING: can't open config file: /usr/local/ssl/openssl.cnf
Loading 'screen' into random state - done
Generating RSA private key, 1024 bit long modulus
.........++++++
.........................................++++++
unable to write 'random state'
e is 65537 (0x10001)

这就需要手动设置 OPENSSLDIR 目录和 OPENSSL_CONF 目录:

具体路径看你的操作系统版本和文件路径配置。


发布评论

发布评论前请先 登录
取消
0 评论
点赞
收藏

评论列表 0

暂无评论