PKI explained

PKI components

The short answer

The main PKI components are the certificate authority (CA), which signs certificates; the registration authority (RA), which checks who is asking; repositories and revocation services, which publish certificates, CRLs and status answers; Certificate Transparency logs; and the trust stores of relying parties. Hardware security modules, policies and audits hold it all together.

Who it is for
Level
Practitioner
Reading time
About 10 minutes
On this page
  1. What are the main PKI components?
  2. What does the certificate authority do?
  3. What does a registration authority do?
  4. Who are subscribers, end entities and relying parties?
  5. Where are certificates and revocation lists published?
  6. How do revocation services work?
  7. What does Certificate Transparency add?
  8. Where do trust stores and root programs fit?
  9. What protects the CA’s keys?
  10. What holds the components together?
  11. Which components do you need to run your own PKI?
  12. Where to go next
  13. Frequently asked questions
  14. Keep going

A PKI is not one product. It is a set of parts, each with one job, that together let strangers trust each other’s public keys. This page names every part, says what it does, what happens when it fails and where its rules are written, and links to the handbook chapter that goes deeper. To see the same parts in action, one step at a time, read How does PKI work?. For how CAs are stacked into one, two or three tiers, read PKI architecture.

What are the main PKI components?

The internet’s X.509 profile, RFC 5280, describes a simple model in its section 3: end entities, certification authorities, registration authorities, CRL issuers and repositories. Real PKIs add a few parts that grew up later, such as OCSP responders, Certificate Transparency logs and the trust stores run by browser makers.

Component Its job What happens if it fails
Certificate authority (CA) Signs certificates and revocation lists A stolen CA key can sign certificates for any name
Registration authority (RA) Checks each request before the CA signs Certificates go to the wrong people or names
Subscriber (end entity) Holds the private key and uses the certificate A leaked key lets others impersonate it
Repository Publishes CA certificates, CRLs and policy documents Clients cannot complete chains or fetch CRLs
Revocation services Say which certificates were cancelled: CRLs and OCSP Revoked certificates keep working, or good ones are refused
Certificate Transparency logs Keep a public, append-only record of TLS certificates Browsers stop accepting that log’s receipts
Relying party and trust store Checks certificates against the roots it trusts It trusts the wrong roots, or rejects good ones
Hardware security module (HSM) Keeps the CA’s private keys inside hardware The CA’s keys are exposed, or lost
Policies and audits Say what must be true, and check that it is The root programs lose confidence and distrust the CA
The components of a PKI and how they connect: subscriber, registration authority, certificate authority with its HSM, relying party with its trust store, repository, revocation services and CT logs, all under policies and audits Subscriber end entity: server, user or device shows certificate, proves its key Relying party browser, app or operating system 1. CSR 3. certificate checks chain Registration authority 2. checks, approves Certificate authority key in an HSM ✓ Trust store the roots it already accepts publishes Repository certificates, CP/CPS Revocation CRLs and OCSP CT logs public TLS only Rules over all of it: CP, CPS, Baseline Requirements and audits
Only the CA signs certificates. Every other part checks, publishes, records or decides whom to trust.

What does the certificate authority do?

The certificate authority is the only part that signs certificates. It usually signs the lists that revoke them too. Everything else in a PKI either feeds it requests, publishes what it signed, or checks its work.

Most CAs are not one machine but a small hierarchy. A root CA, whose certificate sits in trust stores, is kept offline and used rarely, mainly to sign a few issuing CAs, also called intermediates, which sign certificates every day. If an issuing CA is compromised, the root revokes it and signs a new one, and the trust installed on millions of devices survives. PKI architecture compares the designs, and A CA of your own builds a two-tier private one.

A public CA follows the CA/Browser Forum’s Baseline Requirements and the policies of the root programs; a private CA follows its own written policy. A CA can be a public company, a non-profit or a team inside your organisation. What makes it a CA is not who runs it, but that relying parties have decided to trust its root. What is a certificate authority? explains how a public CA earns that.

What does a registration authority do?

RFC 5280 defines the registration authority as “an optional system to which a CA delegates certain management functions”. In practice, the RA checks that the request is genuine before the CA signs anything: is this really the server’s owner, the new employee, the device from our factory?

The RA can be a person, a team or software:

  • an approval step in a company’s certificate portal, where a second person confirms each request;
  • the HR or device-management system that tells the CA which users and devices exist;
  • the automated domain checks inside a public CA, which play the RA role for every ACME request.

Separating the RA from the CA lets an organisation hand out the checking work without handing out access to the CA’s key. Public TLS CAs may delegate some identity checks this way, but never the checks of domain names and IP addresses, or the CAA check, which they must perform themselves (Baseline Requirements, section 1.3.2).

Who are subscribers, end entities and relying parties?

A subscriber is whoever asks for a certificate and agrees to the CA’s terms: a website owner, a developer, a company. The end entity is the thing the certificate is about: a server, a user, a device or a piece of software. Its certificate is a leaf, not a CA certificate, so clients will not accept it as the signer of other certificates. Often subscriber and end entity are the same.

A relying party is whoever checks a certificate and acts on it: a browser opening a website, a server checking a client certificate, an operating system checking a signed driver. Relying parties are the reason the rest exists. The CA’s rules, audits and logs are all there to protect them.

Where are certificates and revocation lists published?

The repository is wherever the CA publishes what clients may need. RFC 5280 calls it “a system or collection of distributed systems that stores certificates and CRLs” and distributes them. Today that is usually a plain web server. Each certificate carries the addresses itself:

  • the Authority Information Access extension says where to download the issuer’s certificate, so a client can complete a chain (certificate chains);
  • the CRL Distribution Points extension says where the CA’s revocation list lives.

Public CAs must also publish their policy documents there, “available on a 24x7 basis” (Baseline Requirements, section 2.2). Inside Windows domains, Active Directory often serves as a second repository over LDAP. Because everything in a repository is already signed, the web server itself needs no special trust. It only needs to stay online: a CRL that nobody can download is a common cause of internal outages.

You can see both addresses in a sample certificate here: open the extensions in the decoder and look for “Authority Information Access” and “CRL Distribution Points”.

Try it: Certificate decoderOpen the full tool

Runs in your browser. Nothing you paste is sent anywhere.

PEM text, several PEM blocks, or a .pem, .crt, .cer or .der file (drop it on the box). Certificates are public, so they are safe to paste.

How do revocation services work?

Revocation cancels a certificate before its end date, for example after a key leak. The CA, or a CRL issuer it authorises, publishes a signed certificate revocation list of revoked serial numbers. An OCSP responder, defined in RFC 6960, answers questions about one certificate at a time. With OCSP stapling, the server fetches that answer and hands it to the client itself.

The balance between these has shifted. Since 15 March 2024: OCSP became optional and CRLs became mandatory for publicly trusted TLS certificates. Chrome, and Firefox on desktop, now rely mainly on compact revocation lists that they download in the background rather than asking online, and when an answer does not arrive, browser revocation checking is largely soft-fail. Short certificate lifetimes do much of the work instead. Taking it back: CRLs, OCSP and stapling has the details.

What does Certificate Transparency add?

Any public CA can issue a certificate for any name, so a mistake or a break-in at one CA could go unnoticed. Certificate Transparency (CT) fixes that with public, append-only logs run by independent operators, defined in RFC 6962 (version 1) and RFC 9162 (version 2). Public CAs submit their TLS certificates because browsers accept one only with signed receipts from the logs: Chrome requires Certificate Transparency for publicly trusted TLS certificates (since April 2018), and Apple’s platforms and Firefox on desktop enforce CT too.

Logs record; they do not judge. The checking is done by monitors: services that watch the logs for your domain names and tell you when a certificate appears that nobody in your organisation asked for. The CT chapter explains the logs, and the CT monitoring guide sets one up.

Where do trust stores and root programs fit?

Every relying party starts from a trust store: the list of root certificates it accepts without further proof. A chain is accepted only if it ends at one of them. A root is in the store because someone put it there after reviewing the CA, not because it signed itself.

For the public web, that someone is a root program. Chrome, Mozilla, Apple and Microsoft each run one, with its own policy, and together they decide which CAs nearly every device trusts. In a company, the IT team decides which private roots its devices trust. Java, Python and Node.js can each carry their own store, which is why a certificate can work in a browser and fail in a script (Who do we trust?).

What protects the CA’s keys?

A CA’s private key is the most valuable thing in the whole PKI: whoever holds it can sign certificates for any name. So it lives in a hardware security module, a tamper-resistant device that creates keys inside itself and uses them without ever letting them out. Public CAs must use modules validated to at least FIPS 140-2 or FIPS 140-3 level 3, or under a Common Criteria evaluation at EAL 4 or higher (Baseline Requirements, section 6.2.7). The current US standard is FIPS 140-3, Security Requirements for Cryptographic Modules.

The keys are created in a scripted, witnessed key ceremony, and using them needs several people at once. Guarding the keys describes both.

What holds the components together?

Written rules and independent checks. A certificate policy (CP) sets out what must be true. A certification practice statement (CPS) says how one CA makes it true. Both follow the outline of RFC 3647.

For public TLS CAs, the CA/Browser Forum’s Baseline Requirements add one shared rulebook, and the root programs add their own policies on top. Auditors then check, under the WebTrust or ETSI schemes, that each CA does what its documents say, in audit periods that “MUST NOT exceed one year in duration” (section 8.1). A CA that fails its audits, or hides incidents, loses its place in the trust stores.

Which components do you need to run your own PKI?

For a private PKI inside an organisation, the minimum working set is:

  1. An offline root CA, with its key in an HSM or on protected media in a safe.
  2. One or more issuing CAs, online, with limits on which names and purposes they may sign.
  3. An enrolment channel that plays the RA role: ACME (RFC 8555), EST, SCEP, or Windows auto-enrolment.
  4. A web repository for the CA certificates and CRLs, at the addresses written into every certificate.
  5. A CP/CPS and an inventory of every certificate you issue, with renewal monitoring.

Start with A CA of your own, try the step-ca lab guide, and read public vs private PKI to check that a private CA is the right choice at all.

Where to go next

Guided mission · free · no account · progress saves hereBuild a private CA with clear limits — 7 minutesArrange root and issuing roles, scope certificate permissions, and distribute trust deliberately.

Frequently asked questions

What is a validation authority?

Validation authority is a vendor term, not one from RFC 5280. It usually means the service that answers questions about certificate status, such as an OCSP responder, or a server that validates whole certificate chains on behalf of clients. In the standard model, the same job is done by the CA or a delegated CRL issuer or OCSP responder that the CA authorises to sign status information.

What is certificate lifecycle management?

Certificate lifecycle management (CLM) is the tooling and process around the certificates themselves: finding every certificate in use, recording who owns it, renewing it before it expires, and replacing it quickly after a revocation or a distrust. It is not one of the roles in the RFC 5280 model, but with public certificate lifetimes shrinking, it is the part that most often decides whether a PKI causes outages.

Can one server run all the PKI components?

In a lab, yes. One machine can host the CA, the enrolment service, the revocation list and the web repository. In production, keep the root CA offline and separate from everything else, and run the issuing CA on a hardened server with its key in a hardware security module. The repository and status services can sit on ordinary, highly available web servers, because everything they publish is already signed.

Do private PKIs need Certificate Transparency?

Usually not. Browsers require Certificate Transparency only for publicly trusted TLS certificates. Logging internal certificates would publish your internal host names to the world, so private CAs normally do not log them. A private PKI gets the same visibility from its own issuance records and a complete certificate inventory, which you should keep and review anyway.

What is a timestamping authority?

A timestamping authority (TSA) signs a statement that certain data existed at a certain time, using the protocol of RFC 3161. It matters for code and document signing: a signature with a trusted timestamp can still be checked after the signer's certificate has expired, because the timestamp proves the signature was made while the certificate was valid. Website PKI does not use one.

Early edition. Written with AI assistance and checked against primary sources; an independent expert review is planned. Found a mistake? Tell us.

Last reviewed Edition 0.9