Sign inSign up

ctrlaltdev/certpibot

By ctrlaltdev

•Updated over 6 years ago
Archived

Certbot + cloudflare plugin, multi arch

Image
0

468

ctrlaltdev/certpibot repository overview

Docker image to be able to run certbot on Raspberry Pis with cloudflare plugin integrated

To generate certs for the first time, simply run something like:

docker run -it --rm --name certbot \
  -v "host/path/to/where/the/certs/will/be/stored:/etc/letsencrypt" \
  -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
  -v "host/path/to/where/the/folder/with/cloudfare.ini/is:/certbot" \
  certbot/dns-cloudflare \
  certonly \
  --dns-cloudflare \
  --noninteractive \
  --email [email protected] \
  --agree-tos \
  --server https://acme-v02.api.letsencrypt.org/directory \
  --dns-cloudflare-credentials /certbot/cloudflare.ini \
  -d "yourdomain.tld" \
  -d "*.yourdomain.tld"

To renew:

docker run -it --rm --name certbot \
  -v "host/path/to/where/the/certs/will/be/stored:/etc/letsencrypt" \
  -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
  -v "host/path/to/where/the/folder/with/cloudfare.ini/is:/certbot" \
  ctrlaltdev/certpibot \
  renew \
  --dns-cloudflare-credentials /certbot/cloudflare.ini

Tag summary

Content type

Image

Digest

Size

105.3 MB

Last updated

over 6 years ago

docker pull ctrlaltdev/certpibot