Skip to main content

Hurricane Electric DNS Authenticator plugin for Certbot

Project description

Hurricane Electric DNS Authenticator plugin for Certbot


Installation

Install cerbot-dns-he to your Certbot’s environment with pip. For example, the line below works for me after running certbot-auto.

$ sudo /opt/eff.org/certbot/venv/bin/pip install cerbot-dns-he

You can also use git+https://github.com/TSaaristo/certbot-dns-he.git or clone the repository and install from the directory, but pip is recommended.

Example usage

Create a configuration file with your username and password:

certbot_dns_he:dns_he_user = Me
certbot_dns_he:dns_he_pass = my HE password

and chmod it to 600:

$ chmod 600 dns_he.ini

Then request a certificate with something like:

$ certbot-auto certonly \
  -a certbot-dns-he:dns-he --certbot-dns-he:dns-he-propagation-seconds 30 \
  --certbot-dns-he:dns-he-credentials /home/me/dns_he.ini -d 'mydomain.com,*.mydomain.com' \
  --server https://acme-v02.api.letsencrypt.org/directory --agree-tos \
  --manual-public-ip-logging-ok --preferred-challenges dns -m me@email.com

You’re done!

--certbot-dns-he:dns-he-propagation-seconds controls the duration waited for the DNS record(s) to propagate.
--certbot-dns-he:dns-he-credentials specifies the configuration file path.

These are stored in cerbot’s renewal configuration, so they’ll work on your automatic renewals.

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-he-1.0.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

certbot_dns_he-1.0.0-py2.py3-none-any.whl (7.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file certbot-dns-he-1.0.0.tar.gz.

File metadata

  • Download URL: certbot-dns-he-1.0.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for certbot-dns-he-1.0.0.tar.gz
Algorithm Hash digest
SHA256 019248f3819fbf8ef601024def5b187eda8086a0b45b6c6a24e2b01be5ffd26d
MD5 3a5cf7d9ce1c178e7c4a920017dd3b33
BLAKE2b-256 9757abc81d4b62d9038f83f143b1d9321ba0cc7170cbee68f0bc50f667647f41

See more details on using hashes here.

File details

Details for the file certbot_dns_he-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: certbot_dns_he-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for certbot_dns_he-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dd26ccad81c7a46bf30191493e066f29456621895aef3a5cfb806396fd42d227
MD5 5bfd53d6bac423ab67bdcc96fd6ad402
BLAKE2b-256 c2d8c80ef0b97cd2466b01e6e9e35c506cac28ae73bb364b25a7bfee9c5bdb53

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