Skip to main content

Hosting.nl DNS Authenticator plugin for Certbot

Project description

certbot-dns-hostingnl

hostingnl DNS Authenticator plugin for Certbot.

This plugin automates the process of completing a DNS-01 challenge by creating, and subsequently removing, TXT records using the hostingnl API end-points.

Installation

pip install certbot-dns-hostingnl

Named Arguments

To start using DNS authentication for hostingnl, pass the following arguments on Certbot's command line:

Option Description
--authenticator dns-hostingnl Select the authenticator plugin (Required)
--dns-hostingnl-credentials FILE hostingnl credentials INI file. (Default is /etc/letsencrypt/hostingnl.ini)
--dns-hostingnl-propagation-seconds NUM How long to wait before veryfing the written TXT challenges. (Default is 120)

Credentials

Use of this plugin requires a configuration file containing your hostingnl API key.
The token can be obtained from the hostingnl API settings page.

An example hostingnl.ini file:

dns_hostingnl_api_key = <api_key>

The default path to this file is set to /etc/letsencrypt/hostingnl.ini, but this can can be changed using the --dns-hostingnl-credentials command-line argument.

CAUTION: You should protect these API credentials as you would the password to your hostingnl account (e.g., by using a command like chmod 600 to restrict access to the file).

Examples

To acquire a single certificate for both example.com and *.example.com, waiting 900 seconds for DNS propagation:

certbot certonly \
  --authenticator dns-hostingnl \
  --dns-hostingnl-credentials ~/.secrets/certbot/hostingnl.ini \
  --dns-hostingnl-propagation-seconds 900 \
  --keep-until-expiring --non-interactive --expand \
  --server https://acme-v02.api.letsencrypt.org/directory \
  -d 'example.com' \
  -d '*.example.com'

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_hostingnl-0.1.5.tar.gz (5.7 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_hostingnl-0.1.5-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file certbot_dns_hostingnl-0.1.5.tar.gz.

File metadata

  • Download URL: certbot_dns_hostingnl-0.1.5.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for certbot_dns_hostingnl-0.1.5.tar.gz
Algorithm Hash digest
SHA256 2ff14bb9e219cd29e1331d9d6554a14bf308d7863b2e0de48943f1be50a0814e
MD5 ad069021a3940d8b7eca47efa36c91e7
BLAKE2b-256 2ce7dd502f96c33965669b1cb95357a33c3e6f259074ef8003c781c59681d51d

See more details on using hashes here.

Provenance

The following attestation bundles were made for certbot_dns_hostingnl-0.1.5.tar.gz:

Publisher: python-publish.yml on TECH7Fox/certbot-dns-hostingnl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file certbot_dns_hostingnl-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_hostingnl-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6f48b8f9ecf5d9c86529b773ef04d093a4c92012230d1f9faae8b1fc8bdc4795
MD5 c0d55650a75dc5d6bfd473cfd708003f
BLAKE2b-256 72717165c6461421e6d2be2ff97450639a3123975f059ca1ab155c053ed84842

See more details on using hashes here.

Provenance

The following attestation bundles were made for certbot_dns_hostingnl-0.1.5-py3-none-any.whl:

Publisher: python-publish.yml on TECH7Fox/certbot-dns-hostingnl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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