java - 为什么信任 anchor 不应包含在 PKIX 认证路径中?

标签 java security encryption ssl ssl-certificate

PKIX documentation它提到:

  1. The certificate representing the TrustAnchor should not be included in the certification path

我的问题是,这个限制从何而来?在RFC 5280我只发现:

  1. A certificate MUST NOT appear more than once in a prospective certification path.

RFC 中的声明 (2) 是否以某种方式暗示了声明 (1)?因为我看不到。

在路径中也有信任 anchor 会产生什么问题? 最后,TA 证书可以 self 验证。

有人能解释一下吗?

最佳答案

这更像是一个定义性的东西,IIUC。 RFC 5280 中定义了一个有效的证书路径,其中一个条件是它的第一个证书由信任 anchor 签名(并且证书的 issuerName 与该信任 anchor 的名称相匹配)。 (信任 anchor 不必是证书。)

关于java - 为什么信任 anchor 不应包含在 PKIX 认证路径中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5861983/

相关文章:

android - 如何在 Android 上安全地存储模数、公共(public)指数和私有(private)指数?

c# - 在 C# 中解密用 PHP 加密的字符串 (Blowfish)

java - 在此场景中使用 Java 集合

java - 如何解决来自 LambdaMetafactory 的不正确参数

JTextArea 中用于控制字符的 Java 图像

javascript - 我如何向打开 Chrome 控制台的用户显示警告,就像 Facebook 和 Blockchain 一样?

java - Swing 中的 MVC 多种表单

c# - 安全地处理来自 Windows Key Store 的私钥

java - 以纳秒为单位衡量程序的运行时间

security - 我应该对密码施加最大长度限制吗?