I generated certificate for few domains and it got stored (symlinked) into
/etc/letsencrypt/live/the-first-domain.tld/*. Later I regenerated this certificate and added few more domains and it got stored to
/etc/letsencrypt/live/the-first-domain.tld-0001/*. I expected that the certificate is named after it’s first domain, but it looks like there is more logic behind.
I use this command:
letsencypt ... -d first-domain -d second-domain -d third... stored in bash script to get the certificate for all domains I have (with few subdomains).
How can I specify the name of the certificate, so it won’t be changed?