reddec / syno-cli

Synology unofficial API CLI and library
https://reddec.net/articles/how-to-get-ssl-on-synology/
MIT License
38 stars 2 forks source link

Domains as aliases #4

Open Pixelstrudel opened 2 years ago

Pixelstrudel commented 2 years ago

Script is working flawlessly with DSM7.1 however I would prefer to use a single certificate with multiple domains as aliases (in my case the root + wildcard domain). Any chance of this getting implemented?

reddec commented 2 years ago

Yep, this should be pretty straightforward. However, for your specific case (wildcard + non-wildcard) I have to check with the ACME standard is it possible.

Jaco1960 commented 2 years ago

Same request here, I would like to use a single certificate with 2 wildcard domains like .internal.domain, .domain. I manually created such certificates with acme before. It could be as simple as changing the DOMAINS environment variable to accept ";" as the delimiter instead of the ","

reddec commented 2 years ago

@Jaco1960 I am not sure that ACME (Let's Encrypt protocol) will let us issue multiple wildcard domains under one CN. I have to double-check :sweat_smile: