【问题标题】:Does the name of the csr and private key file should match the domain name? [closed]csr和私钥文件的名称是否应该与域名匹配? [关闭]
【发布时间】:2014-04-13 14:57:54
【问题描述】:

我对私钥和 csr 的文件名感到困惑。我正在使用 openssl 来生成私钥,然后生成 csr。文件名是否必须与域名匹配?

我的域是 tropy.com,所以我必须将 csr 文件命名为 tropy.com.csr,还是可以说 april2014.csr?

【问题讨论】:

  • 私钥和 CSR 文件的名称是任意的,可以是您想要的任何名称。话虽如此,按照命名约定对它们进行组织是有帮助的,以便清楚它们属于哪个域。

标签: ssl openssl csr


【解决方案1】:

我的域是 tropy.com,所以我必须将 csr 文件命名为 tropy.com.csr,还是可以说 april2014.csr?

没有。文件名是任意的。但是让它们保持相似的名称很有用,尤其是在您有多个域和多个证书的情况下。

我通常使用以下方案:

  • www-example-com-csr.pem
  • www-example-com-key.pem
  • www-example-com-cert.pem
  • mail-example-com-csr.pem
  • mail-example-com-key.pem
  • mail-example-com-cert.pem

【讨论】:

    猜你喜欢
    • 2013-02-19
    • 1970-01-01
    • 2018-07-26
    • 2014-06-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-08-02
    相关资源
    最近更新 更多