Certificate Fundamentals: From Cryptography Basics to TLS, PKI, Automatic Renewal, and Troubleshooting (11 Parts)

Certificate Fundamentals Part 1 Why Do We Need Certificates? The Three Things TLS Protects and Man-in-the-Middle Attacks

“A certificate warning appeared. Is it OK to click ‘Advanced’ and proceed?”
“I heard certificate validity is going down to 47 days. What should I prepare?”

Certificates are the foundation for verifying “is the other party genuine?” in many kinds of communication: websites (HTTPS), email, VPNs, Active Directory sign-in, wireless LANs, and cloud load balancers. Most of the time they look like something you simply renew when they expire, but if you don’t know how they work, the only thing you can do when an error appears is “ignore the warning and proceed.” And as validity periods get shorter, simply keeping up with renewals by hand is becoming difficult.

“Certificate Fundamentals” is an 11-part series that explains, in order, why certificates are needed, the basics of cryptography, what is inside a certificate, PKI and how trust works, TLS, issuance and automatic renewal, private PKI and the cloud, and how to isolate errors. This page is the entry point to the series: it summarizes what each part covers and the order to read them in.

Diagram showing certificates at the center of many scenarios, including the web (HTTPS), email, VPN, AD sign-in, wireless LAN, and cloud load balancers, with the same content in every case: "public key + CA signature"

What you will learn

  • Why certificates are needed: the three threats of eavesdropping, tampering, and impersonation, what TLS does and does not protect, and man-in-the-middle attacks that encryption alone cannot stop
  • Cryptography basics: the roles of symmetric keys, public keys, key exchange, hashes, and signatures, explained without math and tried out with openssl and PowerShell
  • What is inside a certificate and how trust works: how to read X.509, SAN, extensions, and file formats; certificate chains and trust stores; revocation (CRL and OCSP), CT, and CAA
  • Issuance and TLS: DV, OV, and EV, CSRs, domain validation, the move to 47-day validity, the TLS 1.3 handshake, SNI, ECH, and mTLS
  • Operations and automation: inventory to prevent expiration incidents, automatic renewal with ACME and ARI, and expiration monitoring
  • Private PKI, the cloud, and incident response: designing and protecting AD CS, ACM and Private CA, TLS termination at load balancers, vSphere, error isolation, and five design exercises

Specifications and figures are current as of September 2026.

Who this series is for

  • People who are in charge of renewing certificates but don’t really know how they work
  • People who want to isolate the cause of a certificate error instead of ignoring the warning
  • People who want to take inventory and automate in preparation for shorter validity periods (47 days)
  • People who design and operate certificates for private CAs (AD CS), AWS (ACM), or vSphere

Reading order

The 11 parts are divided into three groups. If you are new, read from Part 1 in order. Parts 1–3 are the foundation; Part 2 uses no math and focuses on which component protects what. Each article takes about 15 minutes to read (about 2 hours 40 minutes in total).

Building the foundation (Parts 1–4)

  1. Why Do We Need Certificates? The Three Things TLS Protects and Man-in-the-Middle Attacks

The three threats of eavesdropping, tampering, and impersonation, what TLS does and does not protect, man-in-the-middle attacks, the role of certificates in binding a public key to its owner, and how they differ from SSH host keys.

  1. Cryptography Basics: Symmetric Keys, Public Keys, Key Exchange, Hashes, and Signatures

Symmetric and authenticated encryption, public key encryption, key exchange (ECDHE) and forward secrecy, hashes and the problems with MD5 and SHA-1, MACs vs. signatures, key lengths, random numbers, and PQC.

  1. Trying It with openssl and PowerShell: Keys, Encryption, Hashes, Signatures, and Self-Signed Certificates

Creating keys with OpenSSL 3, encrypting and decrypting with a public key, hashes, signing and verifying, X25519 key exchange and HMAC, self-signed certificates, and the same operations on Windows.

  1. Inside an X.509 Certificate: SAN, Extensions, File Formats, and How to Read the Contents

The structure and basic fields of X.509, the subject (DN), SAN and its matching rules, the main extensions, how to tell PEM, DER, PKCS#12, and PKCS#7 apart and convert between them, and how to read the contents.

Trust, issuance, TLS, and operations (Parts 5–8)

  1. PKI and How Trust Works: Certificate Chains, Trust Stores, Revocation, CT, and CAA

The roles of CAs, RAs, and VAs, the chain of root, intermediate, and server certificates, trust stores, verification steps, CRL and OCSP, CT, CAA, and real cases of CAs that lost trust.

  1. Certificate Types and Issuance: DV/OV/EV, Wildcards, CSRs, Domain Validation, and the Shift to 47 Days

DV, OV, and EV, wildcards, choosing between public CAs, private CAs, and self-signed certificates, how to create a CSR, domain validation and MPIC, and the path to 47-day validity.

  1. How TLS Works: The TLS 1.3 Handshake, Cipher Suites, SNI/ECH, mTLS, and PQC

The history from SSL to TLS 1.3, the handshake, how to read cipher suites, SNI, ALPN, and ECH, session resumption and 0-RTT, mTLS, PQC hybrid key exchange, and investigating with s_client.

  1. Lifecycle and Automation: Expiration Incidents, Inventory, ACME, ARI, and Expiration Monitoring

Real expiration incidents, why manual renewal breaks down as validity periods shrink, inventory, the ACME flow and challenges, Let’s Encrypt, ARI, expiration monitoring, and key rotation.

Private PKI, incident response, and design (Parts 9–11)

  1. Private PKI and the Cloud: AD CS, ACM and Private CA, TLS Termination at Load Balancers, and vSphere

The two-tier AD CS design and where to publish CRLs and AIA, templates and autoenrollment, ESC1–ESC8 and Certifried, ACM and Private CA, TLS termination at load balancers, and the vSphere VMCA.

  1. Certificate Troubleshooting: How Errors Appear, Isolation Steps, and a Series Wrap-Up

How errors appear in Chrome, curl, and PowerShell, missing intermediate certificates, TLS version and cipher suite mismatches, the order of isolation, a mapping table, and a quick-reference sheet for the series.

  1. Certificate Design Exercises: LB Termination, 47-Day Certificates, Private CA, Partial Errors, and vSphere

Five exercises: termination at a load balancer, reviewing operations for 47-day certificates, providing certificates for internal systems, isolating “errors on only some devices,” and certificates for vCenter and ESXi.

Where to start for your problem

If you don’t have time to read everything, start with the part closest to your problem.

Your problem or questionStart with
Certificate errors appear, or only on some devicesPart 10 → Part 11 (Exercise 4)
You want to prevent expirations or prepare for the move to 47 daysPart 8 → Part 6
You need to obtain a certificate (CSR, types, wildcards)Part 6 → Part 4
You want to read a certificate’s contents (SAN, extensions) or file formatsPart 4 → Part 3
You are reviewing TLS settings or investigating connectionsPart 7 → Part 10
You are designing certificates for a private CA (AD CS), ACM, load balancers, or vSpherePart 9 → Part 11
You want to understand from the basics why you must not ignore warningsPart 1 → Part 2

Watch the video

The series is also explained in YouTube videos. Here is the video for Part 1.

All parts are in the Certificate Fundamentals playlist on YouTube.

Frequently asked questions

How much background knowledge do I need?

It is enough if you have opened a website over HTTPS. Cryptography is explained without math, and terms are explained where they first appear. In hands-on parts such as Part 3, you use openssl on Linux and Mac, and the built-in PowerShell and certutil on Windows (WSL is not assumed).

Which part should I start with?

If you are new, read from Part 1 in order; Parts 1–3 are the foundation. If you need to deal with an error urgently, you can start with Part 10; if you are thinking about automating renewals, Part 8; and if you need to make design decisions, Part 11.

How current is the information?

Specifications and figures are current as of September 2026. For example, the maximum validity of public certificates is scheduled to shrink to 200 days from March 2026, 100 days in March 2027, and 47 days in March 2029; as of September 2026 it is at the 200-day stage (Part 6). CA and browser policies can change, so the articles give dates where it matters.

Is this the same as the Japanese series?

Yes. This is the English edition of the Japanese series 【証明書入門】. The text and diagrams have been translated into English, and the example domain names use .com instead of .jp.

Copied title and URL