Skip to content

Certbot (Let's Encrypt) auth hook script for the Hurricane Electric DNS service

License

Notifications You must be signed in to change notification settings

angel333/certbot-he-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Certbot (Let's Encrypt) auth hook script for the Hurricane Electric DNS service (certbot-he-hook)

With this script, domains that are hosted at the Hurricane Electric DNS service are verified automatically using the DNS-01 validation, (as opposed to e.g. webroot validation). It adds a special TXT DNS record for the domain and then removes it when the verification is finished.

Example usage:

  1. Create a new certificate for a domain:

    HE_USER=<username> HE_PASS=<password> certbot certonly \
      --preferred-challenges dns \
      --email your@email.com \
      --manual \
      --manual-auth-hook /path/to/certbot-he-hook.sh  \
      --manual-cleanup-hook /path/to/certbot-he-hook.sh  \
      --manual-public-ip-logging-ok \
      --domain <requested.domain.com>
    
  2. Renew certificates for all domains:

    HE_USER=<username> HE_PASS=<password> certbot renew \
      --preferred-challenges dns \
      --manual-auth-hook /path/to/certbot-he-hook.sh  \
      --manual-cleanup-hook /path/to/certbot-he-hook.sh  \
      --manual-public-ip-logging-ok
    

Alternatively, instead of supplying HE_USER and HE_PASS, a session ID can be passed through HE_SESSID. Supplying a session ID is a bit faster.

Bugs

Feel free to submit bugs on the Github page or to me@ondrejsimek.com.

License

MIT

About

Certbot (Let's Encrypt) auth hook script for the Hurricane Electric DNS service

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages