我在本地安装运行的好好的,但是在服务器上安装就出现这样的错误:
- 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 目录:
具体路径看你的操作系统版本和文件路径配置。