【发布时间】:2014-03-15 02:00:50
【问题描述】:
您好,我正在按照本指南使用 openssl 为项目创建证书(我们的教授给了我们) http://www.flatmtn.com/article/setting-openssl-create-certificates#SSLCert-7
但我使用的是为 linux 提供的 windows 和命令。例如,在某些时候,他们声明“要创建,在 'sslcert' 目录中,键入:
openssl req -new -x509 -extensions v3_ca -keyout \
private/cakey.pem -out cacert.pem -days 365 -config ./openssl.cnf
You will be prompted for information and a password. Do not loose this
password, make sure it is a secure one, and back up the two files that
are created.
The two files that are created are cacert.pem, which is the one you can
give to others for import in their browsers, and cakey.pem, which will
be in the private directory."
我不知道在哪里输入这个命令,我在 openssl 中尝试过,它给了我一个错误,谁能帮我在 windows 上这样做?
【问题讨论】:
-
这是一个命令。
\只是表示“为了便于阅读而在此处换行”。这都是一个单一的 LONG 命令。对于 Windows,只需将/目录分隔符更改为\。
标签: openssl key certificate