How to add additional domains to a multi-domain certificate

I created a multi-domain certificate like this:

certbot certonly --webroot -w /home/www -d mydomain.com -d www.mydomain.com -w /home/ww2 -d ww2.mydomain.com -w /home/ww3 -d ww3.mydomain.com

If I want to add an additional subdomain to this certificate (ww4.mydomain.com, for example), do I issue the whole command above along with the new subdomain added to the end, or is there a way to append a new domain to the existing certificate without having to specify all the domains again?

Thanks!

Yes.

Not currently in Certbot. Using --expand and specifying only the new domain is a common error that doesn't do what users may expect (it removes all the other domains).

1 Like

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