Certbot Notes¶
certbot certonly
interactively add a certificatescertbot delete
interactively delete certificatescertbot renew
renew all certificates
Use Cloudflare DNS¶
apt install python3-certbot-dns-cloudflare
mkdir -p ~/.secrets/certbot/
nano ~/.secrets/certbot/cloudflare.ini
# dns_cloudflare_email = admin@pegasis.site
# dns_cloudflare_api_key = <api_key>
chmod 600 ~/.secrets/certbot/cloudflare.ini
certbot certonly --dns-cloudflare --dns-cloudflare-credentials ~/.secrets/certbot/cloudflare.ini
nginx -s reload
Last update:
March 26, 2021
Created: March 26, 2021
Created: March 26, 2021