我已經安裝了OpenSSL 64.我想爲我的nodejs https服務器使用證書。我跑以下命令:無法在Windows上打開配置文件:/usr/local/ssl/openssl.cnf
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)
我該如何解決呢?
這是正確的命令嗎?
創建一個文本文件,並將其命名爲openssl.cnf中。 http://www.flatmtn.com/article/setting-openssl-create-certificates#SSLCert-4 – simhumileco
後#1:http://stackoverflow.com/a/43630802/4217744 – simhumileco