# 公钥基础设施

公钥基础设施（Public Key Infrastructure，PKI）是用于创建、管理、分发、使用、存储和吊销数字证书所需的一整套硬件、软件、策略与流程；这些证书将公钥与身份绑定，使公钥密码学能够大规模应用<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=151247)</sup>。美国国家标准与技术研究院（NIST）将其描述为公钥密码系统的公钥信息密钥管理环境<sup>[2](https://csrc.nist.rip/groups/ST/crypto_apps_infra/pki/pkiresearch.html)</sup>。在实践中，正是 PKI 让浏览器信任 Web 服务器、让操作系统验证已签名软件、让组织认证设备，而这一切都无需事先进行两两密钥交换。

| 关键事实 | 详情 |
|---|---|
| 核心文档 | RFC 5280《互联网 X.509 PKI 证书与证书吊销列表（CRL）配置文件》于 2008 年 5 月发布，定义了证书格式与认证路径验证算法<sup>[3](https://www.rfc-editor.org/info/rfc5280/)</sup> |
| 证书内容 | 证书标明签发认证机构、注明订阅者身份、包含订阅者公钥、说明有效运行期，并由签发 CA 进行数字签名<sup>[4](https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-32.pdf)</sup> |
| 吊销 | 当 CRL 作为吊销机制时，依赖方在路径验证过程中检查证书是否已被吊销<sup>[5](https://www.ietf.org/ietf-ftp/rfc/rfc5280.txt.pdf)</sup> |
| 信任锚 | 浏览器和操作系统随附根证书存储库：Internet Explorer、Outlook 和 IIS 使用 Windows 存储库；Safari 和 Mail 使用 Apple 钥匙串；Firefox、Thunderbird 和 SeaMonkey 维护自己的存储库，并可共享 Mozilla 的 NSS 存储库<sup>[6](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57Pt3r1.pdf)</sup> |
| 后量子体积问题 | ML-DSA-44 签名为 2,420 字节，公钥为 1,312 字节，而 ECDSA P-256 为 64 字节；朴素替换会给每个新连接增加约 7 至 10 KB<sup>[7](https://www.techradar.com/pro/the-fixes-are-architectural-not-bigger-pipes-openssl-president-on-what-businesses-can-expect-and-how-to-prepare-for-a-post-quantum-internet)</sup> |
| 部署缺口 | 一项 2026 年针对 32,011 个域名的测量研究发现，混合后量子证书的采用率为 0%，使 TLS 认证层仍依赖经典算法<sup>[8](https://arxiv.org/abs/2606.16473)</sup> |

## 组件与角色

认证机构（CA）是核心机构。NIST 将其定义为由一个或多个用户信任、负责签发和管理 X.509 公钥证书及 CRL 的机构<sup>[4](https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-32.pdf)</sup>。支撑组件包括注册机构、用于发布证书和吊销信息的存储库，以及持有并验证证书的订阅者和依赖方<sup>[9](https://csrc.nist.rip/publications/detail/sp/800-15/final)</sup>。

在公钥能够提供机密性、完整性、认证或数字签名服务之前，依赖方需要若干保证：完整性保证；在适用情况下域参数有效性的保证；公钥有效性的保证；以及私钥持有保证<sup>[6](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57Pt3r1.pdf)</sup>。证书策略表达签发证书所依据的规则，认证业务声明（CPS）则详述 CA 及其他 PKI 组件的运行规则和系统特性<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=151247)</sup>。

**路径验证。** 证书很少单独受到信任；它从叶证书经由中间 CA 链接到根信任锚。RFC 5280 规定了认证路径验证算法，该算法检查路径是否依据 X.509 有效，并在证书签发者使用 CRL 作为机制时包括吊销检查<sup>[5](https://www.ietf.org/ietf-ftp/rfc/rfc5280.txt.pdf)</sup>。

## Web PKI 与根存储库

公共 Web PKI 如今主要由浏览器根计划治理。CA/浏览器论坛为公共 CA 制定标准，其中包括三种证书类型，对申请者身份及其对域名的控制权进行不同程度验证<sup>[10](https://www.nccoe.nist.gov/publication/1800-16/VolB/index.html)</sup>。每个浏览器或平台维护自己的根存储库：微软产品使用 Windows 根证书存储库，Apple 软件使用[钥匙串](https://www.edgepedia.org/zh/keychain-software)，Mozilla 产品使用自己的存储库或共享的网络安全性服务（NSS）存储库<sup>[6](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57Pt3r1.pdf)</sup>。

**政策收紧。** 根计划一直在收窄公共根证书可以做什么。Mozilla 的根存储库政策 v3.0 于 2025 年 3 月 15 日生效，逐步淘汰同时带有“网站”和“电子邮件”信任位的双用途根 CA：新根必须专用于 TLS 或 S/MIME，现有双用途根的运营者必须在 2026 年 4 月 15 日前提交过渡计划，并在 2028 年 12 月 31 日前完成向独立根的迁移<sup>[11](https://blog.mozilla.org/security/2025/03/12/enhancing-ca-practices-key-updates-in-mozilla-root-store-policy-v3-0/)</sup>。谷歌于 2025 年 5 月弃用 clientAuth 证书用途，理由是浏览器根计划要求变化会影响所有公共证书机构<sup>[12](https://pki.goog/updates/may2025-clientauth.html)</sup>。Chrome 根计划还宣布了强制执行措施，包括自 2026 年 6 月 15 日起，对被发现违反其要求的层级，在根 CA 证书上施加 SCTNotAfter 约束<sup>[13](https://chromium.googlesource.com/website.git/%2B/HEAD/site/Home/chromium-security/root-ca-policy/index.md)</sup>。

## 失效与透明度

PKI 的信任模型将风险集中于 CA，而 CA 失效会带来真实后果。2011 年 DigiNotar 遭黑客入侵，导致 500 张假证书被签发并用于监视网络用户<sup>[14](https://www.techradar.com/pro/security/we-can-accelerate-the-adoption-of-post-quantum-resilience-for-all-web-users-google-reveals-how-chrome-will-help-secure-https-certificates-against-quantum-computer-attacks-without-breaking-the-internet)</sup>。一项对 PKI 失效的元分析发现，管理与标准问题在不同事件中反复出现，并且 CA 会依据 WebTrust for Certification Authorities 等框架接受独立外部审计师的鉴证<sup>[15](https://www.researchgate.net/publication/338434513_Why_Bad_Certificates_Happen_A_Meta_Analysis_of_PKI_Failures)</sup>。对 CA 事件的经济分析发现，在 CA 行为不当之后，域名所有者离开该 CA 的因果性增幅非常轻微，这表明市场约束较弱<sup>[16](https://dspace.mit.edu/entities/publication/e8f2d41b-184f-49e5-aada-b71f29faad47)</sup>。

主要的结构性回应是证书透明度：公开的仅追加日志，让网站所有者能够实时检查其域名的证书是否为非法证书<sup>[14](https://www.techradar.com/pro/security/we-can-accelerate-the-adoption-of-post-quantum-resilience-for-all-web-users-google-reveals-how-chrome-will-help-secure-https-certificates-against-quantum-computer-attacks-without-breaking-the-internet)</sup>。浏览器现在要求链中包含证书透明度时间戳，这会影响后量子证书的体积计算<sup>[7](https://www.techradar.com/pro/the-fixes-are-architectural-not-bigger-pipes-openssl-president-on-what-businesses-can-expect-and-how-to-prepare-for-a-post-quantum-internet)</sup>。

## 后量子迁移

公钥密码学是受量子计算威胁最大的密码学分支，因为[肖尔算法](https://www.edgepedia.org/zh/shors-algorithm)可以伪造数字签名并破解证书日志中的密钥，使攻击者能够获得从未签发过的证书<sup>[17](https://arxiv.org/abs/2601.11104)</sup><sup> • </sup><sup>[14](https://www.techradar.com/pro/security/we-can-accelerate-the-adoption-of-post-quantum-resilience-for-all-web-users-google-reveals-how-chrome-will-help-secure-https-certificates-against-quantum-computer-attacks-without-breaking-the-internet)</sup>。

**密钥交换与签名。** 这两项 PKI 功能正以不同速度迁移。混合后量子密钥协商已在主流浏览器和 CDN 中运行一年有余，[TLS 1.3](https://www.edgepedia.org/zh/tls-1-3) 能顺利协商它，并可回退到经典算法。签名仍是未解决的挑战，原因在于体积：ML-DSA-44 产生 2,420 字节的签名，并配以 1,312 字节的公钥，而 ECDSA P-256 签名只需 64 字节；一旦把链上签名和两个证书透明度时间戳计入，朴素替换会给每个连接增加 7 至 10 KB，超过约 14 KB 的初始拥塞窗口和 QUIC 的抗放大限制，并迫使新连接多一次往返。<sup>[7](https://www.techradar.com/pro/the-fixes-are-architectural-not-bigger-pipes-openssl-president-on-what-businesses-can-expect-and-how-to-prepare-for-a-post-quantum-internet)</sup>

**架构性回应。** 提出的修复方案是架构性的，而非基于带宽：[默克尔树](https://www.edgepedia.org/zh/merkle-tree)证书（MTCs）、信任锚协商，以及省去中间证书的传输<sup>[7](https://www.techradar.com/pro/the-fixes-are-architectural-not-bigger-pipes-openssl-president-on-what-businesses-can-expect-and-how-to-prepare-for-a-post-quantum-internet)</sup>。在 MTC 方法下，CA 签署单个树头，浏览器收到轻量级包含证明，从而将传输的验证数据降至约 700 字节；Chrome 已实现 MTCs，Cloudflare 正在测试约 1,000 张证书，IETF 已成立 PKI、日志与树签名工作组<sup>[14](https://www.techradar.com/pro/security/we-can-accelerate-the-adoption-of-post-quantum-resilience-for-all-web-users-google-reveals-how-chrome-will-help-secure-https-certificates-against-quantum-computer-attacks-without-breaking-the-internet)</sup>。谷歌计划推出专用的 Chrome 抗量子根存储库，预计于 2027 年底运行，与现有根计划并行；Chrome 不会把包含后量子密码学的传统 X.509 证书加入其当前根存储库，但从 Chrome 150 起支持私有 PKI 层级中的 ML-DSA，用于本地和企业测试<sup>[18](https://googlechrome.github.io/chromerootprogram/cqrp/testing/)</sup>。MTC 设计也已被提议用于 [Kubernetes](https://www.edgepedia.org/zh/kubernetes) 和云原生 5G/B5G 核心环境，以默克尔树证书机构替代集群 CA<sup>[19](https://arxiv.org/abs/2604.04191)</sup>。

**优先级排序。** 对迁移规划有用的区分，是机密性与认证之间的区分。被记录的流量可被回溯解密，因此长期保密性眼下十分紧迫；签名不能被事后伪造，因此认证是一个排期问题。他指出的最难改造的资产包括基于硬件的信任根、用于固件和代码签名的密钥、保存在 HSM 中的密码材料、二十年期的 PKI 根证书，以及为长服役寿命设计的嵌入式系统。<sup>[7](https://www.techradar.com/pro/the-fixes-are-architectural-not-bigger-pipes-openssl-president-on-what-businesses-can-expect-and-how-to-prepare-for-a-post-quantum-internet)</sup>

## 运营

组织规模的 PKI 既是密码学问题，也是清单管理问题。2026 年 DigiCert 和 Omdia 的一项调查发现，在证书数量增长、证书寿命缩短和机器身份复杂性上升的背景下，只有 34% 的组织对其数字证书拥有完整且最新的视图<sup>[20](https://www.digicert.com/news/research-reveals-major-certificate-visibility-blind-spot?toc=701Vu00002SIyvzIAD)</sup>。一项跨度 53 年的 PKI 失效调查指出，其局限尚未完全解决；随着欧洲政府推动的数字身份项目扩大了对 PKI 的依赖，这一担忧更加突出<sup>[21](https://arxiv.org/abs/2401.05239)</sup>。

## References

1. [NIST, "Introduction to Public Key Technology and the Federal PKI Infrastructure," SP 800-32](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=151247)
2. [NIST CSRC, PKI Research page](https://csrc.nist.rip/groups/ST/crypto_apps_infra/pki/pkiresearch.html)
3. [RFC 5280: Internet X.509 PKI Certificate and CRL Profile, RFC Editor](https://www.rfc-editor.org/info/rfc5280/)
4. [NIST SP 800-32, Introduction to public key technology and the federal PKI infrastructure](https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-32.pdf)
5. [RFC 5280 text, IETF](https://www.ietf.org/ietf-ftp/rfc/rfc5280.txt.pdf)
6. [NIST SP 800-57 Part 3 Rev. 1, Application-Specific Key Management Guidance](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57Pt3r1.pdf)
7. [TechRadar, "The fixes are architectural, not bigger pipes: OpenSSL President on post-quantum internet"](https://www.techradar.com/pro/the-fixes-are-architectural-not-bigger-pipes-openssl-president-on-what-businesses-can-expect-and-how-to-prepare-for-a-post-quantum-internet)
8. [Measurement Study of Post-Quantum Readiness of Internet: 2026, arXiv](https://arxiv.org/abs/2606.16473)
9. [NIST SP 800-15, MISPC Minimum Interoperability Specification for PKI Components](https://csrc.nist.rip/publications/detail/sp/800-15/final)
10. [NIST NCCoE SP 1800-16, TLS certificate introduction](https://www.nccoe.nist.gov/publication/1800-16/VolB/index.html)
11. [Mozilla Security Blog, "Enhancing CA Practices: Key Updates in Mozilla Root Store Policy, v3.0"](https://blog.mozilla.org/security/2025/03/12/enhancing-ca-practices-key-updates-in-mozilla-root-store-policy-v3-0/)
12. [Google PKI, "May 2025 - Client Authentication Certificates (clientAuth) Deprecation"](https://pki.goog/updates/may2025-clientauth.html)
13. [Chromium Root CA Policy](https://chromium.googlesource.com/website.git/%2B/HEAD/site/Home/chromium-security/root-ca-policy/index.md)
14. [TechRadar, "Google reveals how Chrome will help secure HTTPS certificates against quantum computer attacks"](https://www.techradar.com/pro/security/we-can-accelerate-the-adoption-of-post-quantum-resilience-for-all-web-users-google-reveals-how-chrome-will-help-secure-https-certificates-against-quantum-computer-attacks-without-breaking-the-internet)
15. ["Why Bad Certificates Happen: A Meta Analysis of PKI Failures"](https://www.researchgate.net/publication/338434513_Why_Bad_Certificates_Happen_A_Meta_Analysis_of_PKI_Failures)
16. ["The economics of cryptographic trust: understanding certificate authorities," MIT thesis](https://dspace.mit.edu/entities/publication/e8f2d41b-184f-49e5-aada-b71f29faad47)
17. ["Shaping a Quantum-Resistant Future: Strategies for Post-Quantum PKI," arXiv](https://arxiv.org/abs/2601.11104)
18. [Chrome Quantum-resistant Root Program, Testing Instructions](https://googlechrome.github.io/chromerootprogram/cqrp/testing/)
19. ["Merkle Tree Certificate Post-Quantum PKI for Kubernetes and Cloud-Native 5G/B5G Core," arXiv](https://arxiv.org/abs/2604.04191)
20. [DigiCert, "Research Reveals Major Certificate Visibility Blind Spot for Enterprises"](https://www.digicert.com/news/research-reveals-major-certificate-visibility-blind-spot?toc=701Vu00002SIyvzIAD)
21. ["Failures of public key infrastructure: 53 year survey," arXiv](https://arxiv.org/abs/2401.05239)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › Security governance and internet policy › Cryptographic protocols › Key management

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/public-key-infrastructure

English original: https://www.edgepedia.org/public-key-infrastructure
