Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for certbot-dns-he, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size certbot_dns_he-1.0.0-py2.py3-none-any.whl (7.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size certbot-dns-he-1.0.0.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page