Contabo DNS Authenticator plugin for Certbot
Project description
Certbot Contabo authenticator plugin
This is a Certbot plugin to automate DNS-01 challenges for domains whose DNS is managed by Contabo. It works by interacting with the Contabo web interface through web scraping, as Contabo does not currently offer an official API for DNS management.
Important
- Web Scraping: This plugin relies on web scraping Contabo's website. If Contabo changes its website structure, this plugin may break until it's updated. The plugin is designed based on their current interface, which has been relatively stable for years.
- NO 2FA SUPPORT: This plugin does not support Contabo accounts with Two-Factor Authentication (2FA) enabled. You must use an account without 2FA for this plugin to work. Attempting to use it with a 2FA-enabled account will result in login failure (Might be supported in the future, but currently not available).
Installation
You can install the plugin using pip:
pip install certbot-dns-contabo
Usage
Create a credentials file like this, for example using nano /etc/letsencrypt/contabo.ini:
dns_contabo_email = your-contabo-email@example.com
dns_contabo_password = your-contabo-password
Since this file contains sensitive credentials, protect it by restricting its permissions:
sudo chmod 600 /etc/letsencrypt/contabo.ini
(Replace /etc/letsencrypt/contabo.ini if you saved it in a different location.)
To request a certificate, use Certbot with the dns-contabo authenticator.
Example for example.com and *.example.com (wildcard):
sudo certbot certonly \
--authenticator dns-contabo \
--dns-contabo-credentials /etc/letsencrypt/contabo.ini \
-d example.com \
-d "*.example.com"
Disclaimer
I am not affiliated with Contabo in any way. This plugin can stop working at any time if Contabo changes their website, which could even lead to stuff breaking on your Contabo account.
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_contabo-0.1.1.tar.gz.
File metadata
- Download URL: certbot_dns_contabo-0.1.1.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ec3cfcf1627b95410bac90f3e5a7d571740ed0cb183e65d477452c9b168ebd0
|
|
| MD5 |
28386c646f9663775b6eb10c330300a5
|
|
| BLAKE2b-256 |
3810b176f92f8da29a9decb35ab470a58c4cf1447efda592afafcfa8b2e57ec6
|
File details
Details for the file certbot_dns_contabo-0.1.1-py3-none-any.whl.
File metadata
- Download URL: certbot_dns_contabo-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e47fa0a048782e6d84bce93c21086340911ed879487b902e5da4c9c09c1bc91
|
|
| MD5 |
d408d6f23746802b9c3eed1411f4b84f
|
|
| BLAKE2b-256 |
588a5eb458c0f3e80be42bc256d7257ded2221049bd518a9c519274e13931422
|