How to configure manual auth_hook in renewal conf?

Is there a way to specify the manual auth/cleanup hooks in the renewal conf file, so that the scheduled certbot renew command can remain unchanged?

Something like this (though it does NOT work):

[renewalparams]
authenticator = manual
account = xxx
server = xxx
auth_hook = /root/scripts/certbot-auth.sh
cleanup_hook = /root/scripts/certbot-auth-cleanup.sh

Here’s what I have:

[renewalparams]
account = xxx
authenticator = manual
manual_auth_hook = /path/to/auth.py
manual_cleanup_hook = /path/to/cleanup.py
manual_public_ip_logging_ok = True
pref_challs = dns-01,
server = https://acme-v02.api.letsencrypt.org/directory

(For what it’s worth, Certbot account IDs aren’t sensitive. They are long and boring, though.)

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.