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

Skript mistakes "#" for certificate path #34

@dejhost

Description

@dejhost

When migrating nginx config files from a vanilla certbot installation I ran into the following problem:

Every line from the previous install had a comment added "# managed by Cerbot"

It seems like the startup script mistakes the # for a (second?) certificate file and as it (predictably) fails to read/find/evaluate it, the .nokey file is never renamed/copied and thus the virtual host remains inactive. In the log:

  • echo 'Couldn'''t find keyfile # for /etc/nginx/conf.d/WhatEver.conf.nokey',

I should add that removing the comment did the trick.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions