Skip to main content

ACME DNS Authenticator plugin for Certbot

Project description

certbot-acme-dns

ACME DNS Authenticator plugin for Certbot.

This plugin automates the process of completing a dns-01 challenge with the help of an acme-dns proxy server.

Warning

Your ACME CA must properly implement RFC 8657, namely the accounturi issuance parameter. This plugin contains a list of compliant ACME CAs and will abort if the chosen CA is not on that list.

The RFC does not require CAs to fail validation when they don't understand an issuance parameter, meaning that unless a particular ACME CA explicitly documents supporting and honoring the accounturi issuance parameter, it will be silently ignored. Typos in the parameter names are allowed to be ignored, too (eg. accounturl will render your deployment insecure even when the CA fully implements the RFC). See the RFC complaint forum post for discussion.

You can force this plugin to proceed anyway using the --acme-dns-is-trusted=yes option. However, this is INSECURE and DANGEROUS, unless you self-host the acme-dns proxy server and fully trust it. The proxy server will be able to issue certificates for the "delegated" domain without your (certbot's) consent.

Installation

pip install certbot-acme-dns

Usage

To start using the plugin, pass the --authenticator=acme-dns (or just -a acme-dns for short) option to certbot's command line.

Custom ACME DNS proxy server URL can be specified using the --acme-dns-url https://acme-dns.example.com option, default is https://auth.acme-dns.io.

Development

Run tests

tox

Auto-fix code formatting

tox -e reformat

Run Certbot with the certbot-acme-dns plugin

tox -e run -- certonly -a acme-dns -d example.com

Certbot logs & config (accounts, hooks, certificates, etc.) are stored under ./.certbot/.

Build

sdist

tox -e build

wheel

tox -e build -- --wheel

Generate documentation

tox -e docs

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-acme-dns-0.3.1.tar.gz (11.6 kB view hashes)

Uploaded Source

Built Distribution

certbot_acme_dns-0.3.1-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

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