bunkerweb/examples/certbot-cloudflare
2021-08-20 16:58:37 +02:00
..
web-files docs, various fixes and certbot-cloudflare example 2021-06-06 14:52:30 +02:00
architecture.png examples improvement - certbot cloudflare and wildcard, clamav, crowdsec, ghost and gogs 2021-08-04 15:02:55 +02:00
certbot-new.sh examples - use example.com instead of website.com 2021-07-16 09:40:02 +02:00
certbot-renew.sh examples improvement - certbot cloudflare and wildcard, clamav, crowdsec, ghost and gogs 2021-08-04 15:02:55 +02:00
cloudflare.ini docs, various fixes and certbot-cloudflare example 2021-06-06 14:52:30 +02:00
docker-compose.yml examples - use example.com instead of website.com 2021-07-16 09:40:02 +02:00
README.md docs - dev to master links and VERSION upgrade 2021-08-20 16:58:37 +02:00

Certbot with Cloudflare

Cloudflare supports HTTPS traffic between their servers and the origin one. This examples shows how to automatically valid HTTPS certificates signed by Let's Encrypt using the Cloudflare API.

Preamble

We will assume that you already have some basic knowledges about Cloudflare. If that's not the case, we have made a dedicated blog post here.

Architecture

Configuration

First of all you will need to edit the certbot-new.sh and cloudflare.ini files (e.g : domains, CF token, ...).

Then run the certbot-new.sh script to get the certificates and add cron job for certbot-renew.sh to setup automatic renewal.

Docker

See docker-compose.yml.