Active24 DNS Authenticator plugin for Certbot
Project description
certbot-dns-active24
Active24 DNS authenticator plugin for Certbot
An authenticator plugin for certbot to support Let's Encrypt DNS challenges (dns-01) for domains managed by the nameservers of Active24.
This plugin is based on the ISPConfig DNS authenticator by Matthias Bilger.
Important: Active24 REST API versions
The current version of this plugin (2.x) is implemented against the new Active24 REST API v2. If you wish to use the old v1 API, you can still use the 1.x branch, it should work perfectly well.
Requirements
- certbot (>=0.34.0)
Note: it is highly recommended that you install Certbot from PyPI (pip install certbot
),
rather than your distribution's package manager or Snap or similar - not only is the PyPI
version usually the newest available, but there have been reports of issues with the plugin
when it's installed via PyPI and Certbot is not. If anyone has ideas on how this package
could be improved to fix these compatibility issues, please post an issue, or better yet,
a pull request - any input or help is much appreciated!
Installation
-
First install the plugin:
pip install certbot-dns-active24
-
Configure it with your Active24 credentials:
sudo $EDITOR /etc/letsencrypt/active24.ini
Paste the following into the configuration file:
certbot_dns_active24:dns_active24_api_key = "your api key" certbot_dns_active24:dns_active24_secret = "your secret"
-
Make sure the file is only readable by root! Otherwise all your domains might be in danger:
sudo chmod 0600 /etc/letsencrypt/active24.ini
Usage
Request new certificates via a certbot invocation like this:
sudo certbot certonly -a certbot-dns-active24:dns-active24 -d sub.domain.tld -d *.wildcard.tld
Renewals will automatically be performed using the same authenticator and credentials by certbot.
Command Line Options
--certbot-dns-active24:dns-active24-credentials PATH_TO_CREDENTIALS
Path to Active24 account credentials INI file
(default: /etc/letsencrypt/active24.ini)
--certbot-dns-active24:dns-active24-propagation-seconds SECONDS
The number of seconds to wait for DNS record changes
to propagate before asking the ACME server to verify
the DNS record. Default 300.
Removal
sudo pip uninstall certbot-dns-active24
Development
When releasing a new version, commit all changes, create an appropriate Git tag, and then run
./release.sh
from the project directory. This will check and prepare your environment,
push the latest code to GitHub, build the distribution package and upload it to PyPI.
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
File details
Details for the file certbot_dns_active24-2.0.0.tar.gz
.
File metadata
- Download URL: certbot_dns_active24-2.0.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a419d482f2b8c358856a96f45abcd173c8f94be7eac9dd8e942ab30f03e76795 |
|
MD5 | 81101c4191c849697b94d62f2fb5bc4f |
|
BLAKE2b-256 | 483b8f10b25be786f4a8715234859332ef925096fa6b60fa0d0d1d4c87b1e972 |
File details
Details for the file certbot_dns_active24-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: certbot_dns_active24-2.0.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bf60ae947382468375c5fc2b9558f7cc0fa115c4d81e6688a246e70bcd369ff |
|
MD5 | 8e4522981a7b7732897ed813b22eefaf |
|
BLAKE2b-256 | 7ef16040c2915ed7bedb9a50ab6b04757bdd7bd8022f7b8c0061c5cab5b52982 |