更新时间:2022-02-02 22:19:07
您创建密钥文件 tls-key.pem
,但尝试使用不存在的文件 tlk-key
而不是您创建的文件:
You create the key file tls-key.pem
but then try to use the non-existing file tlk-key
instead of the file you've created:
$ openssl genrsa -des3 -out tls-key.pem 1024 (works fine)
^^^^^^^^^^^^
$ openssl req -new -key tlk-key -out server.csr (returns error)
^^^^^^^