w2c / letsencrypt-esxi

Let's Encrypt for VMware ESXi with easy installation using pre-built VIB or offline bundle. Auto-renewal of certificates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi domain cert

Fedvarg opened this issue · 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😊