Skip to content

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

@meeuw

Description

@meeuw

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions