How to add new domain to existing certificate

HI Team,

For example, I already have a letsencrypt certificate for “example.com” which is currently active. Now, i want to add another domain “testexample.com” to the existing certificate (both will lead to the same nginx vhost). How can I do so without affecting the existing certificate example.com.

Kindly help!!

Best Regards,
Zahid

You could use the --expand switch for certbot.

Just use the command which got you the certificate for “example.com” and add --expand ánd the new domain name with a extra -d switch.

1 Like

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