Print issuer, serial number and SHA-256 fingerprint from the same leaf. The CA assigns the serial number within its issuance scope. The fingerprint is computed from the DER-encoded certificate and identifies the encoded leaf for deployment comparisons.
Read all three values from one certificate
Save the observed leaf as observed-leaf.pem. Run openssl x509 -in observed-leaf.pem -noout -issuer -serial -sha256 -fingerprint. For a DER file, specify -inform DER. Keep the observation source and time with the values.
Keep the distinction between the dedicated certificate serial number field and any serialNumber attribute shown in a subject name. Compare serial numbers in the same representation. Issuer systems can display them in different formats, so preserve the original value alongside any normalized value.
Choose an identifier for the review
| Task | Use this evidence |
|---|---|
| Confirm that a server deployed the intended leaf | Expected and observed SHA-256 fingerprints of the full leaf certificate under the same test scope. |
| Reconcile an issuance or revocation action | The issuing CA context, certificate serial number and an authoritative issuer record. |
| Check whether two certificates use the same public key | An explicitly labeled public key fingerprint, using the same representation and hash in both records. |
| Determine whether the certificate verifies today | Check the name, chain, validity and other required conditions separately. |
Reconcile a renewal record without losing history
Imagine an issuer reissues a certificate for the same hostnames using the same public key. Preserve the earlier and replacement fingerprints and serial numbers. Match current observations to the intended leaf and keep the issuance metadata for the issuer's records.
For a revocation review, attach the issuer response and its time. When the evidence is OCSP, validate the response for the matching certificate and issuer. A certificate serial alone cannot establish that the response is valid or current.
Frequently asked questions
Are certificate serial numbers globally unique?
RFC 5280 requires serial uniqueness for certificates issued by a given CA. Keep the issuing CA context with a serial number.
Will renewing a certificate with the same key change its fingerprint?
If the renewed certificate changes any of its encoded bytes, its certificate fingerprint changes. The matching public key can retain its own fingerprint.
Does comparing a fingerprint verify trust?
It compares certificate identity. Apply the intended hostname, path and revocation policy checks separately when evaluating trust.