bootDNS Authenticator plugin for Certbot
Project description
Certbot plugin for authentication using bootDNS
This is a plugin for Certbot that uses the bootDNS API automates the process of completing a dns-01 challenge by creating, and subsequently removing, TXT records on a domain name.
Installation
Python / pip
Install this package via pip in the same python environment where you installed certbot
.
pip install certbot-dns-bootdns
Command lines
To start using DNS authentication for the bootDNS API, pass the following arguments on certbot's command line:
Option | Description |
---|---|
--authenticator dns-bootdns |
Select the authenticator plugin (Required) |
--dns-bootdns-credentials |
bootDNS API credentials INI file. (Required) |
--dns-bootdns-propagation-seconds |
Seconds to wait for the TXT record to propagate |
Usage
-
Make sure the plugin is installed and connected. You can verify this by running
certbot plugins
.dns-bootdns
should be in the list. -
Go to your bootDNS admin instance, and go to Settings -> API Tokens to create a new API Token.
-
Create a
credentials.ini
config file with the following content:dns_bootdns_host = <host> dns_bootdns_token = <token>
Replace
<host>
with hostname for your bootDNS instance. - Example: bootdns.example.comReplace
<token>
with your bootDNS API Tokens. -
Run
certbot
and direct it to use the plugin for authentication and to use the config file previously created:certbot certonly \\ --authenticator dns-bootdns \\ --dns-bootdns-credentials /path/to/credentials.ini \\ -d example.com
Use
*.example.com
if you want to generate it as a wildcard certificate.
Development
Install local files as python package
Run the following command in the repository root (so you are in the folder containing the setup.py
):
pip3 install -e ./
Distribution
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-bootdns-0.1.1.tar.gz
.
File metadata
- Download URL: certbot-dns-bootdns-0.1.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ce664e5ae42e7c18d372637f01bd1007c7c54244198aa9c36f07d562f78ea00 |
|
MD5 | 770d1f3e812dc9dd1c1683e7676c00b2 |
|
BLAKE2b-256 | 47d9aa4eeb4f2f4d8ff85a128c9c1ed081d1b05146771efdb344a67ba11a3af3 |
File details
Details for the file certbot_dns_bootdns-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: certbot_dns_bootdns-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 346736d2e422baf64e8137ec3d7d5ffd449f6f5ccda92c118fd9859bf672961c |
|
MD5 | d6c1512702101fdb47ee12d7c7d6125e |
|
BLAKE2b-256 | 9eb9e0ac9f086a8a6847f547189e4467f46629b889fa9e60ad01813b8161f321 |