Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

More defensive code for letsencrypt #899

@jernst

Description

@jernst

Under some unclear circumstances we get this:

ERROR: Cannot read LetsEncrypt live (1) key and crt file: <undef> <undef>
Use of uninitialized value $keyFile in concatenation (.) or string at /usr/share/perl5/vendor_perl/UBOS/Roles/apache2.pm line 286.
Use of uninitialized value $crtFile in concatenation (.) or string at /usr/share/perl5/vendor_perl/UBOS/Roles/apache2.pm line 286.
ER

It may or may not have something to do with a suddenly-inactive LetsEncrypt account. But the result is that the apache config has an invalid syntax (no value for the key/cert files) and we should not end up there regardless.

Metadata

Metadata

Assignees

No one assigned

    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