OpenSSL 运行报错 can't open config file: /usr/local/ssl/openssl.cnf
我在本地安装运行的好好的,但是在服务器上安装就出现这样的错误:
WARNING: can't open config file: /usr/local/ssl/openssl.cnfLoading '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 目录:
具体路径看你的操作系统版本和文件路径配置。
以上是 OpenSSL 运行报错 can't open config file: /usr/local/ssl/openssl.cnf 的全部内容, 来源链接: utcz.com/z/264606.html