{"id":3138,"date":"2026-11-26T13:09:09","date_gmt":"2026-11-26T13:09:09","guid":{"rendered":"https:\/\/hostry.com\/blog\/?p=3138"},"modified":"2026-11-26T13:09:10","modified_gmt":"2026-11-26T13:09:10","slug":"caa-record-lets-encrypt-setup","status":"publish","type":"post","link":"https:\/\/hostry.com\/blog\/caa-record-lets-encrypt-setup\/","title":{"rendered":"CAA Record for Let&#8217;s Encrypt: Setup, Checks and cPanel AutoSSL"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/11\/caa-record-lets-encrypt-setup-cover.webp\" alt=\"CAA record for Let's Encrypt: a domain tree with one gate at the top that lets a single certificate authority's certificates through to every subdomain\" class=\"wp-image-3133\" srcset=\"https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/11\/caa-record-lets-encrypt-setup-cover.webp 1200w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/11\/caa-record-lets-encrypt-setup-cover-300x169.webp 300w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/11\/caa-record-lets-encrypt-setup-cover-1024x576.webp 1024w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/11\/caa-record-lets-encrypt-setup-cover-450x253.webp 450w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/11\/caa-record-lets-encrypt-setup-cover-768x432.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\" style=\"font-size:14px\"><em><strong>A CAA record for Let's Encrypt is one line at the zone apex: 0 issue \"letsencrypt.org\". Every name below the apex that has no CAA record of its own inherits it, and other certificate authorities must then refuse to issue. Check it on each nameserver: in a local test, one stale secondary returned the line in only 9 of 20 lookups.<\/strong><\/em><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You add the record wherever your zone lives; on <strong><a href=\"https:\/\/hostry.com\/products\/dns\/\">Hostry&#8217;s free DNS hosting<\/a><\/strong> it is a record of type CAA. The DNS outputs below come from a local test container. What a certificate authority accepts or refuses comes from RFC 8659, RFC 8657 and Let&#8217;s Encrypt&#8217;s documentation, because the local ACME test server does not check CAA. Put your own domain wherever the placeholder shop-north.test appears.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The basic route has three steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong><a href=\"#before-you-add\">Inspect what the zone has<\/a><\/strong> with one dig query per name.<\/li><li><strong><a href=\"#add\">Add the one issue line<\/a><\/strong> at the apex.<\/li><li><strong><a href=\"#verify\">Verify it on every nameserver<\/a><\/strong>, then retry issuance.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"before-you-add\">Before you add CAA: decide, then look at what the zone has<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">CAA is optional. It stops an authority you never use from issuing for your domain through an error or a fooled check. It does not help against someone who already controls your DNS or web server, since they can pass Let&#8217;s Encrypt&#8217;s own validation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add it when you can list every service that requests certificates for the domain: for most small sites, Let&#8217;s Encrypt alone. Wait if a CDN or an old panel might issue on its own, because a forgotten issuer stops renewing. With <strong><a href=\"https:\/\/hostry.com\/blog\/lets-encrypt-45-day-certificates\/\">Let&#8217;s Encrypt&#8217;s move to 64-day and then 45-day certificates<\/a><\/strong>, renewals come more often and a wrong record shows up sooner (our reading; the announcement does not mention CAA).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cPanel AutoSSL now uses only Let&#8217;s Encrypt, so old advice to add <code>sectigo.com<\/code> or <code>comodoca.com<\/code> for it is outdated (<strong><a href=\"#autossl\">dates below<\/a><\/strong>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:14px\"><strong>Step 1: check what the zone has now<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ask one of your authoritative nameservers directly, not your usual resolver. Find their names and addresses first:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dig +short NS shop-north.test\ndig +short A ns1.shop-north.test<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then query that address; <code>127.0.0.11<\/code> in the lab output stands for it. <span class=\"highlighted\">+norecurse<\/span> keeps a resolver cache out of the answer:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ dig +norecurse CAA blog.shop-north.test @127.0.0.11\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 18258\n;; flags: qr aa; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1\n;; AUTHORITY SECTION:\nshop-north.test.\t30\tIN\tSOA\tns1.shop-north.test. hostmaster.shop-north.test. 2026112601 300 60 86400 30<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>status: NOERROR<\/code> with <code>ANSWER: 0<\/code> means no CAA record at this name, which is normal. Repeat for the apex. NOTIMP, REFUSED, SERVFAIL or a timeout means your DNS host mishandles CAA, and Let&#8217;s Encrypt&#8217;s documentation lists SERVFAIL, NOTIMP and timeouts as reasons issuance fails even with no CAA record. Fix that first (see <strong><a href=\"#dns-host\">a DNS host that cannot answer CAA<\/a><\/strong>).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"record\">The CAA record Let&#8217;s Encrypt needs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s Encrypt identifies itself in CAA by the name <span class=\"highlighted\">letsencrypt.org<\/span>. The lookup starts at the exact name on the certificate and moves up one label at a time until it reaches a name that has CAA records; that set decides. One set at the apex therefore covers the whole tree, until a subdomain gets a set of its own.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>shop-north.test.  300  IN  CAA  0 issue \"letsencrypt.org\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A second authority gets a second <code>issue<\/code> line with its own issuer name; lines with the same tag add up. <span class=\"highlighted\">0 issue &#8220;;&#8221;<\/span> forbids issuance for everyone under <strong><a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc8659.html\" target=\"_blank\" rel=\"noopener\">RFC 8659, the current CAA standard<\/a><\/strong>, which replaced RFC 6844 in 2019.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A subdomain with its own set replaces the parent&#8217;s set for that branch; the two are never merged. In the lab zone, <code>pay<\/code> has its own record and <code>blog<\/code> has none. The output below is an illustration from a lab helper that walks up the labels in the RFC 8659 order; it is not published, and <strong><a href=\"#verify\">caa-allns.sh<\/a><\/strong> shows the same sets per nameserver.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ scripts\/caa-climb.sh blog.shop-north.test\n== blog.shop-north.test  status=NOERROR\n== shop-north.test  status=NOERROR\nshop-north.test.\t25\tIN\tCAA\t0 issue \"letsencrypt.org\"\nshop-north.test.\t25\tIN\tCAA\t0 issuewild \";\"\nshop-north.test.\t25\tIN\tCAA\t0 iodef \"mailto:pki-alerts@shop-north.test\"\n   -&gt; relevant RRset found at shop-north.test (stop climbing)\n\n$ scripts\/caa-climb.sh api.pay.shop-north.test\n== api.pay.shop-north.test  status=NOERROR\n== pay.shop-north.test  status=NOERROR\npay.shop-north.test.\t60\tIN\tCAA\t0 issue \"pki.goog\"\n   -&gt; relevant RRset found at pay.shop-north.test (stop climbing)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For <code>api.pay.shop-north.test<\/code> the only line that counts is <code>issue \"pki.goog\"<\/code>. Under RFC 8659 section 3 and <strong><a href=\"https:\/\/letsencrypt.org\/docs\/caa\/\" target=\"_blank\" rel=\"noopener\">Let&#8217;s Encrypt&#8217;s CAA documentation<\/a><\/strong>, Let&#8217;s Encrypt must refuse that name although the apex allows it. Add a <code>letsencrypt.org<\/code> line to the <code>pay<\/code> set, or remove that set.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"800\" src=\"https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/11\/caa-record-lets-encrypt-setup-lookup.webp\" alt=\"CAA lookup path for Let's Encrypt: blog.shop-north.test climbs to the apex record, api.pay.shop-north.test stops at pay, and www follows its CNAME to the target's record\" class=\"wp-image-3136\" srcset=\"https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/11\/caa-record-lets-encrypt-setup-lookup.webp 1200w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/11\/caa-record-lets-encrypt-setup-lookup-300x200.webp 300w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/11\/caa-record-lets-encrypt-setup-lookup-1024x683.webp 1024w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/11\/caa-record-lets-encrypt-setup-lookup-450x300.webp 450w, https:\/\/hostry.com\/blog\/wp-content\/uploads\/2026\/11\/caa-record-lets-encrypt-setup-lookup-768x512.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption>Where the lookup stops: the first name with CAA records decides, and a CNAME hands the decision to its target.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"add\">How to add a CAA record: zone file, DNS panel, Hostry DNS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A CAA record has three parts: a flag (0 for normal records), a tag (<code>issue<\/code>, <code>issuewild<\/code> or <code>iodef<\/code>) and a value. A zone file takes all three on one line, value in quotes; panels split them into fields and differ on the quotes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 2 needs only the <code>issue<\/code> line. The lab apex below also carries <code>issuewild \";\"<\/code> and an <code>iodef<\/code> address; both are optional choices, explained in the <strong><a href=\"#wildcards\">wildcards section<\/a><\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@       IN CAA 0 issue \"letsencrypt.org\"\n@       IN CAA 0 issuewild \";\"\n@       IN CAA 0 iodef \"mailto:pki-alerts@shop-north.test\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In a panel, including Hostry DNS, add a record of type CAA with the host <code>@<\/code> or empty for the apex, flag 0, tag issue and value letsencrypt.org. Whatever the panel does with quotes, compare what dig returns with the line above.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:14px\"><strong>Syntax traps: a zone that loads can still block issuance<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">BIND 9.18.39 and NSD 4.8.0 check that a CAA line parses and do not judge the value. These loaded on both without a warning:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>t5.test.  60 IN CAA  0 issue \"lets encrypt.org\"\n-- nsd-checkzone:\nzone t5.test is ok\n\nt6.test.  60 IN CAA  0 issue \"letsencrypt.org.\"\n-- nsd-checkzone:\nzone t6.test is ok\n\nt4.test.  60 IN CAA  128 tbs \"unknown\"\n-- nsd-checkzone:\nzone t4.test is ok<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">RFC 8659 section 4.2 treats an issue value that breaks its grammar, as the space and the trailing dot do, as empty, and an empty value forbids issuance. Flag 128 marks a tag as critical; a CA that does not know a critical tag such as <code>tbs<\/code> must not issue.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Upper-case tags split the servers: NSD refused <code>0 ISSUE \"letsencrypt.org\"<\/code> (<code>invalid tag ISSUE: contains invalid char I<\/code>), BIND kept it. Write tags in lower case.<\/li><li>Two quoted values in one record (<code>0 issue \"letsencrypt.org\" \"sectigo.com\"<\/code>) failed on both, BIND with <code>extra input text<\/code>. Worse, <code>0 issue \"letsencrypt.org; sectigo.com\"<\/code> loaded silently on both in a second test run, yet <code>sectigo.com<\/code> after the semicolon is not a valid parameter (it has no <code>=<\/code>), so under RFC 8659 section 4.2 the whole value is malformed and forbids issuance. Use one line per authority.<\/li><li>The generic <code>TYPE257 \\# 22 ...<\/code> hex form is only for very old servers; BIND 9.18 reads <code>CAA<\/code> directly. A hex string three bytes short made BIND refuse the zone (<code>unexpected end of input<\/code>). In the second run, NSD 4.8.0 loaded a truncated value without error and read it as <code>0 issue \"letsencrypt.\"<\/code>. If you need the form, compute the bytes:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>$ python3 -c \"v=b'letsencrypt.org';t=b'issue';d=bytes([0,len(t)])+t+v;print(len(d), d.hex())\"\n22 000569737375656c657473656e63727970742e6f7267<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"verify\">Check the CAA record on every nameserver with dig<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A resolver picks one of your nameservers for each lookup. If one holds an old copy of the zone, answers differ at random. The check below complements our guide on <strong><a href=\"https:\/\/hostry.com\/blog\/dns-outages-secondary-dns\/\">running a secondary DNS next to the primary<\/a><\/strong> and covers CAA at every parent label.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The test stand for these outputs: BIND 9.18.39 as primary, NSD 4.8.0 as secondary and Unbound 1.19.2 as resolver, all on Ubuntu 24.04. The secondary (NSD) got an older zone copy, serial 2026112501, without the CAA lines. Asking each server directly showed it at once:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ns1.shop-north.test.   127.0.0.11  serial=2026112601 CAA: 0 issuewild \";\" 0 issue \"letsencrypt.org\" 0 iodef \"mailto:pki-alerts@shop-north.test\"\nns2.shop-north.test.   127.0.0.12  serial=2026112501 CAA:<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Through the resolver, cache flushed before each try:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>11 of 20 lookups returned 0 CAA records\n9 of 20 lookups returned 3 CAA records<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After ns2 got the current zone, all 20 lookups returned the 3 records. The script below asks each nameserver for CAA at the name and every parent up to the apex, with the serial it holds. It is based on the lab&#8217;s <span class=\"highlighted\">caa-allns.sh<\/span>, with a public resolver as default; pass another as the second argument. A CNAME shows up with its target name; run the script on the target as well.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/sh\n# caa-allns.sh &lt;name&gt; [resolver]: ask every authoritative nameserver of the zone directly\n# (no recursion, no cache) for CAA at &lt;name&gt; and each parent label up to the apex, with its serial.\nname=$(printf '%s' \"${1%.}\" | tr 'A-Z' 'a-z'); res=${2:-1.1.1.1}\nz=$name; zone=\nwhile [ -z \"$zone\" ]; do\n  zone=$(dig +noall +answer SOA \"$z\" @\"$res\" | awk -v z=\"$z.\" 'tolower($1)==z &amp;&amp; $4==\"SOA\"{print z; exit}')\n  [ -n \"$zone\" ] &amp;&amp; break\n  case $z in *.*) z=${z#*.} ;; *) echo \"no zone found for $name\" &gt;&amp;2; exit 1 ;; esac\ndone\necho \"zone: $zone\"\nfor ns in $(dig +short NS \"$zone\" @\"$res\" | sort); do\n  ip=$(dig +short A \"$ns\" @\"$res\" | head -1)\n  echo \"--- $ns ($ip) serial $(dig +short +norecurse SOA \"$zone\" @\"$ip\" | awk '{print $3}')\"\n  n=$name\n  while :; do\n    r=$(dig +norecurse +noall +answer +comments CAA \"$n\" @\"$ip\")\n    st=$(printf '%s\\n' \"$r\" | sed -n 's\/.*status: \\([A-Z]*\\).*\/\\1\/p')\n    printf '  %-28s %-8s %s\\n' \"$n\" \"$st\" \"$(printf '%s\\n' \"$r\" | grep -v '^;' | awk '$4==\"CNAME\"{print \"CNAME \" $5} $4==\"CAA\"{$1=$2=$3=$4=\"\";print}' | sed 's\/^ *\/\/' | paste -sd'|' -)\"\n    [ \"$n\" = \"${zone%.}\" ] &amp;&amp; break; n=${n#*.}\n  done\ndone<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If it prints <code>no zone found for ...<\/code> for a real domain, the resolver is probably unreachable: check that <code>dig @1.1.1.1 shop-north.test SOA<\/code> answers, or pass another. Run right after two quick changes on the primary, it caught the secondary one update behind:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ scripts\/caa-allns.sh blog.shop-north.test\nzone: shop-north.test.\n--- ns1.shop-north.test. (127.0.0.11) serial 2026112622\n  blog.shop-north.test         NOERROR\n  shop-north.test              NOERROR  0 issue \"letsencrypt.org\"\n--- ns2.shop-north.test. (127.0.0.12) serial 2026112621\n  blog.shop-north.test         NOERROR\n  shop-north.test              NOERROR  0 issue \"sectigo.com\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A single change reached the secondary in 22 ms; back-to-back changes took about 5 s, because BIND spaces out its change notices. Retry issuance only when every serial matches. One exception: a nameserver that also hosts the CNAME target&#8217;s zone may print the target&#8217;s CAA after the CNAME. Different output with equal serials then does not mean a stale copy. When you move to a new DNS host, copy the CAA lines before you <strong><a href=\"https:\/\/hostry.com\/blog\/change-nameservers-without-downtime\/\">switch nameservers without a gap in service<\/a><\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Resolver caches add a second delay. After the apex record changed, the resolver served the old line for 61 s at TTL 60 and 302 s at TTL 300. A CAA TTL of 300 lets resolvers see a correction within about five minutes. Let&#8217;s Encrypt does not document how long it caches CAA. After a fix, wait at least one TTL before you retry or change the record again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A local ACME test server cannot prove a CAA record right. The Pebble 2.4.0 package in Ubuntu 24.04 sent no CAA query and issued even under <code>0 issue \";\"<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"wildcards\">Wildcards and reporting: CAA issuewild and iodef<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A wildcard certificate covers every name one level below a domain, such as <code>*.shop-north.test<\/code>. The issuewild tag sets a separate rule for those; without it, issue lines apply to wildcards too. iodef names an address for reports.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">RFC 8659 section 4.3 gives issuewild priority for wildcard requests. Once any issuewild line exists in the set, issue lines are ignored for wildcards, and issuewild is ignored for normal names. The lab apex therefore allows <code>blog.shop-north.test<\/code> and blocks <code>*.shop-north.test<\/code> for everyone. To allow Let&#8217;s Encrypt wildcards:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@       IN CAA 0 issuewild \"letsencrypt.org\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Do not count on iodef with Let&#8217;s Encrypt. Its CAA page does not mention the tag. On November 5, 2023 a Let&#8217;s Encrypt engineer wrote on the community forum that such reports were not worth the implementation effort. To see what was issued for your names, search the Certificate Transparency logs, for example on crt.sh, or use a CT monitoring service that alerts you to new certificates. Browsers require trusted certificates to appear in these public logs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"accounturi\">Lock issuance to your ACME account: accounturi and validationmethods<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">ACME is the protocol that certbot and similar clients use to talk to Let&#8217;s Encrypt, and each client registers an account there. RFC 8657 adds two parameters to an issue line. <span class=\"highlighted\">accounturi<\/span> allows one account only, and <span class=\"highlighted\">validationmethods<\/span> allows only the listed ways of proving control. Someone who passes a validation from a different account is then refused.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do not add accounturi when:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>cPanel AutoSSL issues the certificates (see the <strong><a href=\"#autossl\">AutoSSL section<\/a><\/strong>).<\/li><li>Another ACME client or account issues for the same names, such as a hosting panel&#8217;s built-in issuer or a browser-based tool. A line that names only your certbot account would refuse it.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Otherwise, get the exact URL from certbot (version 1.23.0 or newer) with <code>sudo certbot show_account<\/code>. The output below is from certbot 5.10.0 against the Pebble test CA:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Account details for server https:\/\/127.0.0.1:14000\/dir:\n  Account URL: https:\/\/127.0.0.1:14000\/my-account\/742ba85b666e54cc\n  Account Thumbprint: W1Yv40hsF6FeHsTLe3bU4obGAMmtMAe3SZsd3njJ0Tc\n  Email contact: pki-alerts@shop-north.test<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The URL above is Pebble&#8217;s shape; for production Let&#8217;s Encrypt documents <code>https:\/\/acme-v02.api.letsencrypt.org\/acme\/acct\/&lt;number&gt;<\/code>. The command needs an existing account for that server. Without one it prints <code>Could not find an existing account for server ...<\/code> and exits with status 1. Do not copy the folder name from the accounts directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>certbot\/etc\/accounts\/127.0.0.1:14000\/dir\/acb36d9b72ffe7dbbe4c7cfa5276a8e2\/regr.json\n{\"body\": {}, \"uri\": \"https:\/\/127.0.0.1:14000\/my-account\/742ba85b666e54cc\"}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The folder name is a local hash, not the account ID; the URL sits in the <code>uri<\/code> field. On production servers Let&#8217;s Encrypt&#8217;s account ID page puts that file under <code>\/etc\/letsencrypt\/accounts\/acme-v02.api.letsencrypt.org\/directory\/<\/code>. This one-liner builds the record (lab output):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo certbot show_account 2&gt;\/dev\/null | sed -n 's\/^ *Account URL: \/\/p' | awk '{print \"shop-north.test. 60 IN CAA 0 issue \\\"letsencrypt.org; accounturi=\" $1 \"\\\"\"}'\nshop-north.test. 60 IN CAA 0 issue \"letsencrypt.org; accounturi=https:\/\/127.0.0.1:14000\/my-account\/742ba85b666e54cc\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A production line with both parameters:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@  IN CAA 0 issue \"letsencrypt.org; accounturi=https:\/\/acme-v02.api.letsencrypt.org\/acme\/acct\/&lt;number&gt;; validationmethods=http-01\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Bindings need upkeep. Each server with its own certbot account needs its own issue line, or all servers share one account. Staging accounts differ from production ones. A reinstalled server registers a fresh account, so update the record before its next renewal. <code>validationmethods=http-01<\/code> also rules out Let&#8217;s Encrypt wildcards, which require dns-01. RFC 8657 section 5.2 warns against relying on either parameter with an authority that has not said it supports them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s Encrypt has enforced both parameters in production since December 2022, per its API announcement on the Let&#8217;s Encrypt community forum on December 16, 2022. <strong><a href=\"https:\/\/cabforum.org\/2026\/05\/13\/ballot-sc098v2-process-rfc-8657-caa-parameters\/\" target=\"_blank\" rel=\"noopener\">CA\/Browser Forum ballot SC098v2<\/a><\/strong> (22 of 23 issuer votes) requires every public CA to process them from March 15, 2027; it binds CAs and asks nothing new of domain owners.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"autossl\">CAA records and cPanel AutoSSL<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">AutoSSL is the cPanel feature that requests and renews certificates for every site on a server. Since the end of 2024 it uses only Let&#8217;s Encrypt, so it needs the same single line.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong><a href=\"https:\/\/docs.cpanel.net\/knowledge-base\/cpanel-product\/cpanel-deprecation-plan\/\" target=\"_blank\" rel=\"noopener\">cPanel deprecation plan<\/a><\/strong> lists the Sectigo AutoSSL provider as deprecated in version 118 and removed in version 120. cPanel moved Sectigo AutoSSL users to Let&#8217;s Encrypt in November 2024, and since December 31, 2024 that provider runs on no version. Delete <code>sectigo.com<\/code> or <code>comodoca.com<\/code> lines added only for AutoSSL; keep them if you buy Sectigo certificates separately.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@       IN CAA 0 issue \"letsencrypt.org\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Leave accounturi out on cPanel servers; this advice rests on user reports, which the lab could not reproduce without cPanel. In April 2025 a <strong><a href=\"https:\/\/community.letsencrypt.org\/t\/autossl-caa-failture-with-accounturi\/236597\" target=\"_blank\" rel=\"noopener\">Let&#8217;s Encrypt community thread about AutoSSL and accounturi<\/a><\/strong> reported cPanel 126.0.14 failing with &#8220;DNS CAA records forbid &#8220;Let&#8217;s Encrypt&#8221; from issuing certificates&#8221; once the record carried accounturi. A Let&#8217;s Encrypt engineer said no Let&#8217;s Encrypt error looks like that and suspected AutoSSL runs its own CAA check first. Removing the CAA record let issuance through. In a <strong><a href=\"https:\/\/support.cpanel.net\/hc\/en-us\/community\/posts\/31589825342231-AutoSSL-CAA-with-accounturi-Support-Possible-Issue\" target=\"_blank\" rel=\"noopener\">cPanel forum thread on AutoSSL and accounturi<\/a><\/strong>, staff said the parameter is not supported and opened case CPANEL-47037; on November 26, 2026 the thread had no later update.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"fails\">When issuance still fails<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When a CAA record prevents issuance, either the set Let&#8217;s Encrypt found has no line that allows it, or the CAA lookup itself failed. Match what you see to a row.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>What you see<\/th><th>Likely cause<\/th><th>Fix<\/th><\/tr><\/thead><tbody><tr><td>Apex works, one subdomain fails<\/td><td>The subdomain or a parent between has its own CAA set<\/td><td>Add <code>letsencrypt.org<\/code> to that set, or remove it<\/td><\/tr><tr><td>Only <code>www<\/code> or a CNAME name fails<\/td><td>The CNAME target&#8217;s CAA decides<\/td><td>Ask the target&#8217;s operator, or issue there<\/td><\/tr><tr><td>Normal names work, wildcard fails<\/td><td>An issuewild line without <code>letsencrypt.org<\/code><\/td><td>Change the issuewild line<\/td><\/tr><tr><td>Works from one server, fails from another<\/td><td>accounturi lists one account only<\/td><td>One issue line per account<\/td><\/tr><tr><td>Record looks right in the panel<\/td><td>Stale nameserver or malformed value<\/td><td>Run <code>caa-allns.sh<\/code>, retype the value<\/td><\/tr><tr><td>CAA query returns SERVFAIL<\/td><td>DNSSEC broken, or the DNS host fails CAA<\/td><td>Test with <code>dig +cd<\/code>, then fix signing or the host<\/td><\/tr><tr><td>CAA query gets no answer<\/td><td>A firewall drops unknown query types (named in Let&#8217;s Encrypt&#8217;s CAA docs)<\/td><td>Allow type CAA (257) through<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The CNAME row, from the same lab helper: <code>www<\/code> points to a third-party host with its own CAA.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ scripts\/caa-climb.sh www.shop-north.test\n== www.shop-north.test  status=NOERROR\nwww.shop-north.test.\t60\tIN\tCNAME\tcdn.edge-relay.test.\ncdn.edge-relay.test.\t60\tIN\tCAA\t0 issue \"sectigo.com\"\n   -&gt; relevant RRset found at www.shop-north.test (stop climbing)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Per Let&#8217;s Encrypt&#8217;s documentation, CAA checks follow the CNAME, so the target&#8217;s <code>sectigo.com<\/code> line applies to <code>www<\/code> and Let&#8217;s Encrypt would refuse it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"dns-host\" style=\"font-size:14px\"><strong>A DNS host that cannot answer CAA<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A test nameserver answered A queries normally and failed only CAA. Through Unbound:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>empty.test    status: NOERROR  ANSWER: 0   wall .029 s   (A still 127.0.0.1)\nnotimp.test   status: SERVFAIL             wall .016 s   (A still 127.0.0.1)\nrefused.test  status: SERVFAIL             wall .030 s   (A still 127.0.0.1)\nservfail.test status: SERVFAIL             wall .024 s   (A still 127.0.0.1)\ntimeout.test  ;; communications error to 127.0.0.20#53: timed out   wall: 30.05 s<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The A record resolved every time, so the site loads while the CAA check alone fails. NOTIMP, REFUSED and SERVFAIL all reached the client as one SERVFAIL; only Unbound&#8217;s log named the real code. A dropped query got no reply at all. Unbound 1.19.2 with Ubuntu&#8217;s defaults (<code>discard-timeout<\/code> 1900 ms) stayed silent for 120 s; with that option at 0 it returned SERVFAIL after 4.7 s. Query the authoritative server with <code>dig +norecurse<\/code> to see the real code; an empty NOERROR is the answer Let&#8217;s Encrypt&#8217;s documentation asks for.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your DNS host answers CAA queries with NOTIMP or REFUSED, or drops them, move the zone. <strong><a href=\"https:\/\/hostry.com\/products\/dns\/\">Free DNS hosting from Hostry<\/a><\/strong> supports the CAA record type, works with domains at any registrar, and can also run as the secondary beside your current provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:14px\"><strong>Broken DNSSEC<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DNSSEC signs DNS answers; an expired signature makes validating resolvers return SERVFAIL. <code>+cd<\/code> (checking disabled) tells a missing record apart from a signing problem. Use a validating resolver such as 1.1.1.1; <code>127.0.0.20<\/code> below is the lab&#8217;s validating Unbound. A resolver that does not validate would be expected to return NOERROR to both queries, so the test would show nothing.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ dig CAA signed-broken.test @127.0.0.20\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: SERVFAIL, id: 59667\n; EDE: 7 (Signature Expired): (validation failure &lt;signed-broken.test. CAA IN&gt;: signature expired from 127.0.0.11 for trust anchor signed-broken.test. while building chain of trust)\n\n$ dig CAA signed-broken.test @127.0.0.20 +cd\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 32229\n;; flags: qr rd ra cd; [...]\nsigned-broken.test.\t60\tIN\tCAA\t0 issue \"letsencrypt.org\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The record is there; the signatures are not valid, and the A lookup failed too. Re-sign the zone with your DNS host or signing tool. If the keys changed, the DS record also has to match: that is the record at the registrar that points to your zone&#8217;s signing key.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>One line at the zone apex, 0 issue \\&#8221;letsencrypt.org\\&#8221;, limits certificate issuance to Let&#8217;s Encrypt for the whole domain tree. How to add it, check i&#8230;<\/p>\n","protected":false},"author":6,"featured_media":3134,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"hb_lab_versions":"","hb_offer_kicker":"","hb_offer_title":"","hb_offer_text":"","footnotes":""},"categories":[128,127],"tags":[],"class_list":["post-3138","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domain-names","category-security"],"read_time":12,"_links":{"self":[{"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/posts\/3138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/comments?post=3138"}],"version-history":[{"count":1,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/posts\/3138\/revisions"}],"predecessor-version":[{"id":3139,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/posts\/3138\/revisions\/3139"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/media\/3134"}],"wp:attachment":[{"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/media?parent=3138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/categories?post=3138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostry.com\/blog\/wp-json\/wp\/v2\/tags?post=3138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}