How to add new domains to Let’s Encrypt SSL certification while maintaining existing certificates?

Asked

Viewed 781 times

1

I already have some domains using Let’s Encrypt SSL certificate.

Through command certbot-auto, i install a certificate for a particular domain. For example:

sudo certbot-auto --apache -d meusite.com

How can I add new domains to this certificate?

That is, I want to run this command to certify other domains, but I would like to keep the ones that are already working.

  • And here I’m not able to put even 1. heuhuhe

  • @acklay what is your difficulty, young man?

1 answer

2


To do this, simply use the command certbot-auto combined with the option --expand, and -d, to add the desired domains.

  sudo certbot-auto --expand -d dominio1.com.br,dominio2.com.br

In my case, the added certificate was expired, perhaps because it is an old domain, so I had to run, after the above step, the command sudo certbot-auto renew.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.