mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Specify separate certificate files #262
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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:
This is documented in https://github.com/lukas2511/dehydrated/blob/master/docs/domains_txt.md
@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.