Remove a duplicate certificate

When I run "certbot certificates" on my Ubuntu server, it says that I have two certificates. One of them covers all my sites and the second one covers a subset of those sites. I don't understand how I got into this situation, but as far as I can see, the second certificate is absolutely pointless.

I tried to remove the second certificate, but that broke my websites, so I restored everything from a backup.

How do I remove the second certificate without breaking my Apache installation?

Thanks for any help.

First, make sure Apache is using the correct certificate for all sites.

Then, remove the other certificate.


Thanks. That seems to have worked! Not sure why I didn't think of that before. I just assumed that it was the first one that was being used.


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