Skip to main content

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

  1. First install the plugin:

    pip install certbot-dns-active24
    
  2. 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"
    
  3. 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


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_active24-2.0.2.tar.gz (7.6 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_active24-2.0.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file certbot_dns_active24-2.0.2.tar.gz.

File metadata

  • Download URL: certbot_dns_active24-2.0.2.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for certbot_dns_active24-2.0.2.tar.gz
Algorithm Hash digest
SHA256 5023bf345457f6f05a53bbf34f6840e912ebc982457047288f376f2433a9503f
MD5 04ef88f823664eec503e07fc8b96afe0
BLAKE2b-256 b13236ad10f71c031e2c4177dfe230279a6edbe5873b1d0bbba928778af7dd06

See more details on using hashes here.

File details

Details for the file certbot_dns_active24-2.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_active24-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 764b0ce8685d270fab306c6ecd28f12afd5849b6e63752ef6115770f02ec4c49
MD5 6395432e017b4dfb37890d928a7dcea3
BLAKE2b-256 3cf74534f950cd0c955df6935d5d1102a536ddabc13d4703dbd8dbbebedc76e2

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