A few months ago I created official certificates for my different web sites. I have two different domain names but because I didn’t know LE very well, I created everything in one command, which eventually I found not to be very good for maintenance. So I recreated certificates, one for each domain. It created new
*-0001 dirs and files, which I’m using now.
Today I renewed my certificates simply using
./letsencrypt-auto renew and everything worked fine, but I saw that my old, unused certificates where also renewed:
Processing /etc/letsencrypt/renewal/domain1.com-0001.conf new certificate deployed without reload, fullchain is /etc/letsencrypt/live/domain1.com-0001/fullchain.pem Processing /etc/letsencrypt/renewal/domain1.com.conf new certificate deployed without reload, fullchain is /etc/letsencrypt/live/domain1.com/fullchain.pem
In order to have something clean, I’d like to remove the old certificate (i.e.
domain1.com.conf) and keep only the one I’m actually using.
How do I do that?