LetsEncrypt SSL cert for domain and subdomain


I’ve just set up a Ghost instance on a DigitalOcean droplet for the URL https://divide100k.com. I also need https://www.divide100k.com to work, but the command ghost setup nginx ssl is only requestinf an SSL certificate for the basic URL.

As a workaround, I just modified the command and re-ran it:

sudo /etc/letsencrypt/acme.sh --issue --home /etc/letsencrypt --domain divide100k.com,www.divide100k.com --webroot /var/www/divide100/system/nginx-root --reloadcmd "nginx -s reload" --accountemail ...@gmail.com --force

That worked just fine, but I’d rather not have to make a renewal cron of an ugly hack. Is there a Ghost setting I haven’t been able to find for requesting a multi-domain cert?


Have you seen this?


I have not—that answers it, thank you!

closed #4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.