A public key infrastructure (PKI) is the framework of people, policies, software and hardware that issues, maintains and revokes public key certificates. A certificate binds a public key to an identity, such as a website domain, and a certificate authority signs that binding so browsers and other software can trust it without ever meeting the owner.
Key takeaways
- A PKI is not one product: it is certificates, certificate authorities, registration, validation and revocation working together.
- Your browser trusts a site because a chain of signatures leads back to a root certificate authority it already trusts.
- Short certificate lifetimes mean automation is now essential: public TLS certificates last at most 200 days from March 2026.
Every time your browser shows a padlock, it is trusting a chain of signatures it has never seen before. That trust does not come from the website itself. It comes from a public key infrastructure, or PKI, the system that issues, checks and revokes the digital certificates behind HTTPS, signed email, VPNs and code signing.
What is a PKI?
A public key infrastructure is the framework of people, policies, hardware and software that issues, maintains and revokes public key certificates. NIST defines it as the framework established to issue, maintain and revoke public key certificates, and that short definition covers a lot of machinery.
A certificate is a signed statement that binds a public key to an identity: a domain name, a company, a person or a device. The signature comes from a certificate authority (CA), an organization your software already trusts. Because the CA checked the identity before signing, your browser can trust the certificate without checking the identity itself.
PKI is not a single product you buy. It is the whole system: the CA that signs, the registration process that checks identities, the repository that publishes certificates, the revocation service that cancels them, and the rules that govern all of it.
How do public and private keys work?
Public key cryptography uses a pair of mathematically linked keys. The private key stays secret with its owner. The public key can be shared with anyone. Data encrypted with the public key can only be decrypted with the private key, and a signature made with the private key can be verified with the public key.
This solves the oldest problem in encryption: how do you share a secret key with someone you have never met? With a key pair, you never share the secret. You publish the public half and keep the private half locked away.
The catch is that a public key on its own proves nothing about who owns it. Anyone can generate a key pair and claim to be your bank. PKI closes that gap by attaching a signed certificate to the public key, so you know who the key belongs to before you use it.
What are the main parts of a PKI?
A PKI has five main roles, and most real deployments include all of them. Each one has a distinct job, and a failure in any of them weakens the whole system.
| Component | What it does | Example |
|---|---|---|
| Certificate authority (CA) | Verifies identities and signs certificates | DigiCert, Sectigo, Let's Encrypt |
| Registration authority (RA) | Checks the applicant's identity for the CA | Domain validation, company documents |
| Certificate | Binds a public key to an identity, with an expiry date | An X.509 certificate for example.com |
| Repository | Publishes certificates and revocation information | Certificate Transparency logs |
| Validation authority | Answers "is this certificate still valid?" | OCSP responder, CRL distribution point |
The CA is the trust anchor. Its own certificate, the root certificate, is pre-installed in browsers and operating systems. Everything else in the system is checked by following signatures back to that root.
The RA does the identity checking so the CA can focus on signing. For a basic website certificate, the RA check may be as simple as proving you control the domain. For an extended validation certificate, it involves company registration documents and a phone call.
How is a certificate issued?
Issuing a certificate takes four steps. First, the owner generates a key pair and keeps the private key secret. Second, they create a certificate signing request (CSR) containing the public key and the identity they want certified. Third, the CA or RA verifies that identity. Fourth, the CA signs the certificate and the owner installs it.
For a domain-validated certificate, verification is usually automated: the CA asks you to place a file on your web server or add a DNS record, proving you control the domain. Services such as Let's Encrypt automate the whole flow with the ACME protocol, which is why their certificates are free and last only 90 days.
The strength of the check depends on the certificate type. Domain validation (DV) proves control of a domain. Organization validation (OV) also checks that the company exists. Extended validation (EV) adds the strictest company checks, though modern browsers no longer display EV certificates differently from DV ones.
What is the chain of trust?
Your browser does not trust a website certificate directly. It checks a chain: the website certificate was signed by an intermediate CA, which was signed by a root CA that the browser already trusts. If every signature checks out, the chain is valid.
Root CAs are kept offline and used rarely, because a compromised root would be catastrophic. Intermediate CAs do the day-to-day signing. If an intermediate is compromised, the root can revoke it without replacing every root certificate in the world.
When your server sends its certificate, it should also send the intermediate certificates so the browser can build the full chain. A missing intermediate is one of the most common reasons a site shows a certificate error even though its certificate is valid.
How does your browser check a certificate?
When you visit an HTTPS site, your browser runs several checks in milliseconds. It verifies the chain of signatures back to a trusted root, checks that the certificate names the domain you asked for, confirms the current date falls inside the validity period, and checks whether the certificate has been revoked.
Revocation is checked in two ways. A certificate revocation list (CRL) is a signed list of revoked certificates published by the CA, defined in RFC 5280. The Online Certificate Status Protocol (OCSP), defined in RFC 6960, lets the browser ask the CA about one certificate in real time.
Certificate Transparency logs add another layer. Every publicly trusted certificate must be recorded in public, append-only logs, so a CA cannot secretly issue a certificate for your domain. You can monitor these logs for certificates issued in your name.
What is PKI used for?
PKI shows up in more places than the browser padlock. It authenticates servers in TLS, signs email with S/MIME so recipients know a message was not altered, authenticates VPN and Wi-Fi clients, signs software so your operating system knows an update is genuine, and issues smart-card certificates for employee logins.
Digital signatures are one of the most valuable uses. A document signed with a certificate proves who signed it and that it has not changed since. That property, called non-repudiation, is why signed contracts and code carry legal and practical weight.
PKI also underpins device identity. Routers, printers, IoT devices and corporate laptops can each hold a certificate, letting a network admit only known devices. Our guide to securing your Wi-Fi explains why device identity matters on a home network too.
Public PKI vs private PKI: what's the difference?
A public PKI uses certificates from publicly trusted CAs, the ones built into browsers and operating systems. Anyone on the internet can verify them, which is what a public website needs. The rules are set by the CA/Browser Forum, and CAs that break them can be distrusted.
A private PKI is one an organization runs for itself. It issues certificates for internal servers, VPN users and devices, and only its own systems trust its root. It gives full control over policies and lifetimes, but it requires secure key storage, revocation infrastructure and careful root protection.
| Public PKI | Private PKI | |
|---|---|---|
| Trusted by | Every browser and OS by default | Only systems you configure |
| Best for | Public websites, public email | Internal services, VPNs, device certificates |
| Who runs the CA | A commercial or non-profit CA | Your own team |
| Certificate lifetime | Capped by CA/Browser Forum rules | Set by your own policy |
| Main risk | Depending on a third party | Protecting your own root key |
Many organizations use both: public certificates for anything customers touch, and a private PKI for internal systems where public trust adds nothing.
Why are certificate lifetimes getting shorter?
Public TLS certificates used to last for years. The CA/Browser Forum has steadily shortened the maximum: 825 days, then 398 days in 2020, and under ballot SC-081 the cap falls to 200 days for certificates issued from 15 March 2026, then 100 days in March 2027 and 47 days in March 2029.
Shorter lifetimes limit the damage from a stolen private key or a misissued certificate, and they force the industry toward automation. A certificate that expires every few weeks cannot be renewed by hand. Let's Encrypt has issued 90-day certificates since it launched, and it recommends renewing after 60 days.
If you run a website, the practical lesson is simple: automate renewal with ACME, your hosting provider or your CDN, and monitor expiry. An expired certificate takes your site offline for every visitor at once, and it is one of the most common avoidable outages. You can check your own site in seconds with our free SSL checker.
What happens when PKI fails?
PKI failures are usually process failures, not broken math. In 2011, attackers breached Dutch CA DigiNotar and issued fake certificates for Google and other domains. Browsers removed DigiNotar from their trust stores, and the company went bankrupt within weeks.
More common failures are mundane: an expired certificate takes a service offline, a private key is left in a public code repository, or a certificate is issued for the wrong domain. Each one is preventable with inventory, automation and monitoring.
The other classic failure is a compromised root key. Because a root can sign anything, root keys are stored in hardware security modules, often offline, with strict multi-person controls. If a root key ever leaked, every certificate under it would have to be replaced.
How do you set up PKI for a small business?
For most small businesses, PKI means three tasks: get a certificate for your website, keep it renewed automatically, and monitor it. Your hosting provider or CDN usually offers free automated certificates, and that is enough for a public site.
If you run internal services, consider a managed private CA from your cloud provider rather than building one yourself. It handles the root key storage, revocation and audit trail that are easy to get wrong.
- Inventory every certificate. List all domains, expiry dates and issuing CAs in one place.
- Automate renewal. Use ACME or your provider's auto-renewal so no certificate depends on a person remembering a date.
- Monitor expiry and revocation. Alert at 30, 14 and 7 days before expiry, and watch Certificate Transparency logs for unexpected certificates.
- Plan for key compromise. Know how to revoke and replace a certificate quickly, and keep the replacement process tested.
For a wider starting point, our small business cybersecurity checklist covers certificates alongside backups, updates and access control.
The bottom line
PKI is the quiet system that makes the internet trustworthy: certificates bind public keys to identities, CAs vouch for those bindings, and revocation and transparency logs keep the system honest. You rarely notice it until it breaks, and then it breaks loudly.
Your job is not to understand every RFC. It is to keep your certificates inventoried, renewed automatically and monitored for expiry. Check your own site now with the free SSL checker, and set a renewal alert before the next expiry date sneaks up on you.
Frequently asked questions
What is a PKI in simple terms?
A PKI is the system that lets strangers trust each other's digital identities. It uses certificates, signed by trusted certificate authorities, to prove that a public key really belongs to a specific website, person or device.
What is the difference between PKI and public key cryptography?
Public key cryptography is the math: a pair of keys where one encrypts or signs and the other decrypts or verifies. PKI is the management system around that math: issuing certificates, checking identities, publishing revocation lists and setting the rules.
What is a certificate authority?
A certificate authority, or CA, is an organization trusted to verify identities and issue digital certificates. Browsers and operating systems ship with a list of root CAs they trust, and every certificate chain is checked back to one of those roots.
How does a PKI certificate get revoked?
When a private key is stolen or a certificate was issued by mistake, the CA adds it to a certificate revocation list, or answers an OCSP query saying it is revoked. Browsers check this status before trusting the certificate.
How long does a public TLS certificate last?
Certificates issued on or after 15 March 2026 last at most 200 days under CA/Browser Forum rules. The cap falls to 100 days in March 2027 and 47 days in March 2029. Let's Encrypt certificates last 90 days.
Is PKI the same as SSL?
No. SSL and its successor TLS are protocols that encrypt connections. PKI is the infrastructure that supplies the certificates TLS uses to authenticate the server. TLS without PKI would encrypt your traffic to whoever answered, including an attacker.
Do small businesses need their own PKI?
Most small businesses do not run their own CA. They use a public CA, often through their hosting provider or a free automated service such as Let's Encrypt, for website certificates. A private PKI only makes sense for internal systems, device certificates or VPNs.
What happens if a certificate authority is compromised?
A compromised CA can issue fake certificates for any domain, so browsers and operating systems can remove its root certificate from their trust stores. This happened to DigiNotar in 2011, and browsers distrusted its certificates within weeks.
Sources
- NIST CSRC — Public Key Infrastructure (PKI) glossary
- IETF — RFC 5280: Internet X.509 Public Key Infrastructure Certificate and CRL Profile
- IETF — RFC 6960: X.509 Internet Public Key Infrastructure Online Certificate Status Protocol
- CA/Browser Forum — Baseline Requirements for the Issuance and Management of Publicly-Trusted Certificates
- NIST — SP 800-32: Introduction to Public Key Technology and the Federal PKI Infrastructure
- Let's Encrypt — How It Works
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against NIST's PKI glossary and SP 800-32, IETF RFC 5280 and RFC 6960, and the CA/Browser Forum Baseline Requirements.
How we write and fact-check →