Reference guide · dns-ssl · Published 2026-08-16 · 3 min read

Root, intermediate and leaf certificates explained

Root, intermediate and leaf certificates in the TLS chain of trust, plus how to inspect and avoid chain problems.

Flat editorial illustration showing a globe of orbiting nodes resolving into a key and shield form, dotted resolution paths converging.
Illustration: this article at a glance.

When a browser connects over HTTPS it does not trust your certificate on faith. It builds a chain of trust from the certificate the server sends, through one or more intermediate certificates, up to a root certificate the browser already trusts. Understanding root, intermediate and leaf roles explains most certificate problems.

Editorial close-up illustration showing a globe of orbiting nodes resolving into a key and shield form, dotted resolution paths converging.
Illustration: a closer look at the technique described above.

Know the chain

Understand trust anchors

Inspect a chain

On a terminal you can see the chain a server sends with openssl s_client:

openssl s_client -connect example.com:443 -showcerts

Prevention

Need a website built, fixed, optimised, migrated or replaced?

This technical resource is written by CSMBAC, a small design and development studio. If you would rather hand the problem to a professional, the website service page explains how we build enquiry-ready websites.

Explore website services