<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error add txt for domain:_acme-challenge]]></title><description><![CDATA[<p dir="auto">Hello all, I am having issues setting up ACME certificates for Cloudflare DNS. When I issue a production Lets Encrypt certificate I get :</p>
<p dir="auto">Error add txt for domain:_acme-challenge.<em>subdomain.domain.com</em></p>
<p dir="auto">I am using HAProxy and Acme for certificates. I created an api key for this and it still gives me the error. Any advice on this?</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.netgate.com/topic/195305/error-add-txt-for-domain-_acme-challenge</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 09:14:14 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/195305.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Nov 2024 18:22:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error add txt for domain:_acme-challenge on Thu, 05 Dec 2024 17:52:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tinfoilmatt">@<bdi>tinfoilmatt</bdi></a> it looks like I have finally gotten the certificate to pop up but now I am dealing with getting 503 Service Unavailable error. Do you know if this is an HAProxy issue or on the cloudflare side?</p>
<p dir="auto"><img src="/assets/uploads/files/1733421078109-screenshot-2024-12-05-at-12.51.02-pm.png" alt="Screenshot 2024-12-05 at 12.51.02 PM.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/1198438</link><guid isPermaLink="true">https://forum.netgate.com/post/1198438</guid><dc:creator><![CDATA[killuhbyte]]></dc:creator><pubDate>Thu, 05 Dec 2024 17:52:13 GMT</pubDate></item><item><title><![CDATA[Reply to Error add txt for domain:_acme-challenge on Tue, 26 Nov 2024 14:27:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/killuhbyte">@<bdi>killuhbyte</bdi></a> Without reviewing <code>/tmp/acme/firewall-cert/acme_issuecert.log</code> to possibly discern more, <a href="https://github.com/acmesh-official/acme.sh/blob/master/dnsapi/dns_cf.sh" target="_blank" rel="noopener noreferrer nofollow ugc">the script</a> appears to be failing at actually reading the zone file—or failing to match it to what you've entered under "Domainname".</p>
<p dir="auto">Relevant code:</p>
<pre><code>  _debug "First detect the root zone"
  if ! _get_root "$fulldomain"; then
    _err "invalid domain"
    return 1
  fi
</code></pre>
<p dir="auto">Without seeing more of your configuration, there's something wrong with the "Domainname", the API Token, or the Zone ID.</p>
<p dir="auto">How is the token configured on the Cloudflare side?</p>
]]></description><link>https://forum.netgate.com/post/1196989</link><guid isPermaLink="true">https://forum.netgate.com/post/1196989</guid><dc:creator><![CDATA[tinfoilmatt]]></dc:creator><pubDate>Tue, 26 Nov 2024 14:27:44 GMT</pubDate></item><item><title><![CDATA[Reply to Error add txt for domain:_acme-challenge on Tue, 26 Nov 2024 02:07:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tinfoilmatt">@<bdi>tinfoilmatt</bdi></a> my settings match yours and only in production it tells me that the domain is invalid. I have created the api key and it keeps giving me the same error over and over again.</p>
<p dir="auto">[Mon Nov 25 20:59:42 EST 2024] Using CA: https://acme-v02.api.letsencrypt.org/directory<br />
[Mon Nov 25 20:59:42 EST 2024] Using pre generated key: /tmp/acme/firewall-cert/<em>subdomain.domain</em>.com/<em>subdomain.domain</em>.com.key.next<br />
[Mon Nov 25 20:59:42 EST 2024] Generate next pre-generate key.<br />
[Mon Nov 25 20:59:42 EST 2024] Single domain='<em>subdomain.domain</em>.com'<br />
[Mon Nov 25 20:59:44 EST 2024] Getting webroot for domain='<em>subdomain.domain</em>.com'<br />
[Mon Nov 25 20:59:44 EST 2024] Adding txt value: <em>KEY</em> for domain:  _acme-challenge.<em>subdomain.domain</em>.com<br />
[Mon Nov 25 20:59:45 EST 2024] invalid domain<br />
[Mon Nov 25 20:59:45 EST 2024] Error add txt for domain:_acme-challenge.<em>subdomain.domain</em>.com<br />
[Mon Nov 25 20:59:45 EST 2024] Please check log file for more details: /tmp/acme/firewall-cert/acme_issuecert.log</p>
]]></description><link>https://forum.netgate.com/post/1196911</link><guid isPermaLink="true">https://forum.netgate.com/post/1196911</guid><dc:creator><![CDATA[killuhbyte]]></dc:creator><pubDate>Tue, 26 Nov 2024 02:07:56 GMT</pubDate></item><item><title><![CDATA[Reply to Error add txt for domain:_acme-challenge on Mon, 25 Nov 2024 18:53:48 GMT]]></title><description><![CDATA[<p dir="auto">This is the minimum amount of information needed for a Cloudflare-configured, single account, single zone ACME DNS challenge. If yours mostly matches, then the issue is on the Cloudflare account/API token side:</p>
<p dir="auto"><img src="/assets/uploads/files/1732560792812-acme.png" alt="acme.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/1196857</link><guid isPermaLink="true">https://forum.netgate.com/post/1196857</guid><dc:creator><![CDATA[tinfoilmatt]]></dc:creator><pubDate>Mon, 25 Nov 2024 18:53:48 GMT</pubDate></item></channel></rss>