How to clean up duplicate certificates


Please fill out the fields below so we can help you better.

My domain is:

I ran this command: sudo letsencrypt --apache -d -d -d -d

It produced this output:
error: only one vhost allowed in .conf. So I fixed the issue by creating another vhost.conf file and only adding a single vhost to each .conf file.

My operating system is (include version): Ubuntu Server 16.04 64 bit

My web server is (include version): Apache 2.4

My hosting provider, if applicable, is: Amazon EC2 instance

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

How can I clean up duplicate certificates? I ran let’s encrypt command for the domain and now I have 2 certificates: and I messed up on the first one so the second one is the correct one ( is the correct one.

Now it seems that certificates for both and the duplicate will be renewed. How can I remove Or is it okay to just leave it there since everything is working fine. I’m just concerned because 2 certificates are issued for a single domain and each time I renew, both certs will be renews. I just really need cert renewal for

Looking over other posts and the document, it seems I need to delete the following:


And leave the following alone intact:


Is this correct?

It would be extremely helpful if there was documentation on how to handle removing duplicate certificates (ending in -0001, etc) Or letting us know its okay to just leave it as is. Everything is working fine, but I just have this extra certificate and am not sure if I should just leave it alone or need to clean it up.


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