Certbot DNS plugin supporting multiple providers, using github.com/go-acme/lego
Project description
certbot-dns-multi
DNS plugin for Certbot which integrates with the 117+ DNS providers from the lego
ACME client.
At the last check, the supported providers are:
Akamai EdgeDNS, Alibaba Cloud DNS, all-inkl, Amazon Lightsail, Amazon Route 53, ArvanCloud, Aurora DNS, Autodns, Azure (deprecated), Azure DNS, Bindman, Bluecat, Brandit, Bunny, Checkdomain, Civo, Cloud.ru, CloudDNS, Cloudflare, ClouDNS, CloudXNS, ConoHa, Constellix, CPanel/WHM, Derak Cloud, deSEC.io, Designate DNSaaS for Openstack, Digital Ocean, DNS Made Easy, dnsHome.de, DNSimple, DNSPod (deprecated), Domain Offensive (do.de), Domeneshop, DreamHost, Duck DNS, Dyn, Dynu, EasyDNS, Efficient IP, Epik, Exoscale, External program, freemyip.com, G-Core, Gandi Live DNS (v5), Gandi, Glesys, Go Daddy, Google Cloud, Google Domains, Hetzner, Hosting.de, Hosttech, HTTP request, http.net, Hurricane Electric DNS, HyperOne, IBM Cloud (SoftLayer), IIJ DNS Platform Service, Infoblox, Infomaniak, Internet Initiative Japan, Internet.bs, INWX, Ionos, IPv64, iwantmyname, Joker, Joohoi's ACME-DNS, Liara, Linode (v4), Liquid Web, Loopia, LuaDNS, Mail-in-a-Box, Manual, Metaname, MyDNS.jp, MythicBeasts, Name.com, Namecheap, Namesilo, NearlyFreeSpeech.NET, Netcup, Netlify, Nicmanager, NIFCloud, Njalla, Nodion, NS1, Open Telekom Cloud, Oracle Cloud, OVH, plesk.com, Porkbun, PowerDNS, Rackspace, RcodeZero, reg.ru, RFC2136, RimuHosting, Sakura Cloud, Scaleway, Selectel, Servercow, Shellrent, Simply.com, Sonic, Stackpath, Tencent Cloud DNS, TransIP, UKFast SafeDNS, Ultradns, Variomedia, VegaDNS, Vercel, Versio.[nl/eu/uk], VinylDNS, VK Cloud, Vscale, Vultr, Webnames, Websupport, WEDOS, Yandex 360, Yandex Cloud, Yandex PDD, Zone.ee, Zonomi
Installation
via snap
Using the certbot
snap is the easiest way to use this plugin. See here for instructions on installing Certbot via snap
.
sudo snap install certbot-dns-multi
sudo snap set certbot trust-plugin-with-root=ok
sudo snap connect certbot:plugin certbot-dns-multi
via pip
Compiled wheels are available for most x86_64
/amd64
Linux distributions. On other platforms, pip
will try to compile the plugin, which requires Go 1.19 or newer to be installed on your server.
How did you install Certbot? | How to install the plugin |
---|---|
From snap |
Don't use pip ! Use the snap instructions above. |
Using the official Certbot pip instructions |
sudo /opt/certbot/bin/pip install certbot-dns-multi |
From apt , yum , dnf or any other distro package manager. (Requires Certbot 1.12.0 or newer.) |
pip install certbot-dns-multi |
via docker
Docker images for linux/amd64
and linux/arm64
are available from ghcr.io/alexzorin/certbot-dns-multi
.
e.g.
docker run --rm -it -v /etc/letsencrypt:/etc/letsencrypt \
ghcr.io/alexzorin/certbot-dns-multi certonly \
-a dns-multi --dns-multi-credentials /etc/letsencrypt/dns-multi.ini \
-d "*.example.com" -d "example.com" --dry-run
Usage
certbot-dns-multi
is controlled via a credentials file.
-
Head to https://go-acme.github.io/lego/dns/ and find your DNS provider in the list. In this example, we'll use
cloudflare
. -
Create
/etc/letsencrypt/dns-multi.ini
and enter the name of your provider, all lowercase, as below:dns_multi_provider = cloudflare
-
Following the instructions on https://go-acme.github.io/lego/dns/cloudflare/, we add the required configuration items:
dns_multi_provider = cloudflare CLOUDFLARE_DNS_API_TOKEN="1234567890abcdefghijklmnopqrstuvwxyz"
-
Save the file and secure it:
chmod 0600 /etc/letsencrypt/dns-multi.ini
-
Try issue a certificate now:
certbot certonly -a dns-multi \ --dns-multi-credentials=/etc/letsencrypt/dns-multi.ini \ -d "*.example.com" \ --dry-run
-
🥳, or if not, ask on the community forums for help.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file certbot_dns_multi-4.20.4.tar.gz
.
File metadata
- Download URL: certbot_dns_multi-4.20.4.tar.gz
- Upload date:
- Size: 69.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0fbe0a0feee29a34881e82c000ee35ccd19e447d686d29c02f8d2dba312d77d |
|
MD5 | a5ad45e2c3a59442efe587eaf5581774 |
|
BLAKE2b-256 | b3ce7e6bcabc5db6077899dac3cfed026d331f5d7d60176b85df051437c63c5d |
File details
Details for the file certbot_dns_multi-4.20.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: certbot_dns_multi-4.20.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 47.2 MB
- Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b90aae5eb3cc40e876a13908728c8b0670d92ac06c7b4d6baf031670f0669ca7 |
|
MD5 | 5b50ee6b43b5296c12ecb1a7b77363a9 |
|
BLAKE2b-256 | 381a67f046d4f82c63d783e27d0e9dc6e8a4f74046bf285a376586bc4aa25caa |
File details
Details for the file certbot_dns_multi-4.20.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: certbot_dns_multi-4.20.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 47.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26067d4646221571867c4945cae5825e978ed0ea67a65b086b5034fe5f33ce3a |
|
MD5 | 23a6d19ad28535f5b04de4b289b38ade |
|
BLAKE2b-256 | ca3a2ff37ced8e0bdde5c7d7eb8f65b8c15cbff79a9e60d4ec048cc219e138bb |
File details
Details for the file certbot_dns_multi-4.20.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: certbot_dns_multi-4.20.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 47.2 MB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ae650f95edaeee2dc5cd3f0ce3e76a04d0c1718a613e0536e9a43a71e1125a3 |
|
MD5 | 6eaa1a1a7a0de3a6b0fde365c7e43095 |
|
BLAKE2b-256 | 598966d411ad90b2d74a1b9f424690c07e58467474597acdae31055b9e0c661a |
File details
Details for the file certbot_dns_multi-4.20.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: certbot_dns_multi-4.20.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 47.2 MB
- Tags: CPython 3.9, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffe80dfe55c5ab1231dce49e82762df7f20311ae39e64cbab257a40b00509f02 |
|
MD5 | d2555630ad616e43663670c20dbbf67b |
|
BLAKE2b-256 | 6d39f965796ec2237c3deb8155546046c8cc6c809f3a4e4846c874ff9e79ac5f |
File details
Details for the file certbot_dns_multi-4.20.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: certbot_dns_multi-4.20.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 47.2 MB
- Tags: CPython 3.8, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c4cd75e6b96437ce26658bc023adaf9ebf226e5c3a96b12666a502b3f0f6192 |
|
MD5 | d05638a46a0c806164e8774470acac32 |
|
BLAKE2b-256 | 9c93c11edd135875d649ecb63737ca3e494497240e3bb3a04a38a76b03dd057d |