certbot-lambda icon indicating copy to clipboard operation
certbot-lambda copied to clipboard

failures from certbot.main.main(certbot_args) not handled

Open meeuw opened this issue 3 years ago • 0 comments

Hi!

I've tried the same route you've done in this repository by calling:

certbot.main.main(certbot_args)

This caused some problems because certbot might call sys.exit (prematurely exiting the lambda) and the lock file isn't freed.

I fixed it this way: https://github.com/meeuw/certbot-lambda/blob/master/certbotwrapper/app.py#L33

meeuw avatar Apr 11 '21 17:04 meeuw