AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 593753
Accepted
Dustin Oprea
Dustin Oprea
Asked: 2014-05-08 11:51:00 +0800 CST2014-05-08 11:51:00 +0800 CST 2014-05-08 11:51:00 +0800 CST

自签名 CA 证书中的颁发者主题策略

  • 772

当我为内部 CA 构建自签名证书时,我是否应该使颁发者 DN 与请求中的 DN 匹配,它们是否应该不同,或者其中一个没有约定?

ssl
  • 1 1 个回答
  • 3571 Views

1 个回答

  • Voted
  1. Best Answer
    Bruno
    2014-05-16T17:37:14+08:002014-05-16T17:37:14+08:00

    以下是RFC 5280(第 3.2 节)中的定义:

       Self-issued certificates are CA certificates in which
       the issuer and subject are the same entity.  Self-issued certificates
       are generated to support changes in policy or operations.  Self-
       signed certificates are self-issued certificates where the digital
       signature may be verified by the public key bound into the
       certificate.  Self-signed certificates are used to convey a public
       key for use to begin certification paths.
    

    所以是的,根据定义,由于自签名证书是特定的自颁发证书,其颁发者 DN 必须与其主题 DN 匹配。

    (此主题 DN 是否需要在 CSR 中是另一回事,因为 (a) CA 在将 CSR 转换为证书时没有任何义务保持准确的主题 DN(实际上他们应该检查他们放入的所有内容)通过另一种方式获得证书)和(b)将 CSR 转换为自签名证书的步骤更多地与如何openssl使用以及如何配置有关。这实际上只是一个细节。)

    无论您希望自己的 CA 是自签名还是自发行,都由您选择。这样做通常是有意义的(至少为了清楚起见)。原则上,远程方用作信任锚的 CA 证书不必是自签名的(参见第 6 节):

       The selection of a trust anchor is a matter of policy: it could be
       the top CA in a hierarchical PKI, the CA that issued the verifier's
       own certificate(s), or any other CA in a network PKI.  The path
       validation procedure is the same regardless of the choice of trust
       anchor.
    
    • 2

相关问题

  • 如何使用 Tomcat 5.5 更新 SSL 证书

  • 为 IIS6 自行生成 SSL 证书?

  • plesk 上的域和子域 ssl 访问

  • 如何设置 SSL 邮件服务器?

  • 如何通过 SVN 命令行接受 SSL 证书?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve