0

When installing certbot on Ubuntu (20.04) it will automatically run certbot renew via cron or systemd.

If I place hook scripts in /etc/letsencrypt/renewal-hooks/(deploy|post|pre) will certbot also run these, or do I need to add '--deploy-hook' to the certbot command in cron|systemd?

0

Cerbot will run scripts from renewal-hooks. --deploy-hook is not required.

Don't forget to set chmod +x for scripts.

If you run

sudo certbot renew --dry-run

certbot executes the hooks too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.