Domain registrar agnostic authenticator plugin for certbot
Project description
certbot-dns-local
Domain registrar agnostic authenticator plugin for certbot
An authenticator plugin for certbot to support Let's Encrypt DNS challenges (dns-01) for domains managed by any registrar.
Why use this authenticator plugin?
- There is no other authenticator plugin for your domain registrar.
- Some domain registrars do not support fine-grained API permissions. Storing domain registrar credentials in a file on a web server might pose a security risk to all your domains.
- Migrating from one domain registrar to another does not require a new authenticator plugin.
Installation
-
Optionally install the
netfilter_queue
library. On Debian-based systems, run:apt install libnetfilter-queue-dev
The library enables support for DNS challenge authentication if UDP port 53 is already occupied.
-
Plugin installation:
- If you are using
certbot
from your distribution repository or from the Python Package Index:pip install certbot-dns-local
- If you are using
certbot-auto
, clone the repository,cd
into the folder and run:/opt/eff.org/certbot/venv/bin/pip install certbot-dns-local
- If you are using
-
Set up a DNS
NS
record for_acme-challenge.yourdomain.com
pointing to the server which certbot is running on.
For example:_acme-challenge.yourdomain.com. 300 IN NS yourdomain.com.
Such a record has to be created for each subdomain which you want to obtain a certificate for.
Usage
A new certificate can be requested as follows:
certbot certonly -a certbot-dns-local:dns-local -d yourdomain.com -d '*.yourdomain.com'
Renewals will automatically be performed using the same authenticator by certbot.
Behind the curtain
Behind the curtain, the plugin will open a UDP server on port 53 in order to serve the DNS validations. In case binding
to port 53 fails because it is already occupied by another application, it will fall back to packet interception using the
netfilter_queue
library.
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-local-0.1.2.tar.gz
.
File metadata
- Download URL: certbot-dns-local-0.1.2.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7192166e255be0790e065a1d3f25e4a1c2d79c2e72d3336354db60bb55d49eda |
|
MD5 | bf53ee8145278f109efb1c48b15e884f |
|
BLAKE2b-256 | 59b85dc426f9808e83d382583a8f262cd921b26667ad310bf772361dca512eff |