Certbot renew Issue

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: gorx.org

I ran this command: sudo certbot renew

It produced this output: Challenge failed for domain gorx.org
Challenge failed for domain www.gorx.org
http-01 challenge for gorx.org
http-01 challenge for www.gorx.org
Cleaning up challenges
Attempting to renew cert (gorx.org) from /etc/letsencrypt/renewal/gorx.org.conf produced an unexpected error: Some challenges have failed.. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/gorx.org/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)

IMPORTANT NOTES:

My web server is (include version): nginx/1.18.0

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

My hosting provider, if applicable, is: DigitalOcean(hosting), NetworkSolutions(Domain)

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

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

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

Hi @bilalriaz, and welcome to the LE community forum :slight_smile:

I have three requests for you:

1. Please show this file:

2. Please upgrade this version:

See: Certbot Instructions | Certbot (eff.org)

3. Please provide the nginx config file:

nginx -T

1 Like

Hi @rg305 ,
Thanks for requests.
The issue has been resolved. here is the detail

1- ssh server => cd /var/www
2- sudo mkdir -p .well-known/acme-challenge
3- in nginx configarations

location ~ /.well-known/acme-challenge {
allow all;
root /var/www;
try_files $uri =404;
}

4- reload nginx
5- sudo certbot certonly --webroot -w /var/www -d gorx.org -d www.gorx.org
6- sudo certbot renew

And finaly ssl renewed.

1 Like

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