Problem with double cert generated by mistake


By mistake requested a new cert instead of renewing, so I got one with 0001 ext. And that does not work. Now when running letsencrypt with --renew-by-default, the 0001 version gets renewed. What can I do to renew the working cert before it expires? And what happens when it expires, will the 0001 version work then?

Edit: New cert is ok, but not with prefix www. My mistake.


Just try to remove unnecessary certificate with 0001 suffix. Use the command certbot certificates to see current Let’s Encrypt certificates and the certbot delete --cert-name your_domain_0001 command to delete a certificate.