-
Notifications
You must be signed in to change notification settings - Fork 1
Acmetool only allows 1 email address for generating certs #16
Comments
While acmetool doesn't accept CLI email addresses, it does accept This is a bad option - it introduces the need for state management, string replacement, and lots of conditional handling. |
Indeed this is a bad option. Maybe we could make a pull request for something like: |
Or what if we support that feature with a little bit of manual work. In the catalog itself we ask him for an default email and he can add those response-files by hand on the system if he really needs it |
I like the This will require more templating logic in Rancher-Gen, as we will have to handle something like
The response-file substitution logic could also be handled within Rancher-Gen:
|
Out of curiosity, why not create the response file on the fly from a template? You have a template generation tool right there -- default to the address set during stack creation and only override if a label is present. One optional new label per container is far better than adding a whole file. |
This makes a ton of sense! We can leverage label substitution and guarantee that there is a response file for each domain. |
@mathuin you are right it would be much easier but we have to think about the recreation of the certificates. Acmetool has a "batch" command where it recreates all of its certs that are > 66% of the expiring date. Thats definitly a thing we need to check if it is possible if we only create those files on the fly cause i for my self wan't the additional responsibility to safe the state of everything to enable that renew process. |
I wonder if the |
https://hlandau.github.io/acme/userguide#response-files It seems that the So we have 2 options in my opinion:
|
We do have a functioning product, let's not abandon it just yet. After MVP release we can explore this feature. |
@Munsio I do not agree with your interpretation of the documentation you cited above. Here's what it says in the source code's documentation on response files found at https://github.com/hlandau/acme/blob/83d2466ceb01a76d281ff8983465db191fbfa1e2/_doc/response-file.yaml#L6
Having a response file like this with a template blank for the value of That being said, it's definitely worth waiting for MVP. |
A common use-case is to have LE email addresses for specific domains. With the current setup, only a single email address can be used for generation.
Investigating if acmetool can accept an email address via CLI. If so, we should use labels to specify an LE email in addition to the default one.
The text was updated successfully, but these errors were encountered: