Skip to main content

GitHub Release PyPI Version Snapcraft Version License Build Release codecov

Certbot DNS Plugin for Hetzner Cloud DNS

This is a Certbot DNS plugin for the new Hetzner Cloud DNS, which allows you to automate the process of obtaining and renewing SSL/TLS certificates using the DNS-01 challenge method. This Plugin is not compatible with the old Hetzner DNS Console and you might want to take a look at the certbot-dns-hetzner plugin instead.

Setup

Installation

To install the Certbot DNS plugin for Hetzner Cloud DNS, you can either use pip or snap.

Installation using pip

If you installed Certbot within a virtual environment (e.g., /opt/certbot) as per official Certbot instructions you can install the plugin using the following command:

/opt/certbot/bin/pip install certbot-dns-hetzner-cloud

Installation using snap

If you installed Certbot using snap, you can install the plugin with the following commands:

sudo snap install certbot-dns-hetzner-cloud
sudo snap set certbot trust-plugin-with-root=ok
sudo snap connect certbot:plugin certbot-dns-hetzner-cloud

Verify installation

After installation, you can verify that the plugin is available by running:

certbot plugins

you should see dns-hetzner-cloud listed among the available plugins.

Storing the API Token

Create a configuration file under /etc/letsencrypt/hetzner-cloud.ini with the following content:

# Hetzner Cloud API Token
dns_hetzner_cloud_api_token = your_api_token_here

Make sure to set the correct permissions for the configuration file to protect your API token:

sudo chmod 600 /etc/letsencrypt/hetzner-cloud.ini

If you want to use a different path for the configuration file, you can specify it using the --dns-hetzner-cloud-credentials option when running Certbot.

The token must belong to the Hetzner Cloud project that contains the zone. The plugin looks up the zones of that project and uses the most specific one the name belongs to, so zones for subdomains work as well.

Usage

You can use the plugin with Certbot by specifying the dns-hetzner-cloud authenticator. Here is an example command to obtain a certificate for a wildcard subdomain:

certbot certonly --agree-tos \
  --authenticator dns-hetzner-cloud \
  -d '*.example.eu'

If you want to use a different path for the configuration file, you can specify it using the
--dns-hetzner-cloud-credentials option.

certbot certonly --agree-tos \
  --authenticator dns-hetzner-cloud \
  --dns-hetzner-cloud-credentials /path/to/your/hetzner-cloud.ini \
  -d '*.example.eu'

Metadata

Release files for certbot-dns-hetzner-cloud 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for certbot-dns-hetzner-cloud 1.0.6
File Size Uploaded Provenance Actions
certbot_dns_hetzner_cloud-1.0.6.tar.gz 17.5 kB With provenance Details for certbot_dns_hetzner_cloud-1.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for certbot-dns-hetzner-cloud 1.0.6
File Interpreter ABI Platform Actions
certbot_dns_hetzner_cloud-1.0.6-py3-none-any.whl Python 3 none any Details for certbot_dns_hetzner_cloud-1.0.6-py3-none-any.whl

Total release size: 24.2 kB

Release files / certbot_dns_hetzner_cloud-1.0.6.tar.gz

Download URL certbot_dns_hetzner_cloud-1.0.6.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
af489559dc4c2babfc813fcad7d58bbcb2dc0153088eeb1fffc6b20a438a5cef
BLAKE2b-256 checksum
How to use checksums
e0632381e85ae290ab6c409ed3449b18b8b78d162f5b1712040ccaef31b3c45f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / certbot_dns_hetzner_cloud-1.0.6-py3-none-any.whl

Download URL certbot_dns_hetzner_cloud-1.0.6-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a0954733bf44a9fbe175472f165e1cef28ce513e74ec4dfaabd9d5aacfdcfc5
BLAKE2b-256 checksum
How to use checksums
a5c68d0b1e7213d20e3816f4508febcb01d53dfd888b271210c7317eb26c0648
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for certbot-dns-hetzner-cloud 1.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for certbot_dns_hetzner_cloud-1.0.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page