Multiple domains are points to same cert


#1

Hi,

I’m new to let’s encrypt. I host multiple domains on my account and I created some certificates with the following command.

sudo -H ./letsencrypt-auto certonly --webroot --renew-by-default -d example.com -d www.example.com

Then I ran this following command.

./certbot-auto

This installed certificates for all of my other domains. but when I looked at the ssl conf file it’s all pointing to the same cert. it didn’t create individual directories and certs inside /letsencrypt/live. but all are working fine. I’m wondering why all using the same cert? Can somebody help?

I’m running apache server on Ubuntu 16.04

Thank you very much!


#2

what’s your domain name ? then we can check and answer your question


#3

You can also run ./certbot-auto certificates to view the content of all certificates managed by Certbot.


#4

One of my domains is mhpcsolutions.com. and I have some other domains hosted as well. wpbloomer.com, selectyourwebhost.com, webcinemas.net.

All SSL are working fine but my problem is all of the above domains are using only one certificate.

They all using mhpcsolutions.com’s cert

Certificate Path: /etc/letsencrypt/live/mhpcsolutions.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/mhpcsolutions.com/privkey.pem

So, Is this a problem? How can I install separate certs for each domain?

Thank you very much.


#5

They all look as if they are on the one certificate, yes.

It doesn’t matter that they are all on one certificate, no.

As to why ? what was your original command ? did you include all the domains in the list ( which would certainly cause that to happen )

To install separate certificates for each domain, you would need to run the command once for each domain, with only that domains name on it.


#6

Hi,

Thanks. yes. I selected the all domains in the list. Is there a way to remove all certs? so, I can install them again.

Thanks


#7

You can delete a specific certificate with ./certbot-auto delete --cert-name mhpcsolutions.com (for example). Remember that if the certificate is currently mentioned in any web server configurations those configurations may break when the certificate is deleted.


#8

Thanks you very much!


#9

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