Lion Cipher Lab

Restrict certificate issuance with CAA and test the policy

Why it matters

Any of the many publicly trusted certificate authorities (CAs) can issue a certificate for your domain if someone passes its domain-validation check. Most attacks that result in a fraudulent certificate exploit the weakest CA or validation method available, not the one you actually use. CAA (Certification Authority Authorization, RFC 8659) lets a domain owner publish in DNS which CAs may issue for its names, and the CA/Browser Forum's Baseline Requirements oblige publicly trusted CAs to check CAA before issuing. It is cheap, it reduces the number of CAs that can be tricked into issuing for…

What you'll learn

Steps in this lab

  1. What CAA does, and the rules that decide it
  2. The sample policy
  3. Write the checker
  4. Run it for Let's Encrypt and for DigiCert
  5. The iodef trap

Open the full interactive lab →