Skip to content

certbot: Clean up to use --standalone rather than waiting for nginx to start #142

@timabbott

Description

@timabbott

The initial certbot implementation in #139 is super handy, but it has a somewhat awkward mechanism where we first generate a self-signed cert (so nginx will start), and then boot the machine (running the certbot job in the background), and the certbot job waits for nginx to start, and then runs certbot to create the cert.

It would be cleaner to e.g. run certbot for this purpose with certbot --standalone (rather than the nginx mode) before we've started nginx (which happens indirectly through the supervisord startup); that would eliminate the need for both the temporary self-signed certificate as well as the run-in-the-background messyness.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions