Skip to content

TLS certificates don't persist #1349

Description

@curious-broccoli

"Problem" with hosting own instance

As stated in the wiki caddy requests a new certificate because the caddy data isn't persisted through restarts. Is this behavior intended? Because it shouldn't be much work to make the data persist. I think the issue is that the target location of the bind mount at

- ./certs/caddy:/etc/caddycerts
points to the wrong location and an environment variable should be set so that it works, as stated in the caddy container's instructions.

On my fork I also upgraded to Caddy 2 but the change to make it persist was to simply fix the bind mount location (curious-broccoli@d8114bf) and it seems to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DiscussionNeeds to be discussed before we can come up with specifications and begin the issue

    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