我已安装了 OpenSSL 64。我想为我的 Node.js HTTPS 服务器使用证书。我运行了以下命令:
openssl genrsa -out subdomain.domain.com.key 1024
但是我遇到了错误:
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)
我该如何解决这个问题?这个命令正确吗?