I use `certbot renew` fails to update my ca

My domain is: www.driftluo.com

I ran this command: certbot renew -v

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/www.driftluo.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Certificate is due for renewal, auto-renewing...
Plugins selected: Authenticator nginx, Installer nginx
Renewing an existing certificate for www.driftluo.com
Performing the following challenges:
http-01 challenge for www.driftluo.com
Waiting for verification...
Challenge failed for domain www.driftluo.com
http-01 challenge for www.driftluo.com

Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
  Domain: www.driftluo.com
  Type:   unauthorized
  Detail: 2606:4700:3035::6815:43aa: Invalid response from http://www.driftluo.com/.well-known/acme-challenge/iIohneH5fxcGwVhk9tGYBrMQLSnmyYk2Le25TePCcY4: 403

Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.

Cleaning up challenges
Failed to renew certificate www.driftluo.com with error: Some challenges have failed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All renewals failed. The following certificates could not be renewed:
  /etc/letsencrypt/live/www.driftluo.com/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 renew failure(s), 0 parse failure(s)
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details

My web server is (include version):

$ nginx -v
nginx version: nginx/1.18.0 (Ubuntu)

The operating system my web server runs on is (include version):

$ lsb_release -a


No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.5 LTS
Release:        20.04
Codename:       focal

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

$ certbot --version
certbot 3.1.0

I tried to renew my ca certificate but it failed, curl http://www.driftluo.com/.well-known/acme-challenge/iIohneH5fxcGwVhk9tGYBrMQLSnmyYk2Le25TePCcY4 is ok,why it fails,how can I fix it?

I know what happened: A few months ago, my website was attacked by DDOS. I opened the CF under attack mode. After I turn off this mode, I can update the certificate

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.