Deploy scripts function verify in dry-run mode

Hi all

I will place some scripts into > letsencrypt/renewal-hooks/deploy
but can’t verify function in dry-run mode.
Have method to verify function working correctly?

Thanks all very much.

Hi @epopen,

No, currently there is no such option in Certbot. I believe that there was another thread proposing it. Two reasons that dry-run doesn’t run deploy hooks are (1) the test certificates are currently not actually saved to disk in the expected locations, and (2) if they were, they would be untrusted test certificates, so deploying them via deploy hooks could result in deploying invalid certificates to a public web service!

Although it issues new certificates and thus counts against rate limits (and might not be a good option if you’re close to hitting the rate limits), you could try something like certbot renew --force-renewal which will cause a complete renewal process right away, including running all of the associated hooks.

1 Like

Hi @schoen

I got your suggestion.
Before, I think a exist method to trigger deploy hook and take exist (issued trusted) certificates file. :stuck_out_tongue:

Easiest and unblock public web service method only by “certbot renew --force-renewal”.
Thanks you very much :smiley:

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