Halo, kalau kamu merasa tulisan saya membantu kamu, kamu bisa ucapkan terima kasih lewat saweria.

Hello, if you find this article helpful, you can express your gratitude through saweria.



Problem

  1. Suddenly Certbot is not working with the error ‘Certbot failed to authenticate some domains …’

  2. I haven’t changed anything in the DNS

  3. I haven’t upgraded Certbot

  4. I installed certbot using apt install python3-certbot, not using snap

  5. I haven’t enabled Cloudflare Proxy on this domain


How To Fix That

  1. Use certbot --nginx rollback or just certbot rollback.

    This is an option for rolling back server configuration changes. I don’t know why I need to do this, since I haven’t changed anything in the nginx config.

  2. Run certbot renew

Certbot Renew Now Successful!

Certbot Renew Now Successful!


References:

  1. Certbot Docs