# Remove a duplicate certificate

**URL:** <https://community.letsencrypt.org/t/remove-a-duplicate-certificate/170869>\
**Category:** Help\
**Created:** [January 29, 2022, 2:23pm UTC](https://community.letsencrypt.org/t/remove-a-duplicate-certificate/170869 "2022-01-29T14:23:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![highlysceptical](https://avatars.discourse-cdn.com/v4/letter/h/eb8c5e/32.png) [@highlysceptical](https://community.letsencrypt.org/u/highlysceptical)\
**Post date:** [January 29, 2022, 2:23pm UTC](https://community.letsencrypt.org/t/remove-a-duplicate-certificate/170869/1 "2022-01-29T14:23:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [January 29, 2022, 3:17pm UTC](https://community.letsencrypt.org/t/remove-a-duplicate-certificate/170869/2 "2022-01-29T15:17:31Z")

</div>

> [@highlysceptical](#):
>
> How do I remove the second certificate without breaking my Apache installation?

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

Then, remove the other certificate.

---

<div class="post-metadata">

**Author:** ![highlysceptical](https://avatars.discourse-cdn.com/v4/letter/h/eb8c5e/32.png) [@highlysceptical](https://community.letsencrypt.org/u/highlysceptical)\
**Post date:** [January 29, 2022, 4:49pm UTC](https://community.letsencrypt.org/t/remove-a-duplicate-certificate/170869/3 "2022-01-29T16:49:42Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [February 28, 2022, 4:50pm UTC](https://community.letsencrypt.org/t/remove-a-duplicate-certificate/170869/4 "2022-02-28T16:50:14Z")

</div>

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