Certificate chain of trust explained: learn how root and intermediate certificates work, how browsers validate HTTPS, and what certificate warnings mean.
π Master your Security+ skills with Pluralsight here: Pluralsight
Youβll learn how root certificates, certificate trust chains, and PKI help your browser verify website identities. This beginner-friendly CompTIA Security+ guide explains TLS certificate validation and what to check when certificate warnings appear.
Chapters: 0:00 Intro 0:12 What does a digital certificate actually prove? 0:52 How does a certificate trust chain work? 1:47 Why are root certificates trusted? 2:59 What causes certificate warnings, and what should you check? 4:02 Outro
Affiliate notice: Some links may earn a commission. Thanks for your support.
Key Takeaways
A certificate chain connects a websiteβs certificate to an accepted trust anchor, typically through an intermediate CA. Each link requires valid cryptographic signatures, not just matching issuer names.
Root certificates are trusted by policy, not because they are self-signed. Browsers, operating systems, and administrators decide which roots to accept.
Servers normally send the website certificate and required intermediates. Sending an unfamiliar root does not make it trusted; intermediates let CAs keep root signing keys offline.
A trusted chain alone is insufficient. Browsers also check validity dates, hostname matches in the Subject Alternative Name (SAN), permitted uses, constraints, and applicable revocation requirements.
HTTPS authenticates an identity-to-key relationship, not a websiteβs honesty. A valid certificate does not guarantee harmless content or a legitimate business.
Investigate certificate warnings rather than bypassing them. Check the hostname, SAN entries, device clock, issuer, and chain; missing intermediates should be fixed on the server.
Never install an unfamiliar root merely to silence a warning. Doing so changes which certificate issuers your software trusts; confirm private CA requirements with your IT team.
Practice chain validation with explicit hostname and purpose checks. The OpenSSL verification documentation explains the options, but command-line validation does not reproduce every browser policy.
π Turn understanding into hands-on confidence with Pluralsight, an optional next step offering guided security labs, feedback, assessments, and certification practice resources.
When you open an HTTPS website, your browser needs more than an encryption key. It needs evidence that the key belongs to the website you intended to visit.
A certificate chain of trust connects a websiteβs digital certificate to a trust anchor your browser or operating system already accepts. Digital signatures establish the links, while a separately configured trust decision establishes the starting point.
Understanding that distinction helps explain root certificates, intermediate certificate authorities, and the warnings that appear when certificate validation fails.
What Does a Digital Certificate Prove?
A digital certificate binds an identity, such as a websiteβs domain name, to a public key. A digitally signs the certificate to attest to that binding.
Some links may earn a commission. Thanks for your support.
Watch in the video playerOpen the dedicated player for this course.
certificate authority (CA)
For a website certificate, important information includes:
Public key: The key associated with the website.
Issuer: The CA that signed the certificate.
Validity dates: When the certificate becomes valid and when it expires.
Subject Alternative Name (SAN): The domain names or other service identifiers the certificate covers.
Usage restrictions: The purposes for which the certificate can be accepted.
Digital signature: The issuerβs signature protecting the certificateβs signed contents.
These certificates belong to public key infrastructure (PKI): the broader system of keys, authorities, policies, and processes supporting certificate-based trust.
Anyone can generate a key pair and create a certificate. The important question is not simply whether a certificate exists, but whether the receiving software can validate it under an accepted trust policy.
A valid website certificate also does not prove that a business is honest or that its content is harmless. It authenticates an identity-to-key relationship, not the websiteβs intentions.
Certificate Chain of Trust Explained
A typical website certificate chain has three levels:
Root CA certificate
β
β Root CA signs the intermediate certificate
βΌ
Intermediate CA certificate
β
β Intermediate CA signs the website certificate
βΌ
Leaf certificate: shop.example.com
Each level has a different role:
Component
Role
Root certificate
Typically represents a trust anchor already accepted by the client.
Intermediate certificate
Represents a subordinate CA authorized to issue certificates within applicable constraints.
Leaf certificate
Identifies the website, service, user, or device being authenticated.
For this example, the browser uses the intermediate CAβs public key to verify the website certificateβs signature. It then uses the root CAβs public key to verify the intermediate certificateβs signature.
The browser must also determine that the path reaches an accepted trust anchor and satisfies the relevant validation requirements.
This is why a chain is more than a collection of certificates with matching issuer names. The cryptographic signatures and applicable constraints must validate. Microsoftβs certificate-chain documentation describes how these relationships connect a certificate to a trusted authority.
What Does the Website Send During TLS?
During Transport Layer Security (TLS), the server normally sends:
Its leaf certificate.
The intermediate certificates needed to establish the path.
The root certificate usually does not need to be sent because the client must establish trust in it independently. Sending an unfamiliar root does not make it trusted.
The TLS exchange also establishes possession of the private key corresponding to the website certificate. Merely copying a public certificate is not enough to authenticate as that website.
Can a Certificate Have More Than One Trust Chain?
Yes. Cross-signing can provide alternative certification paths, potentially leading to different trusted roots.
As a result, clients with different trust stores or path-building behavior may reach different decisions about the same website. A simple three-level diagram illustrates the core idea, but real certificate hierarchies can be more complex.
Why Are Root Certificates Trusted?
A root certificate is typically self-signed: its signature is created using the private key corresponding to the public key in that same certificate.
However, self-signing does not establish trust. It provides no independent endorsement of the certificate owner.
Instead, trust comes from an external decision:
An operating system vendor includes a root in its trust store.
A browserβs root program accepts a CA under its policies.
An organization configures a private root on managed devices.
An administrator explicitly configures an application to accept an authority.
A trust store is the repository software uses to identify accepted trust anchors. Different applications may use different stores or apply different policies.
For public CAs, inclusion involves governance rather than simply submitting a self-signed certificate. For example, Mozillaβs Root Store Policy sets requirements involving audits, disclosure, permitted uses, and removal.
Root Certificate vs. Root Private Key
These are not interchangeable:
The root certificate is public information. Clients need its public key and associated information to support trust decisions.
The root private key is sensitive. It enables certificate signing and must remain protected.
Downloading a root certificate does not give someone the ability to issue certificates as that CA. Installing it as trusted, however, changes which certificate paths your software may accept.
Why Use Intermediate Certificates?
If a root CA can sign certificates, why not let it issue every website certificate directly?
Intermediate CAs provide separation between the trust anchor and routine certificate issuance.
They allow organizations to:
Protect the root key: Keep it offline while intermediates handle regular issuance.
Delegate responsibility: Use different issuing authorities for different environments or purposes.
Apply constraints: Restrict subordinate authorities through certificate extensions and policy.
For example, Letβs Encrypt documents its use of offline root key material and intermediates for issuing subscriber certificates.
An intermediate is still security-critical. If its signing capability is compromised, an attacker may be able to issue fraudulent certificates within its effective scope.
What Does a Browser Check Before Accepting a Certificate?
Reaching a trusted root is necessary, but it is not the entire validation process.
Hostname Matching Is Essential
A certificate with a valid chain for other.example.com does not authenticate shop.example.com.
For modern TLS service identity checking, the requested hostname must match an appropriate identifier in the Subject Alternative Name extension. A familiar organization name or Common Name is not a substitute for that check.
Expiration marks the scheduled end of a certificateβs validity. Revocation addresses certificates that should no longer be accepted before that date.
Related mechanisms include:
CRL: A signed certificate revocation list.
OCSP: A protocol for obtaining certificate-status information.
OCSP stapling: A mechanism allowing a TLS server to provide an OCSP response.
Do not assume every browser makes a live OCSP request on every connection. Revocation mechanisms and enforcement policies differ.
Likewise, a favorable status response does not replace hostname, signature, validity, or usage checks.
Common Certificate Warnings and Their Causes
Certificate warnings can indicate configuration problems, trust differences, or possible impersonation. The error category helps narrow the investigation.
A common deployment problem is a missing intermediate certificate. One client may already have that intermediate cached, while another cannot complete the path.
The appropriate server-side fix is to deploy the required intermediate chain, not to ask users to ignore the warning.
How to Inspect a Certificate Safely
Start with your browserβs certificate viewer. The interface varies, but useful details generally include:
The requested hostname: Confirm you reached the intended address.
SAN entries: Check whether the certificate covers that hostname.
Validity dates: Compare them with the deviceβs clock.
Issuer: Identify the CA that signed the certificate.
Certification path: Look for missing intermediates or an untrusted anchor.
Treat each failure separately. Correcting the clock will not establish trust in an unknown CA, and installing an intermediate will not fix a hostname mismatch.
Do not blindly install an unfamiliar root certificate to silence a warning. Trusting an attacker-controlled CA could allow attacker-issued certificates to be accepted within that trust scope. On managed equipment, ask your IT team to confirm any required private CA configuration.
Validate a Certificate Chain With OpenSSL
For a controlled lab with certificate files already available, you can use:
-CAfile supplies trusted CA certificates for the verification operation.
-untrusted supplies candidate intermediates without declaring them trust anchors.
-purpose sslserver checks the server-authentication purpose.
-verify_hostname adds hostname verification.
This does not install the root in your operating system. It also does not reproduce every browser policy or perform comprehensive revocation checking with these options alone. See the OpenSSL verification documentation for the available options.
Build Certificate Troubleshooting Skills Through Practice
Reading a certificate chain becomes easier when you can compare a working connection with failures such as missing intermediates, incorrect names, and untrusted roots.
If you are studying cybersecurity fundamentals or preparing for Security+, guided practice can help connect certificate terminology to troubleshooting decisions. Pluralsight is an optional next step with guided security labs, feedback, assessments, and certification practice resources.
Affiliate notice: Some links may earn a commission. Thanks for your support.
How Does Digital Certificate Validation Work? (Explained Clearly) - PKI, CRLs & OCSPNext
FAQ
Quick answers to the questions people usually ask about this topic.
What is the difference between a certificate chain and a CA bundle?
A certificate chain is a cryptographically validated path from a leaf certificate to an accepted trust anchor. A CA bundle is a file containing multiple certificates. Depending on the application, that bundle may supply intermediate certificates or trusted CA certificates. Packaging certificates together does not automatically make them trusted; their role depends on how the software loads them.
Does renewing an SSL/TLS certificate require installing a new root certificate?
Usually not. Routine renewal replaces the websiteβs leaf certificate, while the clientβs existing trusted roots can often remain unchanged. However, the issuing CA or intermediate chain may change, so server administrators should deploy the intermediate certificates supplied for the renewed certificate rather than assume the old chain still applies.
Can self-signed certificates be used safely on internal networks?
Yes, when trust is established through a controlled process rather than by ignoring browser warnings. An organization can distribute a private CAβs root certificate to managed devices and issue service certificates beneath it. The certificates must still satisfy hostname, validity, and usage requirements. For a lab, explicitly trusting a certificate for a single verification operation can avoid changing the deviceβs wider trust settings.
Can installing a root certificate let someone inspect HTTPS traffic?
Potentially. Trusting a CA may allow certificates it issues to be accepted within that trust scope. If an organization or attacker also controls an intermediary that can intercept connections, it may be able to terminate and inspect TLS traffic using those certificates. Installing a root certificate alone does not decrypt previously captured HTTPS traffic. Only install private roots through a verified administrative process.
How can I see the certificate chain a website sends with OpenSSL?
You can inspect the certificates presented by a server with:
Replace shop.example.com with the target hostname. The -servername option supplies Server Name Indication (SNI), which helps a shared server select the intended website. The displayed list is what the server sends, not proof that a valid trust path exists. It normally omits the root, and this command should not be treated as a complete browser-equivalent validation test.
Should I delete a trusted root certificate if I do not recognize its name?
Not solely because the name is unfamiliar. Root CA names often differ from the websites and services that rely on them, and removing a root can break legitimate connections. Check whether it belongs to the operating system, browser, or your organizationβs managed configuration. On work or school devices, ask IT before changing the trust store.
How can I turn certificate chain knowledge into practical cybersecurity skills?
Practice distinguishing failures such as missing intermediates, hostname mismatches, expired certificates, and untrusted issuers. Explain which validation check failed before deciding on a fix. If you want structured practice beyond the article, explore Pluralsight for guided security labs, feedback, assessments, and certification preparation resources to help identify gaps and focus your next study session.
Affiliate link β I may earn a commission at no additional cost to you.
Jay's Recommendation
Turn understanding into hands-on confidence
You've built the foundations. Pluralsight adds opportunities to practice in guided security labs, get feedback, and check your knowledge with assessments and practice exams, so your next step is more than another video.
π Put concepts to workBuild practical skills with guided security labs and feedback.
π―Find your weak spotsUse assessments to focus on what needs more work.
πCheck your understandingUse practice exams to guide your certification preparation.
π§Give study sessions directionOrganize further learning with curated paths and progress tracking.