this post was submitted on 05 Dec 2026
13 points (84.2% liked)

Sysadmin

15929 readers
19 users here now

A community dedicated to the profession of IT Systems Administration

No generic Lemmy issue posts please! Posts about Lemmy belong in one of these communities:
!lemmy@lemmy.ml
!lemmyworld@lemmy.world
!lemmy_support@lemmy.ml
!support@lemmy.world

founded 3 years ago
MODERATORS
 

Quick one for anyone managing a handful of domains. Most small sites we look at have no CAA record at all, which means any publicly trusted CA may issue a certificate for them.

A minimal setup if you only use Let's Encrypt:

example.com.  CAA 0 issue "letsencrypt.org"
example.com.  CAA 0 issuewild ";"
example.com.  CAA 0 iodef "mailto:security@example.com"
  • issue lists the CAs allowed to issue normal certificates.
  • issuewild ";" forbids wildcard certificates entirely (drop it if you use them).
  • iodef tells a CA where to report a refused request (support varies).

Things that bite people:

  • CAA is inherited down the tree: a record on example.com applies to www and api unless they have their own.
  • If you use a CDN or managed TLS (Cloudflare, AWS, etc.), add their CAs too, or renewals will fail silently until expiry.
  • Check with dig CAA example.com and test a renewal before relying on it.

Longer write-up with provider-specific notes: https://dev.to/attackscout/caa-records-stop-any-ca-from-issuing-certificates-for-your-domain-kjk

Happy to answer questions about edge cases.

top 2 comments
sorted by: hot top controversial new old
[โ€“] cron@feddit.org 7 points 23 hours ago

Just an addition: This prevents a compromised CA that is not on your list from issuing certificates for your domains.

That's not a common issue, but the cost for adding a CAA is low, so I'd recommend it anyways.

[โ€“] xilophor@lemmy.world 4 points 22 hours ago* (last edited 22 hours ago)

Interesting record, though some of the limitations listed in the link gives some concerns to its effectiveness:

  • CAA is checked at issuance. It does not revoke or hide certificates that already exist.

  • It only constrains CAs that follow the rules; it does not protect against a CA that is itself compromised or ignores the check.