Getting error when renew the certificate

sudo certbot certonly -a nginx -d rdsys.gillsinternational.com

su rajerp
cd /home/rajerp
cd frappe-bench

sudo service nginx status

sudo service nginx restart
sudo service supervisor restart

sudo service supervisor status

sudo certbot renew --dry-run -v
[sudo] password for rajerp:
Saving debug log to /var/log/letsencrypt/letsencrypt.log


Processing /etc/letsencrypt/renewal/rdsys.gillsinternational.com.conf


Certificate is due for renewal, auto-renewing...
Plugins selected: Authenticator nginx, Installer None
Simulating renewal of an existing certificate for rdsys.gillsinternational.com
Performing the following challenges:
http-01 challenge for rdsys.gillsinternational.com
Waiting for verification...
Challenge failed for domain rdsys.gillsinternational.com
http-01 challenge for rdsys.gillsinternational.com

Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: sitename
Type: connection
Detail: 124.43.65.187: Fetching http://rdsys.gillsinternational.com/.well-known/acme-challenge/foae8VUcbSNm9Rqffs3jObiZWGMTQWUMZY_Sbw20MfA: Timeout during connect (likely firewall problem)

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 rdsys.gillsinternational.com with error: Some challenges have failed.


All simulated renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/rdsys.gillsinternational.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.

1 Like

Welcome @raj1

Your ports 80 and 443 are blocked probably by a firewall . Also check your DNS IP is accurate . No one can access your site. It is not just a problem with let's encrypt.

3 Likes

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