Hurricane Electric dynamic DNS Authenticator plugin for Certbot
Project description
Hurricane Electric dynamic DNS Authenticator plugin for Certbot.
This plugin automates the process of completing a dns-01 challenge by updating, and subsequently clearing, TXT records using the Hurricane Electric dynamic DNS API.
This method allows limiting access to specific records.
Installation
pip install certbot-dns-he-ddns
Alternatively, you can use git+https://github.com/mafredri/certbot-dns-he-ddns.git.
Preparation
This plugin can only complete challenges for pre-existing _acme-challenge.* DNS records that are of the TXT type and have the dynamic DNS feature enabled. To configure multiple domains they must share the same password.
Add a new TXT record:
Name: _acme-challenge.example.com
Text data: empty
TTL: 300
Enable entry for dynamic DNS must be checked.
Set the dynamic DNS key for the new record by pressing 🔃, it should match the password configured for this plugin.
Credentials
An example credentials.ini file:
dns_he_ddns_password = verysecurepassword
Examples
To acquire a single certificate for both example.com and *.example.com, waiting 60 seconds for DNS propagation:
certbot certonly \
--authenticator dns-he-ddns \
--dns-he-ddns-credentials /etc/letsencrypt/.secrets/dns-he-ddns.ini \
--dns-he-ddns-propagation-seconds 60 \
--server https://acme-v02.api.letsencrypt.org/directory \
--preferred-challenges dns \
--agree-tos \
--rsa-key-size 4096 \
-d 'example.com' \
-d '*.example.com'
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
File details
Details for the file certbot_dns_he_ddns-0.1.0.tar.gz.
File metadata
- Download URL: certbot_dns_he_ddns-0.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea09e1e719411047d5dedd2b586667f0394b3f9a17b01e75d29a9ef4dde561c2
|
|
| MD5 |
924cdcc628ec537ae371660c186aba08
|
|
| BLAKE2b-256 |
565441d767891800f05cb6c2eab37fc203223450c64e58f350f28ff5d32c253a
|