Certbot DNS Multi-provider Plugin

4.33.0 · active · verified Sun Apr 12

Certbot DNS plugin supporting multiple DNS providers by integrating with the `go-acme/lego` ACME client, which currently supports over 117 different DNS providers. It simplifies obtaining wildcard certificates and automating DNS-01 challenges for Certbot users. The current version is 4.33.0, and it appears to be actively maintained with regular updates.

Warnings

Install

Quickstart

To use `certbot-dns-multi`, create a credentials file specifying your DNS provider and API credentials. Secure this file, then invoke Certbot with the `dns-multi` authenticator and point to your credentials file. This example uses Cloudflare, but you must refer to the `go-acme/lego` documentation for the specific environment variables required by your chosen DNS provider.

# Create a credentials file (e.g., /etc/letsencrypt/dns-multi.ini)
# Replace 'cloudflare' with your DNS provider, and add required API tokens/keys.
# Consult https://go-acme.github.io/lego/dns/ for provider-specific environment variables.
# Example for Cloudflare:
# dns_multi_provider = cloudflare
# CLOUDFLARE_API_TOKEN="${CLOUDFLARE_API_TOKEN}"

# Secure the credentials file
sudo chmod 0600 /etc/letsencrypt/dns-multi.ini

# Issue a wildcard certificate using dns-multi plugin (example with Cloudflare)
# Replace 'example.com' with your domain and ensure CLOUDFLARE_API_TOKEN is set as an environment variable or hardcoded in the ini for testing.
certbot certonly \
  -a dns-multi \
  --dns-multi-credentials /etc/letsencrypt/dns-multi.ini \
  -d "*.example.com" \
  --dry-run

view raw JSON →