w2c/letsencrypt-esxi

Multi domain cert

Fedvarg opened this issue · 1 comments

Hello,

Are there any settings that I can use to configure multiple domains for the cert that will be generated?

Best regards

Hi,

Currently, renew.sh is tailored to supported just one domain which it reads from hostname -f.

To add support for multiple domains, all the places in the script where $DOMAIN is processed, would need to be adapted. Also the handling with openssl would need to adjustment, i.e., use the first domain as CN, additional ones should go to the SAN section. Feel free to open a PR with these changes😊