This container generates LetsEncrypt certificates for subdomains at Gandi using the DNS-01 challenge type and Gandi's new LiveDNS API.
This image is based on Alpine and uses Certbot to communicate with Letsencrypt.
You can find build of this image here: https://hub.docker.com/r/beeone/certbot-gandi
The container can then be started to create a wildcard certificate as follows:
docker run --rm \
-v /path/to/certs:/etc/letsencrypt \
-e GANDI_API_KEY=<your-gandi-personal-access-token> \
-e CERTBOT_WAIT=30 \
beeone/certbot-gandi:latest \
--email <[email protected]> \
--server https://acme-v02.api.letsencrypt.org/directory \
-d \*.<your-domain.org> -d <your-domain.org>
CERTBOT_WAIT is the delay to wait for DNS challenge propagation.
The container will then generate a certificate. The certificate will be available in path/to/certs/live/, in a directory named after the first domain specified in the config file.
To test / debug, use this option:
--server https://acme-staging-v02.api.letsencrypt.org/directory