Use SSL generator for other sub domains?

Can I use the ghost-cli SSL generator to generate an SSL certificate for another subdomain?

Ghost uses acme.sh under the hood. You have a couple of options to setup ssl for another domain:

  1. Use the CLI - there’s an FAQ page to change your url. You can set it to the subdomain, setup ssl, and then reset the domain

https://ghost.org/faq/change-configured-site-url/#change-the-configuration

  1. Use acme.sh to manually create a cert - the path to the script is /etc/letsencrypt/acme.sh

Alright, but can I use this to setup SSL for another domain that isn’t on my site? My domain for my site is for example: blog.domain.com, but I want to setup SSL for myusername.com essentially generating SSL certificates for multiple domains using the ghost-cli?

As long as they’re pointing to the correct IP, yes, either option will let you do that