In short
Public key cryptography solves the problem of exchanging secrets over an open channel, but it creates a new one: how do you know a public key really belongs to the entity it claims to represent? Public key infrastructure answers that with certificates, a hierarchy of authorities willing to vouch for identity, and mechanisms — revocation and transparency logs — for catching and correcting mistakes after the fact.
Public key cryptography lets two parties who have never met establish a shared secret, or verify a signature, without exchanging anything confidential in advance. That is a remarkable property, but it depends entirely on one assumption holding: that the public key you are looking at genuinely belongs to the party you think it does. An attacker who can substitute their own key at the right moment defeats the cryptography without ever breaking it.
Public key infrastructure, usually abbreviated PKI, is the set of policies, roles and technical mechanisms built to make that assumption safe to rely on at internet scale — across millions of servers and organisations that have never directly communicated with each other before.
The core building block: a certificate
A digital certificate binds a public key to an identity — typically a domain name for web certificates — and is itself digitally signed by an issuer. The dominant format is X.509, standardised jointly by the ITU-T and, for internet use, profiled in detail by the IETF. A certificate carries the subject's public key, the subject's identity information, a validity period, the issuer's identity, and the issuer's signature over all of that data.
The signature is what makes the binding meaningful. Anyone can generate a key pair and claim any identity in an unsigned document; a certificate is only useful because a party the relying side already trusts has vouched for the binding by signing it.
Certificate authorities and the chain of trust
The party doing the vouching is a certificate authority, or CA. Operating systems and browsers ship with a curated list of root CA certificates that they trust implicitly — the root store. A root CA rarely signs website certificates directly; instead it signs intermediate CA certificates, which in turn sign the leaf certificates actually presented by servers. This layering lets a root's most sensitive private key stay offline and rarely used, while intermediates handle day-to-day issuance and can be revoked or rotated without disturbing the root.
Verifying a certificate means walking this chain: checking that the leaf's signature verifies against the intermediate's public key, that the intermediate's signature verifies against the root's public key, and that the root is present in the verifier's trust store. Any broken link — an expired certificate, a signature that does not verify, or a root the client does not recognise — causes verification to fail.
| Level | What is verified | Typical issuance time | Browser UI distinction today |
|---|---|---|---|
| Domain Validation (DV) | Control of the domain only | Minutes, often automated | None — shown the same as EV |
| Organisation Validation (OV) | Domain control plus verified legal entity | Hours to days | None in the address bar |
| Extended Validation (EV) | Domain control plus rigorous legal and operational checks | Days | None in the address bar since major browsers removed the distinct indicator |
How issuance actually happens
For a domain-validated certificate, the applicant generates a key pair and a certificate signing request containing the public key and requested domain, and proves control of the domain by one of a small set of accepted methods: publishing a specific value in DNS, serving a token at a defined HTTP path, or responding correctly during a TLS handshake with a special certificate. The CA verifies the proof and issues a signed certificate.
The ACME protocol, defined in RFC 8555 and popularised by Let's Encrypt, automated this entire exchange as a machine-to-machine API rather than a manual web form, which is the single largest reason free, short-lived, automatically renewed certificates became the norm across the web after 2016 rather than remaining a niche practice.
When trust needs to be withdrawn: revocation
A certificate can become untrustworthy before its expiry date — the private key might leak, or the CA might discover the identity checks behind it were faulty. Revocation is the mechanism for signalling that a certificate should no longer be trusted even though it has not expired.
- Certificate Revocation Lists (CRLs) are periodically published lists of revoked serial numbers that clients can download and check against.
- The Online Certificate Status Protocol (OCSP) lets a client query a CA's server about a single certificate's status in real time.
- OCSP stapling has the web server itself periodically fetch a signed OCSP response and attach it to the TLS handshake, avoiding a separate, privacy-leaking query from every visitor's browser to the CA.
Revocation checking in practice
Pros
- Gives a way to invalidate a compromised certificate immediately rather than waiting out its full validity period
- OCSP stapling removes the extra round trip and the privacy exposure of querying the CA directly
- Short-lived certificates reduce reliance on revocation altogether, since the exposure window closes naturally
Cons
- Many browsers historically soft-failed when a revocation check timed out, treating an unreachable CA the same as a valid certificate
- CRLs can grow large and stale between publication intervals
- Real-time OCSP queries reveal browsing patterns to the CA unless stapling is used
Certificate Transparency: catching mis-issuance after the fact
Revocation only helps once a problem is known. Certificate Transparency, defined in RFC 6962 and its successors, addresses the earlier question of how anyone finds out a certificate was mis-issued at all. Participating CAs submit every certificate they issue to public, append-only, cryptographically verifiable logs. Domain owners, browser vendors and security researchers can then monitor those logs for certificates issued for their own domains that they never requested, and major browsers now require a valid, logged proof of submission before they will trust a newly issued web certificate.
Typical validity period of publicly trusted TLS certificates over time
Maximum validity, months
The CA/Browser Forum has progressively shortened maximum certificate lifetimes; a 2025 ballot sets a path down to 47 days by 2029, reducing how long a compromised or mis-issued certificate can remain trusted before natural expiry.
PKI beyond the web
Web certificates are the most visible use of PKI, but the same building blocks — key pairs, signed certificates, trust hierarchies — underpin code signing, which verifies that installed software has not been tampered with since it was published; client certificates used in enterprise networks and some government identity systems; S/MIME for signed and encrypted email; and the mutual TLS deployed between internal microservices that need to authenticate each other rather than trusting network location alone.
Key points
- PKI binds a public key to an identity through a certificate signed by a certificate authority the relying party already trusts.
- Verification walks a chain from a leaf certificate up through intermediates to a trusted root; any broken link fails validation.
- Automated issuance via ACME made short-lived, frequently renewed certificates the practical default across the web.
- Revocation (CRLs, OCSP, stapling) withdraws trust before expiry; Certificate Transparency helps detect mis-issuance after the fact.
- Maximum certificate lifetimes have shortened steadily, reducing the exposure window of any single compromised key.
Sponsored video
AdvertisementChecking for a video ad…
Frequently asked questions
Sources
About the author
Michael Adeyemi — Senior Technology Writer
Michael writes Inquro's computing and web-infrastructure coverage. He worked for eight years as a platform engineer on high-traffic content systems before moving into full-time technical explanation, and he still prototypes every measurement described in his articles before publishing the numbers.
- Qualifications
- MSc, Distributed Systems — University of Manchester
- BEng, Computer Engineering — University of Lagos
- Experience
- Eight years as a platform engineer on high-traffic content delivery systems
- Four years writing standards-based technical documentation
- Subject areas:
- Web performance, Networking, Systems architecture
- Contact:
- michael@inquro.example
Reviewed for factual accuracy by Dr. Rina Halvorsen, Editor-in-Chief (PhD, Cognitive Science), on 11 April 2026.
Structure, claim strength and whether an explanation actually answers the question a reader arrived with.
Inquro articles are commissioned, sourced, reviewed and re-checked under a published editorial policy. Corrections are made in place and dated — write to editorial@inquro.example if you find an error.






