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

No ACME CA currently supports RFC 8657, namely the accounturi issuance parameter.

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.2.0.tar.gz (11.1 kB view details)

Uploaded Source

File details

Details for the file certbot-acme-dns-0.2.0.tar.gz.

File metadata

  • Download URL: certbot-acme-dns-0.2.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9

File hashes

Hashes for certbot-acme-dns-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cb64bf78711330bb6722cdc152a2d925c10a6756fc61f52c2bcc8fe0daf8bcb5
MD5 9e7d18499963ef3c6ca1204a0e02c6b1
BLAKE2b-256 e6a6937ef0796b21b5f0fc391fd52387d5519c36b0cf3d9cc890d86f17684fc9

See more details on using hashes here.

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