Back to cheatsheets
Web Security
CAA Record Configuration
Restrict which Certificate Authorities can issue certificates for your domain using CAA records.
What you'll learn
- CAA record examples
How to use these snippets
- Click the Copy button next to any snippet to copy it to your clipboard.
- Paste the code into your project, IDE, or terminal.
- Replace placeholder values (like
example.comoryour-secret) with your actual data. - Review the code comments for important security notes and caveats.
- Try the interactive related tool to see the concept in action.
Code Snippets
Copy-paste code snippets
1 ready-to-use snippets for caa record configuration. Click copy and paste into your project.
CAA record examples
# Allow only Let's Encrypt to issue certs
example.com. CAA 0 issue "letsencrypt.org"
# Allow Let's Encrypt + DigiCert
example.com. CAA 0 issue "letsencrypt.org"
example.com. CAA 0 issue "digicert.com"
# Allow wildcards only from Let's Encrypt
example.com. CAA 0 issuewild "letsencrypt.org"
# Send violation reports via email
example.com. CAA 0 iodef "mailto:security@example.com"
# Block all CAs (no certificates allowed)
example.com. CAA 0 issue ";"
Tool
Related ShieldX tool
Try this concept hands-on with the interactive tool.
100% Free · No signup · No cost
Generate something unguessable right now
148 bits of entropy, a crack-time estimate you can trust, and a clipboard that clears itself after 30 seconds.
Part of the Toolly ecosystem · secure.toolly.site