Lets Encrypt Delete Certificate And Config After Staging

Jan 11, 2018

To remove a certificate, delete the following

sudo rm /etc/letsencrypt/renewal/www.mydomain.com.confsudo rm -R /etc/letsencrypt/archive/www.mydomain.comsudo rm -R /etc/letsencrypt/live/www.mydomain.com

For my case, I bump into the following error after many fail attempt.

An unexpected error occurred: There were too many requests of a given type :: Error creating new authz :: too many failed authorizations recently: see https://letsencrypt.org/docs/rate-limits/

Thus hit the rate limit

There is a Failed Validation limit of 5 failures per account, per hostname, per hour. This limit is higher on our staging environment, so you can use that environment to debug connectivity problems.

I tested using --staging which is fine. After I remove --staging, some configration still stick with staging setup, thus I have to delete the certificate and config.

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.