# Cloudflare DNS Error

**URL:** <https://community.letsencrypt.org/t/cloudflare-dns-error/176292>\
**Category:** Help\
**Created:** [April 21, 2022, 12:21pm UTC](https://community.letsencrypt.org/t/cloudflare-dns-error/176292 "2022-04-21T12:21:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![TIEB62](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/tieb62/32/60109_2.png) [@TIEB62](https://community.letsencrypt.org/u/TIEB62)\
**Post date:** [April 21, 2022, 12:21pm UTC](https://community.letsencrypt.org/t/cloudflare-dns-error/176292/1 "2022-04-21T12:21:40Z")

</div>

My domain is: [ilnation.fr](http://ilnation.fr)

I ran this command: `sudo certbot certonly --dns-cloudflare --dns-cloudflare-credentials /some/secret/location/cloudflare.ini --dns-cloudflare-propagation-seconds 10 -d ilnation.fr --dry-run`

It produced this output:

```nohighlight
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/ilnation.fr.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Simulating renewal of an existing certificate for ilnation.fr
Waiting 10 seconds for DNS changes to propagate

Certbot failed to authenticate some domains (authenticator: dns-cloudflare). The Certificate Authority reported these problems:
  Domain: ilnation.fr
  Type: unauthorized
  Detail: No TXT record found at _acme-challenge.ilnation.fr

Hint: The Certificate Authority failed to verify the DNS TXT records created by --dns-cloudflare. Ensure the above domains are hosted by this DNS provider, or try increasing --dns-cloudflare-propagation-seconds (currently 10 seconds).

Failed to renew certificate ilnation.fr with error: Some challenges have failed.

```

My web server is NGINX 1.14.2 :

The operating system my web server runs on is raspbrian :

I can login to a root shell on my machine : Yes

I'm using a control panel to manage my site : No (Cloudflare for DNS)

The version of my client is : certbot 1.26.0

---

<div class="post-metadata">

**Author:** ![TIEB62](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/tieb62/32/60109_2.png) [@TIEB62](https://community.letsencrypt.org/u/TIEB62)\
**Post date:** [April 21, 2022, 12:26pm UTC](https://community.letsencrypt.org/t/cloudflare-dns-error/176292/2 "2022-04-21T12:26:06Z")

</div>

I've checked Cloudflare API Logs and the DNS records were successfully added and removed

I've also tried with 60 seconds of propagation time

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [April 21, 2022, 12:36pm UTC](https://community.letsencrypt.org/t/cloudflare-dns-error/176292/3 "2022-04-21T12:36:40Z")

</div>

Try increasing the propogation time to a relative absurd number (e.g. an hour) to see if it works at all.

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [April 21, 2022, 1:06pm UTC](https://community.letsencrypt.org/t/cloudflare-dns-error/176292/4 "2022-04-21T13:06:49Z")

</div>

You are using Cloudflare CDN. Cloudflare CDN manages its own certs for connections between its Edge and clients (like browsers).

You can [use an Origin CA from Cloudflare](https://developers.cloudflare.com/ssl/origin-configuration/origin-ca/) for https between that Edge and your origin server. That might be easier than maintaining certbot and Let's Encrypt certs.

---

<div class="post-metadata">

**Author:** ![TIEB62](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/tieb62/32/60109_2.png) [@TIEB62](https://community.letsencrypt.org/u/TIEB62)\
**Post date:** [April 21, 2022, 1:15pm UTC](https://community.letsencrypt.org/t/cloudflare-dns-error/176292/5 "2022-04-21T13:15:51Z")

</div>

Yeah I'll try

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [May 21, 2022, 1:15pm UTC](https://community.letsencrypt.org/t/cloudflare-dns-error/176292/6 "2022-05-21T13:15:58Z")

</div>

Closed on May 21, 2022, 1:15pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
