【问题标题】:What is the openssl -new option for?openssl -new 选项有什么用?
【发布时间】:2017-04-02 06:41:59
【问题描述】:

如果我创建一个自签名证书,我可以省略或包含 -new 选项,没有明显区别。 假设我在文件 privkey.pem 中有一个私钥。

openssl req -x509 -key privkey.pem -out selfcertnonew.pem

openssl req -new -x509 -key privkey.pem -out selfcertwithnew.pem

文件selfcertnonew.pem和selfcertwithnew.pem中的证书有什么区别

【问题讨论】:

标签: openssl ssl-certificate x509certificate


【解决方案1】:

查看 openssl 源代码,“-x509”选项暗示“-new”选项。

参考:

【讨论】:

    猜你喜欢
    • 2021-11-19
    • 1970-01-01
    • 2018-08-02
    • 2013-04-02
    • 2011-11-22
    • 1970-01-01
    • 2019-01-11
    • 1970-01-01
    • 2016-05-01
    相关资源
    最近更新 更多