Replies: 1 comment 11 replies
|
Your explanation is still not clear because you are focused on a possible solution instead of the detailed description of the problem. Note: 2 containers can share files by mounting a volume. |
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Scenario:
For years, you're using some other service on some other system to issue/renew certs via ACME account ID 1234 just fine.
Then, you start using Home Assistant which offers its own "app" (basically another docker container, run in parallel to its main container) to issue/renew LE certs - which is nothing but an adapted
cert-multi-dnsinstance which in turn useslegowhich in turn creates its own files & folder structure as perfectly described here (just klick ontree).Upon first launch,
lego, if it determines that there's no ACME account stored yet, creates the required ACME account & uses that ACME account ID from then on until forever.Problem:
This scenario leaves any user with two ACME accounts instead of one. Especially, because due to the nature of containers, there's no access to internal files, so the ACME account ID can't be changed.
Proposal:
Provide a parameter, e.g.,
--account.id, which, if provided, overrides the current account ID read fromlego's internal config files & instead stores that ID for future actions.All reactions