Chain links, expiry and fingerprints
A chain is a link of names
Validation follows the leaf's issuer up to the subject of a parent certificate. When the names match, the parent's public key verifies the signature, and the same step repeats until a root in the trust store is reached.
- Compare the leaf issuer with the subject of each parent candidate.
- Check AKI against SKI as well; the name can match while the key differs.
- Confirm the parent is a CA and asserts keyCertSign.
- Confirm the pathLen constraint is not exceeded.
- Confirm the parent's validity covers the moment being checked.
AKI and SKI avoid name collisions
The Subject Key Identifier (2.5.29.14) is a hash of that certificate's public key, and the Authority Key Identifier (2.5.29.35) identifies the issuer's key. A CA that keeps its name across a key rollover will have several certificates with the same name, and linking by name alone can pick the wrong key. A mismatched AKI or SKI is a warning here.
Expiry is calculated in UTC
notBefore and notAfter are recorded in UTC. Expiry is decided by whether the present instant is after notAfter, and the days left are rounded down. Thirty days or fewer is a warning; already expired is critical. On the expiry day, zero days remain but the certificate is still valid.
Public TLS certificates are expected not to exceed 398 days of validity. Older two- or three-year certificates can violate current policy, so a leaf valid for more than 398 days is reported as a note.
Three fingerprints to check
| Value | Covers | Used for |
|---|---|---|
| SHA-256 fingerprint | The whole certificate DER | Identifying and comparing certificates, monitoring |
| SHA-1 fingerprint | The whole certificate DER | Legacy tooling only, not for new policy |
| SPKI SHA-256 | SubjectPublicKeyInfo | DANE TLSA, HPKP pins, key pinning |
Fingerprints are shown as colon-separated upper-case hex pairs so a person can compare them by eye. The SPKI hash is also shown in Base64 to match DANE records. All three are computed inside the browser and nothing is sent anywhere.
When a chain is broken, find the missing issuer first. If the name matches but validation still fails, check AKI/SKI, keyCertSign, pathLen and expiry, in that order.
Questions
Why does chain order matter?
A server normally sends the leaf first and intermediates after it. A shuffled chain stops some clients from building it. Validation itself links by name, but the distribution format should keep the order.
Should the server send the root?
Usually not: clients link to the root in their own trust store. In a private PKI the root still has to be distributed separately.
How does SPKI SHA-256 differ from a certificate fingerprint?
A certificate fingerprint hashes the whole certificate, so it changes on renewal. The SPKI hash covers only the public key, so it survives renewal when the key is reused. DANE and pinning use the latter.
Add a chain and the order, the links, a missing issuer and expiry are checked at once.
Open the toolThis article follows RFC 5280 (X.509), RFC 6125 (host name verification), RFC 6960 (OCSP), RFC 7469 (HPKP), RFC 8555 (ACME) and the CA/Browser Forum Baseline Requirements. Every example certificate is synthetic, made for this site, and tied to no real domain.