Lion Cipher Lab

Monitor Certificate Transparency for certificates mis-issued for your own domain

Why it matters

The same Certificate Transparency logs that let you hunt an attacker's lookalike domains are watching your OWN domain too, and that second use is the one almost nobody switches on. Every publicly trusted certificate issued anywhere in the world is published to public append-only logs within seconds — including every certificate issued in YOUR name, whether or not you asked for it. That matters because the whole certificate system rested on every CA behaving, there are hundreds of them, and any one of them can technically issue a certificate for any domain. When that goes wrong — a rogue or…

What you'll learn

Steps in this lab

  1. The opposite job: watching your OWN domain, not the attacker's
  2. The five words you need: CAA, allowlist, SAN, precert/leaf, mis-issuance
  3. Set up: Python 3 and the inline CT fixture (fully offline)
  4. Dedup first: collapse the precertificate/leaf pair by serial number
  5. Check 1: the approved-CA allowlist (and parsing the issuer)
  6. Check 2: the CAA-policy comparison — and why it is NOT the allowlist
  7. Check 3: unexpected hostnames and wildcards (the shadow-IT net)
  8. Run it: the before/after precision you came for
  9. The honest limits: issuance is not abuse, and this is detective not preventive
  10. When, why and better: crt.sh, certstream, managed services — and the skill that lasts

Open the full interactive lab →