Specify separate certificate files #262

Closed
opened 2025-12-29 01:20:33 +01:00 by adam · 2 comments
Owner

Originally created by @BnMcG on GitHub (Nov 22, 2017).

I'm using per-domain config for my certificates, and that is working fine. However, all my domains are specified in one domains.txt, and consequently all domains are generated as one certificate.

Is there a way to specify that a new, separate, certificate should be generated for each domain name?

Thanks.

Originally created by @BnMcG on GitHub (Nov 22, 2017). I'm using per-domain config for my certificates, and that is working fine. However, all my domains are specified in one domains.txt, and consequently all domains are generated as one certificate. Is there a way to specify that a new, separate, certificate should be generated for each domain name? Thanks.
adam closed this issue 2025-12-29 01:20:33 +01:00
Author
Owner

@jobe1986 commented on GitHub (Nov 22, 2017):

Each line of domains.txt is a separate certificate, with the first host name on each line being treated as the primary host name for that certificate.

For example if you have a domains .txt such as the following, you will get 2 certificates, one for a.example.com and b.example.com and another for c.example.com:

a.example.com b.example.com
c.example.com

This is documented in https://github.com/lukas2511/dehydrated/blob/master/docs/domains_txt.md

@jobe1986 commented on GitHub (Nov 22, 2017): Each line of domains.txt is a separate certificate, with the first host name on each line being treated as the primary host name for that certificate. For example if you have a domains .txt such as the following, you will get 2 certificates, one for a.example.com and b.example.com and another for c.example.com: ``` a.example.com b.example.com c.example.com ``` This is documented in https://github.com/lukas2511/dehydrated/blob/master/docs/domains_txt.md
Author
Owner

@BnMcG commented on GitHub (Nov 22, 2017):

Ahah, thanks! That's what I was missing - sorry! My script is just outputting everything onto one line. Thanks for highlighting that in the docs for me, I just assumed it'd be something more complex.

@BnMcG commented on GitHub (Nov 22, 2017): Ahah, thanks! That's what I was missing - sorry! My script is just outputting everything onto one line. Thanks for highlighting that in the docs for me, I just assumed it'd be something more complex.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#262