Re:Let's Encrypt: Enabling Acme CAA Account and Method Binding
by LinuxBender on Saturday December 17, 2022 @09:16AM
(#34027908)
Thankyou for creating this RFC. I can see benefits specifically around reducing sub-domain hijacking if people use this correctly. I just noticed they have working examples in the appendix. I am adding these to some of my domains now.
Re:Let's Encrypt: Enabling Acme CAA Account and Method Binding
by hlandau on Saturday December 17, 2022 @10:57AM
(#34028840)
The way this works is, the part of a CAA record in quotes can have parameters added to it. These have been little used until now so many may not be familiar with this syntax but it's always been in the CAA spec. The examples at the end of the linked RFC are accurate.
Re:Let's Encrypt: Enabling Acme CAA Account and Method Binding
by akerl_ on Saturday December 17, 2022 @11:04AM
(#34028927)
Ah wow, I did not catch that the parameters go inside the quoted issue string. My brain misread the examples as `issue "example.org"; validationmethods=dns-01`.
To Let's Encrypt, thanks for finally making this happen.
===
# dig CAA hass.a-rwx.org +short
0 iodef "mailto:[email protected]"
0 issue "letsencrypt.org"
0 issuewild ";"
===
Can I add an additional TXT record for "validationmethods=dns-01", or do I need to append it to the "issue" record?
For example:
;; Must match account URI
example.com. IN CAA 0 issue "letsencrypt.org; accounturi=https://some/acme/account/uri"
;; Must match account URI -OR- use dns-01 validation method
example.com. IN CAA 0 issue "letsencrypt.org; accounturi=https://some/acme/account/uri"
example.com. IN CAA 0 issue "letsencrypt.org; validationmethods=dns-01"
;; Must match account URI -AND- use dns-01 validation method
example.com. IN CAA 0 issue "letsencrypt.org; validationmethods=dns-01; accounturi=https://some/acme/account/uri"
I also just put up an article with some more explanation: https://www.devever.net/~hl/acme-caa-live
Thanks for the clarification!