domain specific config file #301

Closed
opened 2025-12-29 01:21:37 +01:00 by adam · 5 comments
Owner

Originally created by @ksingvo on GitHub (Mar 14, 2018).

At the moment all config files in CONFIG_D/* are included when running dehydrated.

I'm asking to include a domain specific configuration file, which relies on the domains read from DOMAINS_TXT, to get ability of domain specific configuration settings, like CONTACT_EMAIL or any other.

Example:
domains.txt consists of:

  • example.com
  • example.net

When processing domain example.com a config file named "directory"/"example.com".sh should be parsed, but not "directory"/"example.net".sh
Similar when processing domain example.net: config file named "directory"/"example.net".sh should be parsed, but not "directory"/"example.com".sh

I'm open regarding the implementation details, and "directory" is only to be seen as a placeholder. :)

Originally created by @ksingvo on GitHub (Mar 14, 2018). At the moment **all** config files in CONFIG_D/* are included when running dehydrated. I'm asking to include a domain specific configuration file, which relies on the domains read from DOMAINS_TXT, to get ability of domain specific configuration settings, like CONTACT_EMAIL or any other. Example: domains.txt consists of: * example.com * example.net When processing domain example.com a config file named "directory"/"example.com".sh should be parsed, but **not** "directory"/"example.net".sh Similar when processing domain example.net: config file named "directory"/"example.net".sh should be parsed, but **not** "directory"/"example.com".sh I'm open regarding the implementation details, and "directory" is only to be seen as a placeholder. :)
adam closed this issue 2025-12-29 01:21:37 +01:00
Author
Owner

@txr13 commented on GitHub (Mar 14, 2018):

Please see the per-certificate config file - https://github.com/lukas2511/dehydrated/blob/master/docs/per-certificate-config.md.

@txr13 commented on GitHub (Mar 14, 2018): Please see the per-certificate config file - https://github.com/lukas2511/dehydrated/blob/master/docs/per-certificate-config.md.
Author
Owner

@ksingvo commented on GitHub (Mar 14, 2018):

Thanks. Wasn't aware.
But CONTACT_EMAIL isn't a supported option, is it?

@ksingvo commented on GitHub (Mar 14, 2018): Thanks. Wasn't aware. But CONTACT_EMAIL isn't a supported option, is it?
Author
Owner

@txr13 commented on GitHub (Mar 14, 2018):

CONTACT_EMAIL is set on the account level, not on the certificate level. To have a different CONTACT_EMAIL, you would need to create a completely separate account on the ACME server.

@txr13 commented on GitHub (Mar 14, 2018): CONTACT_EMAIL is set on the account level, not on the certificate level. To have a different CONTACT_EMAIL, you would need to create a completely separate account on the ACME server.
Author
Owner

@ksingvo commented on GitHub (Mar 14, 2018):

I see. Thanks for explanation.

@ksingvo commented on GitHub (Mar 14, 2018): I see. Thanks for explanation.
Author
Owner

@ksingvo commented on GitHub (Mar 14, 2018):

As it is already implemented or not possible (reason given), this issue can be closed from my point of view.

@ksingvo commented on GitHub (Mar 14, 2018): As it is already implemented or not possible (reason given), this issue can be closed from my point of view.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#301