Using Certbot to request Let's Encrypt wildcard certificate for your domain on CloudFlare
99
Usage example:
Create a file cloudflare.ini in creds/ to save CloudFlare "Global API keys" and email auth.
Create a docker-compose.yml, example:
version: "2"
services:
certbot-ssl:
image: nothingctrl/certbot-cf-wildcard:0.0.1
restart: always
container_name: certbot-ssl
privileged: true
ports:
- 8080:8080
environment:
- DOMAIN=foo.bar
- WEB_PORT=8080
# - DRY_RUN=1
volumes:
- ./creds:/root/creds
Run docker-compose up -d to start container
Access container on bind port (default: 8080) to download certificate
The container will auto loop the certificate request for every 75 days
Content type
Image
Digest
sha256:7275a4286…
Size
450.7 MB
Last updated
over 3 years ago
docker pull nothingctrl/certbot-cf-wildcard:0.0.1