Troubleshoot When Let's Encrypt Renewal Is Not Working

Jan 21, 2019

Check renewal configuration at /etc/letsencrypt/renewal/.

Content of

# renew_before_expiry = 30 days
version = 0.22.2
archive_dir = /etc/letsencrypt/archive/
cert = /etc/letsencrypt/live/
privkey = /etc/letsencrypt/live/
chain = /etc/letsencrypt/live/
fullchain = /etc/letsencrypt/live/

# Options used in the renewal process
authenticator = webroot
installer = nginx
account = bf2a***

Test renewal.

certbot renew --cert-name --dry-run

My original renewal through webroot authenticator is failing because of missing /.well-known/acme-challenge directory.

I switch to nginx authentication to solve the issue.

certbot renew --cert-name --nginx

List all certbox certificates.

certbot certificates

❤️ 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.