Public key infrastructure (PKI): components, trust, and certificate operations
Understand PKI roles, certificate policy and practice statements, trust-model choices, and operations from issuance through revocation and recovery.
Public key infrastructure (PKI): components, trust, and certificate operations
Public key infrastructure (PKI) is the people, policies, procedures, and technology used to issue, validate, maintain, and revoke public-key certificates. A certification authority (CA) is one component; installing CA software alone does not create a working PKI. Organizations also need rules for identity checks, trust-anchor distribution, key protection, application validation, and incident recovery. This overview uses X.509, RFC 5280, and NIST SP 800-175B Rev. 1 §5.2.3. It is general technical education, not product configuration or legal advice.
What does PKI provide?
A public key by itself does not tell another system whose key it is. A certificate binds a public key to an identifier and related information; a trusted issuer signs that binding under defined issuance checks. The relying party validates the path, validity, status, and intended use. It still checks the requested service name and application permissions separately. A valid certificate does not itself authorize an API request.
| Participant | Responsibility | Operational question |
|---|---|---|
| CA | Issues certificates and status information | Are signing keys protected and issuance controlled? |
| Registration authority (RA) | Checks applicant identity, authority, and request data | Who may request a certificate for this name or device? |
| Subscriber or certificate owner | Requests and uses a key pair; protects its private key | Who replaces or revokes it after loss or compromise? |
| Relying party | Validates path, dates, status, and application purpose | How are trust anchors installed and removed? |
| Policy, repository, and operations services | Set rules and distribute certificates or revocation status | Are policy, availability, audit, and retention defined? |
One organization may perform several roles, but separating request approval, CA key use, and issuance review can make mistaken issuance easier to detect. The needed separation depends on the protected assets and the impact of an erroneous certificate.
From request to application decision
Key pair and certificate request
-> RA or equivalent verifies identity, name, and authority
-> CA issues and signs under policy
-> subscriber protects the private key and uses the certificate
-> relying party validates trust path, dates, purpose, and status
-> application checks the requested name and access rightsFor example, before issuing a certificate for api.example.internal, verify that the requester controls or is authorized for that service name. A client then checks the certificate path to a securely provisioned trust anchor and matches the server name. The API's own authorization policy decides what the caller may do. This is an illustrative flow, not a product test.
Certificate Policy (CP) and Practice Statement (CPS)
A Certificate Policy (CP) describes the assurance and requirements for a community or use. A Certification Practice Statement (CPS) describes how a particular CA implements the applicable policy. Review substance, not just document titles:
Which identities and name-control evidence are checked, and who can approve requests?
Who generates and protects subscriber and CA keys?
What uses, names, limits, and validity periods apply?
How are renewal, revocation, status publication, and incident response handled?
How are trust changes, audits, and service outages communicated and recovered?
Choose a trust and lifecycle model
| Decision | Factors and trade-offs |
|---|---|
| Public or internal trust | Public CA trust can work for unmanaged external clients under the issuer's rules. An internal CA can fit managed devices and private names, but the organization must distribute and remove its trust anchor securely. |
| One CA or hierarchy | Intermediate CAs can separate teams or environments and limit issuance scope; they add chain, policy, and key-management complexity. |
| Short-lived certificates or status checking | Short lifetimes can reduce how long an old certificate remains usable, but require reliable automated issuance and renewal. CRL/OCSP status adds revocation signals but needs cache, availability, and outage behavior. |
| Central or delegated registration | Delegation can scale checks closer to asset owners, but requires controls and audit for each delegated approver. |
Lifecycle operating checklist
**Before issuance:** verify identity and authority for the name, service, or device; automated requests still need authorization checks.
**Protect keys:** separate and restrict CA signing keys and subscriber private keys. A compromised CA key can enable fraudulent certificates; assign access, logging, and response owners.
**Distribute and validate trust:** provision trust anchors through an approved management channel. Check path, validity, constraints, certificate purpose, and the service name; keep application authorization separate.
**Renew and publish status:** connect renewal, key replacement, revocation approval, and CRL/OCSP or other status updates. Define behavior if status is stale or unavailable.
**Prepare recovery:** for CA compromise or mistaken issuance, identify affected certificates, revoke them, remove or replace trust anchors, distribute updated trust, and validate dependent services.
Judge PKI by whether unauthorized issuance is prevented, trust can be withdrawn after compromise, verifiers apply consistent checks, and exceptions remain auditable—not by certificate volume alone.
Sources
[NIST SP 800-175B Rev. 1, §5.2.3: Public Key Infrastructure](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-175Br1.pdf)
[RFC 5280: Internet X.509 PKI Certificate and CRL Profile](https://www.rfc-editor.org/rfc/rfc5280.html)
[NIST CSRC: Preparing for and Responding to CA Compromise and Fraudulent Certificate Issuance](https://csrc.nist.gov/pubs/itlb/2012/07/preparing-for-and-responding-to-certification-auth/final)