You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running: certbot certonly --manual --manual-auth-hook /root/certbot-dns-name-com/src/certbot-dns-namecom.py -d domain.tld --agree-tos --email [email protected] --dry-run
I'm getting the following error
manual-auth-hook command "/root/certbot-dns-name-com/src/certbot-dns-namecom.py" returned error code 1
Error output from manual-auth-hook command certbot-dns-namecom.py:
Traceback (most recent call last):
File "/root/certbot-dns-name-com/src/certbot-dns-namecom.py", line 49, in <module>
cmd = sys.argv[1]
IndexError: list index out of range
Debian 11
certbot 1.12.0
The text was updated successfully, but these errors were encountered:
Newer versions of certbot don't pass an argument, but instead call separate hooks for add and cleanup. I solved this by wrapping the Python script in two Bash scripts. Certbot docs
When running:
certbot certonly --manual --manual-auth-hook /root/certbot-dns-name-com/src/certbot-dns-namecom.py -d domain.tld --agree-tos --email [email protected] --dry-run
I'm getting the following error
Debian 11
certbot 1.12.0
The text was updated successfully, but these errors were encountered: