Have cert for example.com, want to extend it to include www.example.com

I have a letsencrypt certificate for a domain, say example.com. I would like the cert to be for example.com and www.example.com. Is there a way to do a renewal or update to extend the existing cert?

assuming you are running certbot - try the --expand option on the command line. see https://certbot.eff.org/docs/using.html#re-running-certbot for details.

2 Likes

Don’t forget to include all the desired names in -d options when doing this (-d example.com -d www.example.com).

1 Like

Thanks, that worked.

1 Like

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