Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-Hook Key Error: CERTBOT_DOMAIN #28

Open
cwchristerw opened this issue Jun 13, 2023 · 1 comment
Open

Pre-Hook Key Error: CERTBOT_DOMAIN #28

cwchristerw opened this issue Jun 13, 2023 · 1 comment

Comments

@cwchristerw
Copy link

cwchristerw commented Jun 13, 2023

Running pre-hook command: /etc/letsencrypt/renewal-hooks/pre/acme-dns-auth.py
Hook 'pre-hook' reported error code 1
Hook 'pre-hook' ran with error output:
Traceback (most recent call last):
File "/etc/letsencrypt/renewal-hooks/pre/acme-dns-auth.py", line 22, in
DOMAIN = os.environ["CERTBOT_DOMAIN"]
File "/usr/local/lib/python3.10/os.py", line 680, in getitem
raise KeyError(key) from None
KeyError: 'CERTBOT_DOMAIN

@cwchristerw
Copy link
Author

I'm not sure what may cause this error because python script works properly even with this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant