我已经安装了 OpenSSL 64。我想为我的 nodejs 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)
我该怎么解决呢?
这是正确的命令吗? < br/>