Sign inSign up

beeone/certbot-gandi

By beeone

•Updated about 3 years ago

Automated certificates for Gandi (sub)domains

Image
0

344

beeone/certbot-gandi repository overview

⁠beeone/certbot-gandi

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.

⁠Source

You can find the source of this image here: https://github.com/beeone42/docker-letsencrypt-gandi⁠

⁠Running

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> \
            beeone/letsencrypt-gandi:latest \
              --email <[email protected]> \
              --server https://acme-v02.api.letsencrypt.org/directory \
              -d \*.<your-domain.org> -d <your-domain.org>

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

Tag summary

Content type

Image

Digest

sha256:3b83f0e29…

Size

34.4 MB

Last updated

about 3 years ago

docker pull beeone/certbot-gandi