Closed fayeg21 closed 1 year ago
Hmm, perhaps you're confused about the TOML syntax? This:
[[accounts.certificates]]
domains = ["*.foo.com"]
fullchain_output_file = "/etc/ssl/certs/foo.com.pem"
key_output_file = "/etc/ssl/private/foo.com.pem"
[[accounts.certificates]]
domains = ["*.bar.com"]
fullchain_output_file = "/etc/ssl/certs/bar.com.pem"
key_output_file = "/etc/ssl/private/bar.com.pem"
should do what you want (one account, two certificates
). You can check with a TOML to JSON converter, JSON might be easier to understand.
Thanks a lot for answering @justinas!
Yes I am confused abut TOML. But you've answered my question, thank you. I suspect I'm not the first person that would like to know this so may I sugggest this be added to the docs?
It would be great if this tool's config was easily used to create multiple separated certs for separate domain names.
i.e. something like this: