How to add additional domains to a multi-domain certificate


#1

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!


#2

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).


#3

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