# Certbot DNS Cloudflare

Certbot DNS Cloudflare is a Certbot plugin that obtains and renews Let's Encrypt security certificates for domains on Cloudflare using the Domain Name System (DNS) challenge, so self-hosted site operators can automate. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5663/certbot-dns-cloudflare

## Description

Certbot DNS Cloudflare is a Certbot plugin that obtains and renews Let's Encrypt security certificates for domains on Cloudflare using the Domain Name System (DNS) challenge, so self-hosted site operators can automate certificate renewal without exposing a web validation endpoint.

## Platform availability

Available on 0 of 10 platforms.

## Health score

30/100 (Low), based on 4 of 5 factors.
- Maintained: 0 (last commit 792 days ago)
- Popular: 30 (29 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Security check: 95 (no serious findings, CI, tests)

## Links

- GitHub: https://github.com/cloudflare/certbot-dns-cloudflare
- Docker Hub: https://hub.docker.com/r/serversideup/certbot-dns-cloudflare

## Common questions

### Is Certbot useful if my domain already uses Cloudflare?

If your site routes directly through Cloudflare DNS, Certbot can be the better fit. If you use Cloudflare Tunnel, Cloudflare certificates are fine.

### Why does HTTP-01 fail when the site is behind Cloudflare?

Let's Encrypt cannot reach port 80 directly when the server is behind Cloudflare. In that setup, DNS validation is the relevant method.

### Do I need an installer when using the Cloudflare DNS authenticator?

No; the DNS authenticator is what proves ownership. An installer is only needed if you also want Certbot to configure a web server.

### What happens if I move or delete the issued certificate files?

HTTPS can stop working until the files are restored. Keep web-server-referenced files under /etc/letsencrypt/live/, such as fullchain.pem and privkey.pem, in place.

### Are cli.ini settings per domain?

No; options in cli.ini apply to every certificate request and renewal. Use it for stable global defaults rather than domain-specific settings.

---
Source: Our Local Host (https://ourlocalhost.com/app/5663/certbot-dns-cloudflare), the self-hosted and open-source app directory.
