tsaaristo / certbot-dns-he Goto Github PK
View Code? Open in Web Editor NEWHurricane Electric DNS Authenticator plugin for Certbot
License: MIT License
Hurricane Electric DNS Authenticator plugin for Certbot
License: MIT License
I have two factor auth (TOTP) enabled on my dns.he.net account. Is there any way to use this plugin?
Hey @tsaaristo I found that you can't use this with subdomains. I noticed there's a pull request #2 for this same issue. Would you mind reviewing that PR and/or implement a way to enable subdomain support?
With this password I can log in to the HE account from a web browser, the problem was temporarily solved by changing the password to the one that does not contain signs.
In my case, that password contained the signs &, # and @.
$ sudo certbot certonly \
> -a certbot-dns-he:dns-he --certbot-dns-he:dns-he-propagation-seconds 30 \
> --certbot-dns-he:dns-he-credentials /home/[USERNAME]/dns_he.ini -d '[DOMAIN],*.[DOMAIN]' \
> --server https://acme-v02.api.letsencrypt.org/directory --agree-tos \
> --manual-public-ip-logging-ok --preferred-challenges dns -m [EMAIL]
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator certbot-dns-he:dns-he, Installer None
Obtaining a new certificate
Performing the following challenges:
dns-01 challenge for [DOMAIN]
dns-01 challenge for [DOMAIN]
Cleaning up challenges
Encountered exception during recovery:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 75, in handle_authorizations
resp = self._solve_challenges(aauthzrs)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 139, in _solve_challenges
resp = self.auth.perform(all_achalls)
File "/usr/lib/python3/dist-packages/certbot/plugins/dns_common.py", line 57, in perform
self._perform(domain, validation_domain_name, validation)
File "/usr/local/lib/python3.7/dist-packages/certbot_dns_he/dns_he.py", line 59, in _perform
raise errors.PluginError('Unable to authenticate to HE DNS')
certbot.errors.PluginError: Unable to authenticate to HE DNS
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/certbot/error_handler.py", line 108, in _call_registered
self.funcs[-1]()
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 323, in _cleanup_challenges
self.auth.cleanup(achalls)
File "/usr/lib/python3/dist-packages/certbot/plugins/dns_common.py", line 76, in cleanup
self._cleanup(domain, validation_domain_name, validation)
File "/usr/local/lib/python3.7/dist-packages/certbot_dns_he/dns_he.py", line 88, in _cleanup
raise errors.PluginError('Unable to authenticate to HE DNS')
certbot.errors.PluginError: Unable to authenticate to HE DNS
Unable to authenticate to HE DNS
I am running Ubuntu 20.04, which has deprecated Python2.7. My Python is really rusty, and I have not looked into how certbot
runs DNS plugins. Now that the LetsEncrypt people have deprecated certbot-auto
( Certbot 1.9.0 Release ), I am really at a loss of how to use this plugin.
I would like to ask, if I may, for a quick opinion -- Can this plugin be made to work with a few tweaks, or is a serious overhaul required?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.