Skip to main content

Contabo DNS Authenticator plugin for Certbot

Project description

Certbot DNS Contabo Plugin

DNS Authenticator plugin for Certbot that uses Contabo DNS API.

Installation

# Install dependencies first
apt install python3-pip -y

# Install the plugin from PyPI
pip3 install certbot-dns-contabo-api --break-system-packages

Project URL: https://pypi.org/project/certbot-dns-contabo-api/

Configuration

1. Get API Credentials

From Contabo Customer Control Panel, get:

  • Client ID
  • Client Secret
  • API User (your email)
  • API Password

2. Create Credentials File

Create /etc/letsencrypt/contabo.ini:

dns_contabo_client_id = YOUR_CLIENT_ID
dns_contabo_client_secret = YOUR_CLIENT_SECRET
dns_contabo_api_user = your@email.com
dns_contabo_api_password = YOUR_API_PASSWORD

Secure the file:

chmod 600 /etc/letsencrypt/contabo.ini

3. Issue Certificate

certbot certonly \
  --authenticator dns-contabo \
  --dns-contabo-credentials /etc/letsencrypt/contabo.ini \
  --dns-contabo-propagation-seconds 120 \
  -d example.com \
  -d "*.example.com"

4. Test Auto-Renewal

certbot renew --dry-run

Credentials File Format

# Contabo API credentials
dns_contabo_client_id = your_client_id
dns_contabo_client_secret = your_client_secret
dns_contabo_api_user = your_email@example.com
dns_contabo_api_password = your_api_password

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

certbot_dns_contabo_api-1.0.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

certbot_dns_contabo_api-1.0.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file certbot_dns_contabo_api-1.0.2.tar.gz.

File metadata

  • Download URL: certbot_dns_contabo_api-1.0.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for certbot_dns_contabo_api-1.0.2.tar.gz
Algorithm Hash digest
SHA256 783b711f15576c43d05b8a76b51fc1817fc4aa14b5f11b68aed71767ac3656df
MD5 dc5a7951aa93f0a9e9102b91b5ec08d2
BLAKE2b-256 7a0795f44705e258cd3dc7144a1484fec8c05886c524ca76296a8222b9297713

See more details on using hashes here.

File details

Details for the file certbot_dns_contabo_api-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_contabo_api-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1f134428b4579ac5fea119010f90a290fa547b033590166976844ecd670d5159
MD5 311cee81221dafc0d061874c1738f229
BLAKE2b-256 f3ec65489c2c99e382ee36bcfbc12e28692f901f19c065fdf874e4a4db2ef9b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page