Certbot, DNS, and CloudFlare

Certbot on Arch Linux In this post, I cover how to configure Let’s Encrypt DNS challenge with DNS-01 challenge. Setup Install the following packages (certbot and CloudFlare plug-in): pacman -S certbot pacman -S certbot-dns-cloudflare Navigate to https://dash.cloudflare.com/profile/api-tokens and create API Token. Then preserve that token in local file: $ vi .secrets/certbot-cloudflare.ini # Cloudflare API token used by Certbot dns_cloudflare_api_token = <YOUR_TOKEN_HERE> To avoid seeing Unsafe permissions on credentials configuration file: /root/....

August 3, 2024 · 4 min · Bart Prokop