<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pki | Toolbox Guides &amp; Articles</title><link>https://blog.toolbox.vishnudigital.com/tags/pki/</link><atom:link href="https://blog.toolbox.vishnudigital.com/tags/pki/index.xml" rel="self" type="application/rss+xml"/><description>Pki</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Sun, 06 Sep 2026 00:00:00 +0000</lastBuildDate><image><url>https://blog.toolbox.vishnudigital.com/media/icon.svg</url><title>Pki</title><link>https://blog.toolbox.vishnudigital.com/tags/pki/</link></image><item><title>X.509 Certificate Anatomy: SAN, Chain Validation, and the 200-Day Lifetime Era</title><link>https://blog.toolbox.vishnudigital.com/x509-ssl-certificate-anatomy-validation-guide/</link><pubDate>Sun, 06 Sep 2026 00:00:00 +0000</pubDate><guid>https://blog.toolbox.vishnudigital.com/x509-ssl-certificate-anatomy-validation-guide/</guid><description>
&lt;aside class="comic-bubble not-prose my-8 p-6 rounded-2xl border-2 border-[#2c221a] dark:border-[#ded4c3] bg-[#fdfbf7] dark:bg-[#28201a] shadow-[4px_4px_0px_#2c221a] dark:shadow-[4px_4px_0px_#14100d]" aria-label="AEO Quick Answer &amp; Specification Dossier"&gt;
&lt;div class="flex items-center justify-between gap-3 mb-3"&gt;
&lt;div class="flex items-center gap-2"&gt;
&lt;span class="comic-stamp bg-amber-600 text-white px-2.5 py-0.5 rounded text-[11px] font-black tracking-wider"&gt;QUICK ANSWER&lt;/span&gt;
&lt;span class="text-xs font-mono font-bold text-[#2c221a]/70 dark:text-[#ede6db]/70"&gt;RFC SPECIFICATION SUMMARY&lt;/span&gt;
&lt;/div&gt;
&lt;span class="hidden sm:inline-flex items-center gap-1.5 text-[11px] font-bold font-mono px-2 py-0.5 rounded border border-emerald-700 dark:border-emerald-500 bg-emerald-100 dark:bg-emerald-950 text-emerald-900 dark:text-emerald-200"&gt;
&lt;span class="inline-block w-1.5 h-1.5 rounded-full bg-emerald-600 dark:bg-emerald-400"&gt;&lt;/span&gt; 100% Client-Side
&lt;/span&gt;
&lt;/div&gt;
&lt;p class="text-base sm:text-lg text-[#2c221a] dark:text-[#ede6db] leading-relaxed font-semibold mb-4"&gt;
An X.509 certificate is a DER-encoded ASN.1 structure with three top-level parts: tbsCertificate (the signed content), signatureAlgorithm, and signatureValue. The tbsCertificate carries version, serial number, issuer and subject distinguished names, the validity window, the SubjectPublicKeyInfo, and v3 extensions. Hostname validation uses only the Subject Alternative Name extension, never the Common Name. A client validates by building a path from the leaf through intermediates to a trusted root, checking each signature, each validity window, basicConstraints, key usage, and revocation status.
&lt;/p&gt;
&lt;div class="flex flex-wrap gap-2 text-xs font-mono font-bold mt-4 pt-3 border-t border-[#ded4c3] dark:border-[#3b332c]"&gt;
&lt;span class="px-2.5 py-1 rounded bg-[#ede6db] dark:bg-[#382e26] text-[#2c221a] dark:text-[#ede6db] border border-[#ded4c3] dark:border-[#4a3e35]"&gt;Difficulty: Advanced&lt;/span&gt;
&lt;span class="px-2.5 py-1 rounded bg-[#ede6db] dark:bg-[#382e26] text-[#2c221a] dark:text-[#ede6db] border border-[#ded4c3] dark:border-[#4a3e35]"&gt;Time: 9 Mins&lt;/span&gt;
&lt;span class="px-2.5 py-1 rounded bg-[#ede6db] dark:bg-[#382e26] text-[#2c221a] dark:text-[#ede6db] border border-[#ded4c3] dark:border-[#4a3e35]"&gt;Privacy: 100% Client-Side RAM&lt;/span&gt;
&lt;span class="px-2.5 py-1 rounded bg-[#ede6db] dark:bg-[#382e26] text-[#2c221a] dark:text-[#ede6db] border border-[#ded4c3] dark:border-[#4a3e35]"&gt;Standard: RFC 5280 / CA-Browser Forum BR&lt;/span&gt;
&lt;/div&gt;
&lt;/aside&gt;
&lt;div class="tool-embed-container comic-panel not-prose my-10 rounded-2xl border-2 border-[#2c221a] dark:border-[#ded4c3] bg-[#fdfbf7] dark:bg-[#28201a] shadow-[4px_4px_0px_#2c221a] dark:shadow-[4px_4px_0px_#14100d] overflow-hidden" id="embed-cert-inspector-1788851897574834000-box" role="region" aria-label="Interactive Tool Workbench"&gt;
&lt;div class="comic-halftone p-4 sm:p-5 border-b-2 border-[#2c221a] dark:border-[#ded4c3] bg-[#f5efe4] dark:bg-[#211a14] flex flex-wrap items-center justify-between gap-3"&gt;
&lt;div class="flex items-center gap-2.5 flex-wrap min-w-0"&gt;
&lt;span class="comic-stamp bg-amber-600 text-white px-2.5 py-0.5 rounded text-[10px] font-black tracking-wider uppercase"&gt;
Interactive Workbench
&lt;/span&gt;
&lt;span class="inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full text-[10px] font-mono font-bold bg-emerald-100 text-emerald-800 dark:bg-emerald-950/60 dark:text-emerald-300 border border-emerald-300 dark:border-emerald-800 shrink-0"&gt;
&lt;span class="w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse"&gt;&lt;/span&gt;
&lt;span&gt;LIVE&lt;/span&gt;
&lt;/span&gt;
&lt;h3 class="text-base sm:text-lg font-extrabold text-[#2c221a] dark:text-[#ede6db] tracking-tight truncate m-0"&gt;
X.509 Certificate Anatomy: SAN, Chain Validation, and the 200-Day Lifetime Era
&lt;/h3&gt;
&lt;/div&gt;
&lt;div class="flex items-center gap-2 shrink-0"&gt;
&lt;a href="https://toolbox.vishnudigital.com/cert-inspector" target="_blank" rel="noopener noreferrer" class="comic-btn-secondary !py-1 !px-3 !text-xs font-mono font-bold flex items-center gap-1.5 shadow-[2px_2px_0px_#2c221a] dark:shadow-[2px_2px_0px_#14100d] hover:translate-x-[-1px] hover:translate-y-[-1px] transition-all" title="Open full utility in new window"&gt;
&lt;span&gt;Open Fullscreen ↗&lt;/span&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="relative w-full overflow-hidden bg-[#fdfbf7] dark:bg-[#1a1410]" style="min-height: 420px;"&gt;
&lt;div id="embed-cert-inspector-1788851897574834000-skeleton" class="absolute inset-0 flex flex-col items-center justify-center p-8 bg-[#fdfbf7] dark:bg-[#1e1814] z-10 transition-opacity duration-300"&gt;
&lt;div class="flex items-center gap-3 p-4 rounded-xl border-2 border-[#2c221a] dark:border-[#ded4c3] bg-[#f5efe4] dark:bg-[#28201a] shadow-[2px_2px_0px_#2c221a] dark:shadow-[2px_2px_0px_#14100d] max-w-sm w-full"&gt;
&lt;div class="w-8 h-8 rounded-lg bg-amber-500/20 flex items-center justify-center shrink-0"&gt;
&lt;svg class="w-5 h-5 text-amber-600 animate-spin" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"&gt;
&lt;circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor"&gt;&lt;/circle&gt;
&lt;path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"&gt;&lt;/path&gt;
&lt;/svg&gt;
&lt;/div&gt;
&lt;div class="min-w-0 flex-1"&gt;
&lt;div class="text-xs font-bold text-[#2c221a] dark:text-[#ede6db] truncate"&gt;Initializing Workbench...&lt;/div&gt;
&lt;div class="text-[10px] font-mono text-[#2c221a]/60 dark:text-[#ede6db]/60"&gt;100% Client-Side RAM Sandbox&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;iframe
id="embed-cert-inspector-1788851897574834000-frame"
data-base-src="https://toolbox.vishnudigital.com/cert-inspector?embed=true"
src="about:blank"
title="X.509 Certificate Anatomy: SAN, Chain Validation, and the 200-Day Lifetime Era – Free Online Utility"
class="w-full border-0 block opacity-0 transition-opacity duration-300"
style="height: 640px; min-height: 420px;"
loading="lazy"
allow="clipboard-read; clipboard-write; web-share"
sandbox="allow-scripts allow-same-origin allow-forms allow-popups allow-modals allow-downloads"&gt;
&lt;/iframe&gt;
&lt;/div&gt;
&lt;div class="p-3 sm:px-5 border-t border-[#ded4c3] dark:border-[#3b332c] bg-[#f5efe4]/80 dark:bg-[#211a14]/80 flex flex-wrap items-center justify-between gap-3 text-xs font-mono"&gt;
&lt;div class="flex items-center gap-2 text-[#2c221a]/70 dark:text-[#ede6db]/70"&gt;
&lt;span class="text-emerald-600 dark:text-emerald-400 font-bold"&gt;🔒 Private Execution:&lt;/span&gt;
&lt;span class="hidden sm:inline"&gt;Computations run in local browser memory. Zero server uploads.&lt;/span&gt;
&lt;span class="sm:hidden"&gt;Zero server uploads.&lt;/span&gt;
&lt;/div&gt;
&lt;div class="flex items-center gap-1.5 shrink-0"&gt;
&lt;a href="https://toolbox.vishnudigital.com/cert-inspector" target="_blank" rel="noopener noreferrer" class="font-bold text-amber-700 dark:text-amber-400 hover:text-amber-800 dark:hover:text-amber-300 hover:underline"&gt;
Launch Fullscreen →
&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
(function() {
const containerId = "embed-cert-inspector-1788851897574834000";
const frame = document.getElementById(containerId + "-frame");
const skeleton = document.getElementById(containerId + "-skeleton");
if (!frame) return;
function getCurrentTheme() {
return document.documentElement.classList.contains("dark") ? "dark" : "light";
}
function resolveSrc() {
const baseSrc = frame.getAttribute("data-base-src");
if (!baseSrc) return "";
const theme = getCurrentTheme();
return baseSrc + (baseSrc.includes("?") ? "&amp;" : "?") + "theme=" + theme;
}
function loadIframe() {
if (frame.getAttribute("src") !== "about:blank") return;
const fullSrc = resolveSrc();
frame.src = fullSrc;
frame.onload = function() {
if (skeleton) {
skeleton.classList.add("opacity-0");
setTimeout(function() { skeleton.style.display = "none"; }, 300);
}
frame.classList.remove("opacity-0");
frame.classList.add("opacity-100");
syncThemeToIframe();
};
}
function syncThemeToIframe() {
if (!frame || !frame.contentWindow) return;
try {
frame.contentWindow.postMessage({
type: "TOOLBOX_THEME_CHANGE",
theme: getCurrentTheme()
}, "*");
} catch(e) {}
}
if ("IntersectionObserver" in window) {
const observer = new IntersectionObserver(function(entries) {
entries.forEach(function(entry) {
if (entry.isIntersecting) {
loadIframe();
observer.disconnect();
}
});
}, { rootMargin: "250px" });
observer.observe(frame);
} else {
loadIframe();
}
window.addEventListener("message", function(event) {
if (
event.data &amp;&amp;
typeof event.data === "object" &amp;&amp;
event.data.type === "TOOLBOX_RESIZE" &amp;&amp;
event.data.height
) {
if (event.source === frame.contentWindow) {
const measured = Math.max(event.data.height + 20, 420);
frame.style.height = measured + "px";
}
}
});
const themeObserver = new MutationObserver(function(mutations) {
mutations.forEach(function(m) {
if (m.attributeName === "class") {
syncThemeToIframe();
}
});
});
themeObserver.observe(document.documentElement, { attributes: true });
document.querySelectorAll(".theme-toggle").forEach(function(btn) {
btn.addEventListener("click", function() {
setTimeout(syncThemeToIframe, 50);
});
});
})();
&lt;/script&gt;
&lt;div class="tool-hero-cta not-prose my-10 p-6 sm:p-7 rounded-2xl border-2 border-[#2c221a] dark:border-[#ded4c3] bg-[#fdfbf7] dark:bg-[#28201a] shadow-[4px_4px_0px_#2c221a] dark:shadow-[4px_4px_0px_#14100d] flex flex-col md:flex-row items-start md:items-center justify-between gap-6 transition-all" role="complementary" aria-label="Interactive Companion Tool"&gt;
&lt;div class="space-y-2 max-w-xl"&gt;
&lt;div class="flex items-center gap-2"&gt;
&lt;span class="comic-stamp bg-amber-600 text-white px-2.5 py-0.5 rounded text-[10px] font-black tracking-wider uppercase"&gt;
Free In-Browser Tool
&lt;/span&gt;
&lt;span class="text-xs font-mono font-bold text-stone-500 dark:text-stone-400"&gt;TOOLBOX UTILITY&lt;/span&gt;
&lt;/div&gt;
&lt;h3 class="text-xl font-extrabold text-[#2c221a] dark:text-[#ede6db] tracking-tight m-0"&gt;
SSL / X.509 Certificate Inspector
&lt;/h3&gt;
&lt;p class="text-sm text-stone-600 dark:text-stone-300 leading-relaxed font-medium m-0"&gt;
Paste a PEM certificate or load a DER file to read every field and extension locally. Internal hostnames in SAN entries stay on your machine.
&lt;/p&gt;
&lt;/div&gt;
&lt;div class="shrink-0 w-full md:w-auto"&gt;
&lt;a href="https://toolbox.vishnudigital.com/cert-inspector" class="comic-btn-primary w-full md:w-auto text-center" &gt;
Open Certificate Inspector →
&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2 id="what-a-certificate-actually-asserts"&gt;What a Certificate Actually Asserts&lt;/h2&gt;
&lt;p&gt;A TLS certificate makes one claim: &lt;em&gt;this public key belongs to these names, and a certificate authority is willing to sign that statement until this date.&lt;/em&gt; Everything else — the fields, the extensions, the chain — exists to make that claim verifiable by a client that has never seen your server before.&lt;/p&gt;
&lt;p&gt;X.509 is defined by &lt;strong&gt;RFC 5280&lt;/strong&gt; for the internet PKI profile, with additional rules imposed by the &lt;strong&gt;CA/Browser Forum Baseline Requirements&lt;/strong&gt;, which browsers enforce. When the RFC and the Baseline Requirements disagree, browsers follow the Baseline Requirements — which is precisely why Common Name matching is dead in practice while still present in the RFC&amp;rsquo;s data model.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What you get from this guide:&lt;/strong&gt; the ability to read a certificate dump line by line, diagnose the four errors that account for most TLS incidents, and plan renewal automation against the shortening lifetime schedule.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="the-three-part-structure"&gt;The Three-Part Structure&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Certificate ::= SEQUENCE {
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; tbsCertificate TBSCertificate, -- everything that is signed
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; signatureAlgorithm AlgorithmIdentifier,
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; signatureValue BIT STRING -- the CA&amp;#39;s signature over tbsCertificate
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The CA signs the DER encoding of &lt;code&gt;tbsCertificate&lt;/code&gt;. Change one byte of a name, a date, or an extension and the signature no longer verifies — which is why certificates cannot be edited, only reissued.&lt;/p&gt;
&lt;h3 id="inside-tbscertificate"&gt;Inside &lt;code&gt;tbsCertificate&lt;/code&gt;&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Field&lt;/th&gt;
&lt;th&gt;Meaning&lt;/th&gt;
&lt;th&gt;What to check&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;version&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;1, 2, or 3 (&lt;code&gt;v3&lt;/code&gt; = value &lt;code&gt;2&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Anything but v3 is obsolete&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;serialNumber&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;CA-unique identifier&lt;/td&gt;
&lt;td&gt;Must be ≥ 64 bits of CSPRNG entropy per Baseline Requirements&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;signature&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Algorithm the CA used&lt;/td&gt;
&lt;td&gt;&lt;code&gt;sha256WithRSAEncryption&lt;/code&gt; or &lt;code&gt;ecdsa-with-SHA256&lt;/code&gt;; SHA-1 signatures are rejected&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;issuer&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Distinguished Name of the CA&lt;/td&gt;
&lt;td&gt;Must match the intermediate&amp;rsquo;s &lt;code&gt;subject&lt;/code&gt; exactly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;validity&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;notBefore&lt;/code&gt; / &lt;code&gt;notAfter&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Times are UTC; &lt;code&gt;UTCTime&lt;/code&gt; before 2050, &lt;code&gt;GeneralizedTime&lt;/code&gt; after&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;subject&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Distinguished Name of the holder&lt;/td&gt;
&lt;td&gt;Informational for TLS host matching&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;subjectPublicKeyInfo&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Algorithm + public key&lt;/td&gt;
&lt;td&gt;Same SPKI structure as a
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;extensions&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;v3 extension list&lt;/td&gt;
&lt;td&gt;Where all the operational meaning lives&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;hr&gt;
&lt;h2 id="the-v3-extensions-that-decide-everything"&gt;The v3 Extensions That Decide Everything&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Extension&lt;/th&gt;
&lt;th&gt;Critical?&lt;/th&gt;
&lt;th&gt;Role&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;subjectAltName (SAN)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;The&lt;/strong&gt; list of names the certificate covers: &lt;code&gt;DNS&lt;/code&gt;, &lt;code&gt;IP&lt;/code&gt;, &lt;code&gt;email&lt;/code&gt;, &lt;code&gt;URI&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;basicConstraints&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;&lt;code&gt;CA:TRUE&lt;/code&gt; marks a CA certificate; &lt;code&gt;pathLenConstraint&lt;/code&gt; caps chain depth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;keyUsage&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;&lt;code&gt;digitalSignature&lt;/code&gt;, &lt;code&gt;keyEncipherment&lt;/code&gt;, &lt;code&gt;keyCertSign&lt;/code&gt; …&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;extendedKeyUsage (EKU)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Often&lt;/td&gt;
&lt;td&gt;&lt;code&gt;serverAuth&lt;/code&gt;, &lt;code&gt;clientAuth&lt;/code&gt;, &lt;code&gt;codeSigning&lt;/code&gt; — a &lt;code&gt;serverAuth&lt;/code&gt;-only cert cannot authenticate a client&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;authorityInfoAccess (AIA)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;URLs for the issuer certificate and the OCSP responder&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;cRLDistributionPoints&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Where to fetch the CRL&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;subjectKeyIdentifier / authorityKeyIdentifier&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Hints that let a verifier pick the right issuer quickly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;signedCertificateTimestamp (SCT)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Certificate Transparency proofs; Chrome requires them for public trust&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id="common-name-is-not-identity"&gt;Common Name is not identity&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;CN=example.com&lt;/code&gt; inside the subject DN is a legacy artefact. RFC 6125 deprecated CN-based host matching, and the Baseline Requirements require every covered DNS name to be present in SAN. Modern browsers validate against SAN entries &lt;strong&gt;only&lt;/strong&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;X509v3 Subject Alternative Name:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DNS:example.com, DNS:www.example.com, DNS:*.api.example.com
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Wildcard rules that surprise people:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;*.example.com&lt;/code&gt; matches &lt;code&gt;api.example.com&lt;/code&gt; but &lt;strong&gt;not&lt;/strong&gt; &lt;code&gt;example.com&lt;/code&gt; itself, and &lt;strong&gt;not&lt;/strong&gt; &lt;code&gt;a.b.example.com&lt;/code&gt;. One label, one level.&lt;/li&gt;
&lt;li&gt;The wildcard must be the &lt;strong&gt;leftmost&lt;/strong&gt; label. &lt;code&gt;api.*.example.com&lt;/code&gt; is invalid.&lt;/li&gt;
&lt;li&gt;A certificate for both apex and subdomains needs both &lt;code&gt;example.com&lt;/code&gt; and &lt;code&gt;*.example.com&lt;/code&gt; in SAN.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;div class="in-article-ad-wrapper not-prose my-8 p-3 sm:p-4 rounded-xl border-2 border-stone-900/40 dark:border-stone-400/40 bg-[#fdfbf7] dark:bg-[#211c18] shadow-[3px_3px_0px_rgba(41,30,20,0.3)] dark:shadow-[3px_3px_0px_rgba(242,237,228,0.2)] overflow-hidden"&gt;
&lt;div class="flex items-center justify-between mb-2 border-b border-stone-200 dark:border-stone-800 pb-1"&gt;
&lt;span class="text-[10px] font-mono font-bold uppercase tracking-widest text-stone-500 dark:text-stone-400"&gt;Advertisement&lt;/span&gt;
&lt;span class="text-[9px] font-mono uppercase px-1.5 py-0.5 rounded bg-amber-100 dark:bg-amber-950 text-amber-800 dark:text-amber-300"&gt;Sponsored&lt;/span&gt;
&lt;/div&gt;
&lt;div class="w-full flex justify-center items-center overflow-hidden min-h-[250px]"&gt;
&lt;ins class="adsbygoogle"
style="display:block; text-align:center; min-height:250px; width:100%;"
data-ad-layout="in-article"
data-ad-format="fluid"
data-ad-client="ca-pub-5474548764059850"
&gt;&lt;/ins&gt;
&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;hr&gt;
&lt;h2 id="how-chain-validation-works"&gt;How Chain Validation Works&lt;/h2&gt;
&lt;p&gt;A client performs &lt;strong&gt;path construction&lt;/strong&gt; followed by &lt;strong&gt;path validation&lt;/strong&gt; (RFC 5280 § 6):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Start at the leaf.&lt;/strong&gt; Read its &lt;code&gt;issuer&lt;/code&gt; DN.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Find a candidate issuer&lt;/strong&gt; whose &lt;code&gt;subject&lt;/code&gt; DN matches, from the certificates the server sent or from the local trust store; &lt;code&gt;authorityKeyIdentifier&lt;/code&gt; disambiguates when several match.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Verify the signature&lt;/strong&gt; on the child using the candidate&amp;rsquo;s public key.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Check the candidate is allowed to be a CA&lt;/strong&gt;: &lt;code&gt;basicConstraints&lt;/code&gt; must say &lt;code&gt;CA:TRUE&lt;/code&gt;, &lt;code&gt;keyUsage&lt;/code&gt; must include &lt;code&gt;keyCertSign&lt;/code&gt;, and &lt;code&gt;pathLenConstraint&lt;/code&gt; must not be exceeded.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Repeat&lt;/strong&gt; until reaching a certificate present in the trust store.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Then validate the leaf&amp;rsquo;s own properties&lt;/strong&gt;: current time inside the validity window, hostname against SAN, EKU includes &lt;code&gt;serverAuth&lt;/code&gt;, and revocation status.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[ leaf: example.com ] --issued by--&amp;gt; [ intermediate CA ] --issued by--&amp;gt; [ root CA ]
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; sent by server sent by server in OS/browser trust store
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;The server&amp;rsquo;s job:&lt;/strong&gt; send the leaf and every intermediate, leaf first. Do not send the root. A client that already trusts the root ignores your copy; a client that does not trust it will not start trusting it because you attached it.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Show the chain a server actually presents&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;openssl s_client -connect example.com:443 -servername example.com -showcerts &amp;lt;/dev/null
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Verify a local chain offline&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;openssl verify -untrusted intermediate.pem leaf.pem
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;hr&gt;
&lt;h2 id="revocation-ocsp-crl-and-what-browsers-really-do"&gt;Revocation: OCSP, CRL, and What Browsers Really Do&lt;/h2&gt;
&lt;p&gt;Revocation is the weakest link in web PKI. Three mechanisms coexist:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Mechanism&lt;/th&gt;
&lt;th&gt;How it works&lt;/th&gt;
&lt;th&gt;Reality&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CRL&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Client downloads a signed list of revoked serials&lt;/td&gt;
&lt;td&gt;Large files; poor latency; browsers largely stopped live checks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;OCSP&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Client queries the responder for one serial&lt;/td&gt;
&lt;td&gt;Privacy leak (the CA learns browsing) and a soft-fail on timeout&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;OCSP stapling&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The &lt;strong&gt;server&lt;/strong&gt; fetches a signed OCSP response and attaches it in the handshake&lt;/td&gt;
&lt;td&gt;The deployable answer; enable it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Pushed lists&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Browser ships aggregated revocation data it compiled&lt;/td&gt;
&lt;td&gt;What major browsers increasingly rely on in practice&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The structural weakness is &lt;strong&gt;soft-fail&lt;/strong&gt;: if a client cannot reach the responder, it proceeds rather than break the site — so an attacker who can block the OCSP query can also suppress a revocation. This is a large part of why the industry chose to shrink certificate lifetimes instead: a 47-day certificate limits the damage window without depending on revocation working at all.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="the-shrinking-lifetime-schedule"&gt;The Shrinking Lifetime Schedule&lt;/h2&gt;
&lt;p&gt;CA/Browser Forum ballot &lt;strong&gt;SC-081v3&lt;/strong&gt;, approved in April 2025, sets a phased reduction in the maximum validity of publicly trusted TLS certificates:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Effective date&lt;/th&gt;
&lt;th&gt;Maximum validity&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Before 15 March 2026&lt;/td&gt;
&lt;td&gt;398 days&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;15 March 2026&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;200 days&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;15 March 2027&lt;/td&gt;
&lt;td&gt;100 days&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;15 March 2029&lt;/td&gt;
&lt;td&gt;47 days&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Many CAs issue at &lt;strong&gt;199 days&lt;/strong&gt; to stay clear of the boundary. Domain validation data reuse periods shrink on a parallel schedule.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Operational consequences to plan for now:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Automate with ACME.&lt;/strong&gt; At 47 days, renewal must be a cron-grade process. Manual calendar reminders will fail.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Instrument expiry, don&amp;rsquo;t trust it.&lt;/strong&gt; Alert at 30 days and 7 days remaining, measured from the live certificate the server presents — not from your issuance records.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Audit the non-web endpoints.&lt;/strong&gt; Load balancers, mail gateways, API gateways, mutual-TLS clients, and appliances with hand-uploaded certificates are where 47-day renewal breaks first.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Keep intermediates fresh.&lt;/strong&gt; A stale pinned intermediate bundle survives a 398-day cadence and fails under a 47-day one.&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h2 id="the-four-errors-worth-recognising-instantly"&gt;The Four Errors Worth Recognising Instantly&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Symptom&lt;/th&gt;
&lt;th&gt;Root cause&lt;/th&gt;
&lt;th&gt;Fix&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;NET::ERR_CERT_COMMON_NAME_INVALID&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Hostname absent from SAN&lt;/td&gt;
&lt;td&gt;Reissue with the name in SAN; CN alone is ignored&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;unable to get local issuer certificate&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Intermediate not served&lt;/td&gt;
&lt;td&gt;Append the intermediate to the chain file, leaf first&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;NET::ERR_CERT_DATE_INVALID&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Expired, or server clock wrong&lt;/td&gt;
&lt;td&gt;Renew; also verify NTP on the server&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;NET::ERR_CERT_AUTHORITY_INVALID&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Self-signed or private CA not trusted&lt;/td&gt;
&lt;td&gt;Install the root in the client trust store, or use a public CA&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;A fast triage rule: if &lt;code&gt;openssl verify -untrusted&lt;/code&gt; succeeds locally but browsers fail, the certificate is fine and the &lt;strong&gt;server chain configuration&lt;/strong&gt; is wrong.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="step-by-step-auditing-a-certificate-with-toolbox"&gt;Step-by-Step: Auditing a Certificate with Toolbox&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Obtain the certificate&lt;/strong&gt;: export it from your CA dashboard, or capture it live with
&lt;code&gt;openssl s_client -connect example.com:443 -servername example.com &amp;lt;/dev/null | openssl x509&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Open the tool&lt;/strong&gt;: visit the
and paste the PEM block or load the DER file.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Read the SAN list first&lt;/strong&gt; — this is what browsers match. Confirm every hostname you serve is present, including the apex if you serve it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Check &lt;code&gt;notAfter&lt;/code&gt; against the current lifetime cap.&lt;/strong&gt; Under the 200-day regime, a certificate issued with a longer window is a red flag about the issuance path.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Confirm key and signature strength&lt;/strong&gt;: RSA ≥ 2048 bits or an approved curve, and a SHA-256-or-better signature algorithm.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Verify the chain separately&lt;/strong&gt;, since a single certificate cannot prove its own path: &lt;code&gt;openssl verify -untrusted intermediate.pem leaf.pem&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Outcome:&lt;/strong&gt; you can tell within a minute whether an incident is a naming problem, a chain problem, an expiry problem, or a trust-store problem — and you inspect internal hostnames without publishing them to a third-party service.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Related guides:&lt;/strong&gt;
·
·
&lt;/p&gt;
&lt;section class="faqs-container not-prose my-12 border-t-2 border-stone-200 dark:border-stone-800 pt-8" aria-label="Frequently Asked Questions"&gt;
&lt;div class="flex items-center gap-2 mb-6"&gt;
&lt;span class="comic-stamp bg-amber-600 text-white px-2 py-0.5 rounded text-[10px] font-black tracking-wider"&gt;FAQ&lt;/span&gt;
&lt;h2 class="text-2xl font-extrabold text-[#2c221a] dark:text-[#ede6db] tracking-tight m-0"&gt;
Frequently Asked Questions
&lt;/h2&gt;
&lt;/div&gt;
&lt;details name="faq" class="group border-2 border-[#2c221a] dark:border-[#ded4c3] rounded-xl p-4 bg-[#fdfbf7] dark:bg-[#28201a] shadow-[3px_3px_0px_#2c221a] dark:shadow-[3px_3px_0px_#14100d] mb-3 transition-all"&gt;
&lt;summary class="flex items-center justify-between cursor-pointer font-bold text-[#2c221a] dark:text-[#ede6db] select-none text-base"&gt;
&lt;span&gt;Why do browsers ignore the Common Name in a certificate?&lt;/span&gt;
&lt;span class="text-xs font-mono font-bold transition-transform duration-200 group-open:rotate-180 shrink-0 ml-2"&gt;▼&lt;/span&gt;
&lt;/summary&gt;
&lt;p class="mt-3 text-sm text-stone-600 dark:text-stone-300 leading-relaxed font-medium mb-0"&gt;
RFC 6125 deprecated Common Name matching for host identity, and the CA/Browser Forum Baseline Requirements require every covered DNS name to appear in the Subject Alternative Name extension. Chrome, Firefox, and Safari match hostnames against SAN entries only, so a certificate carrying the hostname only in CN fails with a name mismatch.
&lt;/p&gt;
&lt;/details&gt;
&lt;details name="faq" class="group border-2 border-[#2c221a] dark:border-[#ded4c3] rounded-xl p-4 bg-[#fdfbf7] dark:bg-[#28201a] shadow-[3px_3px_0px_#2c221a] dark:shadow-[3px_3px_0px_#14100d] mb-3 transition-all"&gt;
&lt;summary class="flex items-center justify-between cursor-pointer font-bold text-[#2c221a] dark:text-[#ede6db] select-none text-base"&gt;
&lt;span&gt;What is the difference between a certificate chain and a certificate bundle?&lt;/span&gt;
&lt;span class="text-xs font-mono font-bold transition-transform duration-200 group-open:rotate-180 shrink-0 ml-2"&gt;▼&lt;/span&gt;
&lt;/summary&gt;
&lt;p class="mt-3 text-sm text-stone-600 dark:text-stone-300 leading-relaxed font-medium mb-0"&gt;
A chain is the ordered path from the leaf through intermediates to a root the client already trusts; a bundle is the file holding them. Servers must send the leaf plus all intermediates in order and should omit the root. Missing intermediates cause a site to work in one client and fail in another, because some clients can fetch the issuer via Authority Information Access while others cannot.
&lt;/p&gt;
&lt;/details&gt;
&lt;details name="faq" class="group border-2 border-[#2c221a] dark:border-[#ded4c3] rounded-xl p-4 bg-[#fdfbf7] dark:bg-[#28201a] shadow-[3px_3px_0px_#2c221a] dark:shadow-[3px_3px_0px_#14100d] mb-3 transition-all"&gt;
&lt;summary class="flex items-center justify-between cursor-pointer font-bold text-[#2c221a] dark:text-[#ede6db] select-none text-base"&gt;
&lt;span&gt;How long can a TLS certificate be valid in 2026?&lt;/span&gt;
&lt;span class="text-xs font-mono font-bold transition-transform duration-200 group-open:rotate-180 shrink-0 ml-2"&gt;▼&lt;/span&gt;
&lt;/summary&gt;
&lt;p class="mt-3 text-sm text-stone-600 dark:text-stone-300 leading-relaxed font-medium mb-0"&gt;
Under CA/Browser Forum ballot SC-081v3, the maximum validity for publicly trusted TLS certificates fell from 398 days to 200 days on 15 March 2026, drops to 100 days on 15 March 2027, and to 47 days on 15 March 2029. Many CAs issue at 199 days to avoid boundary rejections, which makes ACME automation mandatory rather than optional.
&lt;/p&gt;
&lt;/details&gt;
&lt;details name="faq" class="group border-2 border-[#2c221a] dark:border-[#ded4c3] rounded-xl p-4 bg-[#fdfbf7] dark:bg-[#28201a] shadow-[3px_3px_0px_#2c221a] dark:shadow-[3px_3px_0px_#14100d] mb-3 transition-all"&gt;
&lt;summary class="flex items-center justify-between cursor-pointer font-bold text-[#2c221a] dark:text-[#ede6db] select-none text-base"&gt;
&lt;span&gt;Can I inspect a certificate safely without uploading it anywhere?&lt;/span&gt;
&lt;span class="text-xs font-mono font-bold transition-transform duration-200 group-open:rotate-180 shrink-0 ml-2"&gt;▼&lt;/span&gt;
&lt;/summary&gt;
&lt;p class="mt-3 text-sm text-stone-600 dark:text-stone-300 leading-relaxed font-medium mb-0"&gt;
Yes. A server certificate holds only public data, but internal hostnames and staging names in SAN entries are useful reconnaissance for an attacker. A client-side inspector parses the ASN.1 DER structure in browser memory, so nothing is transmitted, logged, or retained elsewhere.
&lt;/p&gt;
&lt;/details&gt;
&lt;/section&gt;</description></item></channel></rss>