Course contentsShow
← Security
Lesson 181 of 3,0524. Asymmetric Cryptography and PKIFree lesson

Certificate Chain Validation Process

Understanding how certificate chains are built and validated from end-entity to root CA.

Certificate Chain Validation Process

What you'll learn: How your browser or application verifies that a certificate is trustworthy by following a chain from the website's certificate up to a trusted root authority.


The Trust Problem

When a website presents you with a certificate claiming "I'm really example.com," how do you know it's genuine? You validate the certificate chain — a linked sequence of certificates that proves the website's certificate was signed by someone you trust.

How Chain Validation Works

Think of it like verifying a college diploma: the student's diploma is signed by the dean, the dean's authority is certified by the university board, and you already trust that university's board.

The validation process follows these steps:

1. Start with the End-Entity Certificate

This is the website's certificate (the "leaf" certificate). Extract the issuer information.

2. Find the Issuer's Certificate

Locate the intermediate CA certificate that signed the end-entity cert. The server usually provides this during the TLS handshake.

3. Verify the Signature

Use the intermediate CA's public key to verify the cryptographic signature on the end-entity certificate. If it doesn't match, the chain is invalid.

4. Walk Up the Chain

Repeat: take the intermediate certificate, find its issuer, verify that signature, and continue until you reach the root CA.

5. Check the Root CA

The root certificate must exist in your trust store — a list of pre-installed trusted CAs in your operating system or browser. Root certificates are self-signed and serve as the anchor of trust.

6. Validate Additional Properties

  • Check expiration dates for all certificates
  • Verify key usage extensions match the purpose
  • Ensure none are revoked (via CRL or OCSP)

Key Takeaway: Certificate chain validation traces trust from an end-entity certificate through intermediate CAs to a trusted root CA, cryptographically verifying each signature along the path to confirm authenticity.