How to add more domains to another certificate but they already have a certificate of their own

I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.28.0

Back when I created this website I had only one domain now we have purchased several, problem is has one certificate and has and

and domain2,3,4,5
have another SSL which is with the other domains 2,3,4 and 5.

How do I merge the 2,3,4,5 domains under the main domain1 certificate, do I delete the 2nd certificate they are using now ? Is there (and what is the command for that)
And then how to add the 2 3 4 5 domains to the domain1 certificate ?

Thank you

Is it an actual problem? Or is it just a question of cosmetics?

well the first SSL is on one domain and the other domains have another SSL and for the purpose I am using all of them, when a visitor goes to any other domain they get an SSL error because

Websites prove their identity via certificates. Firefox Developer Edition does not trust this site because it uses a certificate that is not valid for The certificate is only valid for the following names: domain1 and


That sounds like a badly configured webserver. While it might help to get all domains in one certificate, that doesn’t help against bad configurations.

Or is it just one site with multiple domain names? All leading to the same content? Or are all domains different sites?

Because if it’s just one site with multiple domain names, it wouldn’t be logical to split that one site into two virtual hosts, just because you have two certificates :stuck_out_tongue:

No the webserver is fine, so this is only one website with 4 - 5 domains, first one was bought when the site was built but then languages started adding up and we decided to have a different domain .de .com .nl etc… for different languages, so now they are in different domains, the languages I mean, but the certificates for domain1 are different for domain2 domain3 and domain4
So now I have to have them in one certificate because now when domain1 redirects you to domain2 you get BAD CERT DOMAIN

For a better overview, what’s the output of certbot certificates?

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