PKI chains revocation and validation
From issuance to trust
A public-key infrastructure binds a public key to a named subject under a certification authority (CA). A service creates a key pair and submits a certificate signing request containing its public key and requested identity. The CA applies its issuance policy and signs the certificate. Private keys remain protected. A typical chain is leaf -> issuing intermediate -> locally trusted anchor; an untrusted root supplied by a peer does not become trusted by being self-signed.
Validation is more than signature checking
Use an established path validator with the correct trust store and evaluation time. It checks signatures, CA constraints, key usage and applicable policy, among other rules. For TLS service identity, match the independently expected name to the appropriate certificate SAN under RFC 9525. A certificate can be correctly signed and still be unacceptable for the requested host. RFC 5280 describes PKIX path validation and CRLs; do not replace its algorithm with a classroom Boolean model.
Expiry and revocation evidence
Expiry is the scheduled end of certificate validity. Revocation is an early invalidation decision, for example after key compromise. A CRL is a signed list of revoked serial numbers for its scope; OCSP can report status for a particular certificate. Review freshness, issuer and authenticity of status evidence. Missing or unknown status is not proof of good status. Clients differ in revocation behavior; define policy and test the actual library.
Worked example: local portal
At a fixed classroom evaluation time, the leaf for portal.example chains to the trusted classroom root and is within validity. A certificate for reports.example from the same CA must still be rejected when the expected host is portal.example. An expired leaf or chain to an unrelated root also fails. The lab uses generated certificates with ephemeral private keys, a real library verifier, and an independent mock revocation decision; it does not connect to either hostname.
Practice: certificate lifecycle
Make a certificate inventory with service owner, SANs, issuer, expiration, key location and renewal alert date. Plan replacement before expiry, deployment confirmation across replicas, and removal of the old key according to policy. For suspected compromise, coordinate incident response, replacement and revocation; verify that affected clients apply the intended trust policy. Never instruct users to ignore certificate warnings.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
PKI chains revocation and validation — knowledge check
Apply password, certificate and key lifecycle principles to fictional scenarios.
Who chooses the trusted anchor?
A valid certificate is issued for reports.example but the client expects portal.example. What happens?
What is revocation?
What does unavailable revocation evidence establish?
What should the application use for path validation?