Certbot DNS-01 authenticator plugin for DomU DNS
Project description
certbot-dns-domudns
Certbot DNS-01 authenticator plugin for DomU DNS.
Automatically creates and removes _acme-challenge TXT records via the DomU DNS REST API to obtain Let's Encrypt certificates.
Installation
pip install certbot-dns-domudns
Or from source:
git clone https://github.com/mw7101/certbot-dns-domudns.git
cd certbot-dns-domudns
pip install .
Credentials
Create a Named API Key in the DomU DNS dashboard: Settings → Sicherheit → API-Schlüssel → + Neuer API-Schlüssel
Then create /etc/letsencrypt/domudns.ini:
dns_domudns_url = http://192.168.100.151
dns_domudns_api_key = <named api key>
chmod 600 /etc/letsencrypt/domudns.ini
Usage
# Staging (for testing)
certbot certonly \
--authenticator dns-domudns \
--dns-domudns-credentials /etc/letsencrypt/domudns.ini \
--server https://acme-staging-v02.api.letsencrypt.org/directory \
-d example.com -d '*.example.com'
# Production
certbot certonly \
--authenticator dns-domudns \
--dns-domudns-credentials /etc/letsencrypt/domudns.ini \
-d example.com -d '*.example.com'
Configuration
| Credential key | Description |
|---|---|
dns_domudns_url |
Base URL of your DomU DNS instance (no trailing slash) |
dns_domudns_api_key |
Named API key from the DomU DNS dashboard |
Requirements
- Python >= 3.8
- certbot >= 1.18.0
- requests >= 2.25.0
- A running DomU DNS instance
How it works
- Certbot calls
_perform()with the validation token - Plugin strips
_acme-challenge.prefix and trailing dot from the FQDN POST /api/acme/dns-01/presentstores the TXT record in DomU DNS- DomU DNS answers
_acme-challenge.<domain> TXTqueries with the token - After validation,
_cleanup()callsPOST /api/acme/dns-01/cleanup
License
MIT
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file certbot_dns_domudns-1.0.1.tar.gz.
File metadata
- Download URL: certbot_dns_domudns-1.0.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6df5f67626e79f352d7bc8db1fef2665182c722d1cbbbc3087095b8e73ec0103
|
|
| MD5 |
c2e6429fdcbda311b72c9c6bbc8fec44
|
|
| BLAKE2b-256 |
b4eb8de3cffb4e94d81fc4558354a4d94c524266f859dc67246d81c632380ff3
|
File details
Details for the file certbot_dns_domudns-1.0.1-py3-none-any.whl.
File metadata
- Download URL: certbot_dns_domudns-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fdf6374d1535a08f13a3241f72521ef6bba6a84554e46306b9e97b076597c38
|
|
| MD5 |
324e169a4a401a229125af58e8f3bf4d
|
|
| BLAKE2b-256 |
eaa39f29b518737ea6305865821a464b4bf82a6bb48043e8002a29797e3ae9ee
|