Public Key Infrastructure
Public key infrastructure, or PKI, is the system of authorities, policies, certificates, and trust stores that binds public keys to identities. It lets software decide which keys to trust for authentication, encryption, and digital signatures without arranging a separate secret with every party.
itIdentity, access, and cryptography | OpenSkills.info
Course pathWalk it in order
Look it upDip in anytime
Go furtherLeaves this page
Don't Panic
Don't Panic: Public Key Infrastructure
Public key infrastructure, or PKI, is the machinery that lets a public key arrive with a signed identity story rather than a note saying "trust me." Public-key cryptography gives you a public key and a private key. The public half is mathematically useful, but it does not tell you who owns it. PKI adds a certificate, a certification authority, policy, and a relying party that still has the final say. The paperwork is not decorative. It is the part that turns a key into a governed claim.
The central trick is a certificate, a signed record that binds a public key to a subject or other certified identity information. Before that binding, each party must find another way to decide whether a received key belongs to the intended server, person, device, or software publisher. A certification authority signs the record after an authorization process. This is a chain of introductions, which is a pleasant phrase until you remember that every introduction needs checking.
At the top sits a trust anchor, commonly represented by an offline root certification authority. It introduces intermediate authorities, and intermediates perform routine issuance for servers, users, devices, or other end entities. Keeping the root offline reduces its exposure. Separating intermediates also limits what one compromised issuer can affect. The root is therefore the widest trust boundary, not a magic certificate that wins arguments by being older and more self-signed.
Issuance begins with a key pair and a certificate signing request. The subject protects the private key and asks for a particular identity. A registration or authorization process checks that request against a profile. The issuing authority signs an approved certificate. Then comes the ambush hidden inside the word "issued": the certificate and its intermediate chain must reach every intended endpoint. A successful renewal in a CA record does not help if one load balancer keeps serving the expired predecessor.
A relying party performs path validation. It builds a path from the presented certificate toward a locally trusted anchor, verifies signatures and validity intervals, enforces CA constraints and key uses, matches the expected identity, and applies status and application policy. Passing one check does not excuse another. A valid chain for the wrong DNS name still fails, which is the system being fussy in precisely the useful way.
Certificates can need retirement before their normal expiry. A certificate revocation list publishes revoked serial numbers, while the Online Certificate Status Protocol reports status for one certificate. Shorter lifetimes reduce exposure only when renewal and deployment are dependable. The Automatic Certificate Management Environment protocol, called ACME, helps automate authorization, ordering, issuance, renewal, and revocation. It does not climb into every endpoint and install the result for you. Alas, no certificate protocol has yet been approved for that particular chore.
Start with the intro for the architecture and trust model. Use the slides for the issuance and validation flows. Keep the cheatsheet nearby when you need certificate fields, status mechanisms, failure signals, or an incident sequence. The practice reference and exercise build one local trust decision without changing a system trust store. Field Notes then covers the operational catches: distributed policy, repeated authorization, delivered chains, protected signing keys, and trust-store reach.
Where this skill leads
Relevant careers
See how this topic contributes to broader role-level skill maps.
Sources
- https://www.nist.gov/publications/introduction-public-key-technology-and-federal-pki-infrastructure
Supports
- PKI functions, participants, hierarchies, trust models, and applications
- Certification authority, registration authority, repository, subscriber, and relying-party roles
- https://www.itu.int/rec/t-rec-x.509/en
Supports
- Public-key certificate and revocation-list frameworks
- Certification authorities, relying parties, trust anchors, and path validation
- First X.509 recommendation in November 1988
- https://www.rfc-editor.org/rfc/rfc5280.html
Supports
- X.509 version three certificate and CRL fields and extensions
- Certification-path construction and validation
- Basic Constraints, Key Usage, Extended Key Usage, Name Constraints, and critical-extension handling
- https://www.rfc-editor.org/rfc/rfc9525.html
Supports
- Matching an expected TLS service identity to certificate identifiers
- Identity mismatch as a validation failure despite a signed chain
- https://www.rfc-editor.org/rfc/rfc3647.html
Supports
- Certificate policy and certification practice statement structure
- Governance topics for identification, operations, compromise, audit, and termination
- https://csrc.nist.gov/pubs/sp/800/57/pt1/r5/final
Supports
- Key protection, lifecycle, cryptoperiod, backup, recovery, compromise, and destruction
- Different handling requirements based on cryptographic key purpose
- https://www.rfc-editor.org/rfc/rfc6960.html
Supports
- OCSP request and signed-response processing
- Good, revoked, and unknown status meanings and their limits
- https://www.rfc-editor.org/rfc/rfc8555.html
Supports
- ACME accounts, orders, authorization challenges, finalization, issuance, and revocation
- Renewal through creation of a new certificate order
- https://cabforum.org/working-groups/server/baseline-requirements/requirements/
Supports
- Current governance and issuance requirements for publicly trusted TLS certificates
- https://github.com/ripienaar/free-for-dev/blob/master/README.md#security-and-pki
Supports
- Discovery of Let's Encrypt, CertObserver, Otterwatch, SSL and TLS testing resources in an actual awesome list reached from sindresorhus/awesome
- https://letsencrypt.org/how-it-works/
Supports
- Domain-control challenges, CSR issuance, renewal, revocation, and CT submission in a public ACME CA
- Awesome Links rationale for Let's Encrypt
- https://certobserver.com/
Supports
- Certificate inventory, CT search and alerts, endpoint validation, expiry, chain, hostname, and trust signals
- Awesome Links rationale for CertObserver
- https://otterwatch.dev/
Supports
- Daily endpoint reachability and presented-certificate expiry monitoring
- Awesome Links rationale for Otterwatch
- https://testtls.com/
Supports
- Live TLS service checks for configuration, certificate, and chain information
- Awesome Links rationale for TestTLS.com
- https://ee.stanford.edu/~hellman/publications/24.pdf
Supports
- November 1976 publication of public-key distribution and digital-signature concepts
- https://people.csail.mit.edu/rivest/Rsapaper.pdf
Supports
- February 1978 RSA public-key encryption and signature publication
- https://www.itu.int/rec/dologin_pub.asp?id=T-REC-X.509-198811-S%21%21PDF-E&lang=e&type=items
Supports
- 1988 X.509 authentication framework and certificate model
- https://www.rfc-editor.org/info/rfc1422
Supports
- February 1993 PEM certificate-based key management milestone
- https://csrc.nist.gov/nist-cyber-history/cryptography/chapter
Supports
- Formation of the NIST and IETF PKIX working group in 1995
- Shift of Internet PKI profiling work toward the IETF
- https://www.rfc-editor.org/info/rfc2459
Supports
- January 1999 Internet X.509 certificate and CRL profile milestone
- https://www.rfc-editor.org/info/rfc3647
Supports
- November 2003 CP and CPS framework publication milestone
- https://www.rfc-editor.org/info/rfc5280
Supports
- May 2008 publication and predecessor obsolescence milestone
- https://www.rfc-editor.org/info/rfc6962
Supports
- June 2013 Certificate Transparency publication milestone
- https://letsencrypt.org/2015/06/16/lets-encrypt-launch-schedule
Supports
- Let's Encrypt 2015 launch schedule and automation-centered CA model
- https://letsencrypt.org/2025/12/09/10-years.html
Supports
- September 14, 2015 first publicly trusted Let's Encrypt certificate
- https://www.rfc-editor.org/info/rfc8555
Supports
- March 2019 ACME standardization milestone
- https://www.digicert.com/digicert-one
Supports
- DigiCert ONE public and private PKI, lifecycle, and signing placement
- https://www.sectigo.com/enterprise-solutions/certificate-manager
Supports
- Sectigo public and private certificate lifecycle management placement
- https://www.keyfactor.com/products/command/
Supports
- Keyfactor certificate discovery and lifecycle automation placement
- https://www.cyberark.com/products/certificate-manager/
Supports
- CyberArk certificate inventory, policy, renewal, and deployment placement
- https://www.appviewx.com/products/kubeplus/
Supports
- AppViewX cloud-native certificate lifecycle automation placement
- https://www.keyfactor.com/products/ejbca-enterprise/
Supports
- EJBCA CA, RA, certificate profile, and status-service placement
- https://smallstep.com/certificate-manager/
Supports
- Smallstep private authority and automated enrollment placement
- https://smallstep.com/docs/step-ca/
Supports
- step-ca offline-root, online-intermediate, ACME, provisioner, and key-protection capabilities
- https://learn.microsoft.com/en-us/windows-server/identity/ad-cs/active-directory-certificate-services-overview
Supports
- Active Directory Certificate Services CA, enrollment, and template placement
- https://aws.amazon.com/private-ca/
Supports
- AWS managed private root and subordinate CA placement
- https://cloud.google.com/certificate-authority-service
Supports
- Google managed private CA pools, policies, keys, and audit placement
- https://developer.hashicorp.com/vault/docs/secrets/pki
Supports
- Vault PKI root and intermediate operation, role policy, and short-lived issuance placement
- https://docs.openssl.org/master/man1/openssl-verify/
Supports
- Local certificate-chain verification with explicit trust anchors, intermediate certificates, purpose, hostname, and chain display
- Practice-reference and exercise commands for verification success and identity-mismatch failure
- https://letsencrypt.org/caaproblem/
Supports
- The 2020 CAA rechecking incident and its required certificate replacement process
- Field Note on preserving authorization checks across renewal and recovery paths
