Skip to main content

Hurricane Electric DNS Authenticator plugin for Certbot

Project description

Hurricane Electric DNS Authenticator plugin for Certbot


Installation

Install certbot-dns-hurricane-electric 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-hurricane-electric

You can also use git+https://github.com/studioeng/certbot-dns-hurricane-electric.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:

dns_hurricane_electric_user = Your HE username
dns_hurricane_electric_pass = Your HE password

and chmod it to 600:

$ chmod 600 dns_he.ini

Then request a certificate with something like:

domain="mail.example.com"
email="email@example.com"

$ certbot-auto certonly \
  --server https://acme-v02.api.letsencrypt.org/directory \
  --rsa-key-size 2048 \
  --preferred-challenges dns \
  --authenticator dns-hurricane_electric \
  --dns-hurricane_electric-credentials /data/dns_he.ini \
  --dns-hurricane_electric-propagation-seconds 30 \
  --domain "${domain}" \
  --email "${email}" \
  --agree-tos

You’re done!

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

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

Credits

The original plugin by @tsaarist has been unchanged for a number of years.

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_hurricane_electric-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

certbot_dns_hurricane_electric-0.1.0-py2.py3-none-any.whl (6.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file certbot_dns_hurricane_electric-0.1.0.tar.gz.

File metadata

File hashes

Hashes for certbot_dns_hurricane_electric-0.1.0.tar.gz
Algorithm Hash digest
SHA256 93e3ea43d39ac0abeee2005d2b491349895d48a7c2de4356eab1b873ff3bd17e
MD5 87d7ad5676e55a416d958a5fd679621e
BLAKE2b-256 d1d2808ae79f5882da13dedd3805301abba0f8bbd255fb5994b27ee38872e891

See more details on using hashes here.

File details

Details for the file certbot_dns_hurricane_electric-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_hurricane_electric-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b886e14b9becc3f117d6744bed5086c25dcd4f52a455489ddd7bc6ca91e4f088
MD5 9290c189f3cca7f72f16d5759a252c33
BLAKE2b-256 e1c666ccb82870682ea646d81e8aef6bb31e2609c7108348e1e46c87f519c0a5

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