Some challenges have failed (NGINX)

description :slight_smile:
I have an application running on VPS hosted by 'HOSTINGER',
it runs an Nginx docker container

I point this subdomain that lives in 'OVHcloud' to my VPS.

My domain is:
http://creators.colibristudio.co/

I ran this command:
sudo certbot certonly --webroot -w /webroot -d colibristudio.co

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for colibristudio.co

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: colibristudio.co
Type: unauthorized
Detail: The key authorization file from the server did not match this challenge. Expected "ouJ0snorYIyxbPWGbtGDgbiWxlImZCmLPR67TinWBs8.fEYu0uT2B7xyqzxI-GCEAvY8TcBEGYnq8pCp1Uja3P4" (got "ouJ0snorYIyxbPWGbtGDgbiWxlImZCmLPR67TinWBs8.4E3VCTFsySjUrqnCg0ooULx-3kbdPBygi0aWkvg5Gd8")

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.

Some challenges have failed.
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):

The operating system my web server runs on is (include version):
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="Bugs : Ubuntu"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

My hosting provider, if applicable, is:
hostinger

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 1.21.0

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

This is very strange:

We should have a look at the renewal config file:
/etc/letsencrypt/renewal/colibristudio.co.conf ?

And the full nginx configuration:
nginx -T

2 Likes

2 posts were split to a new topic: Challenge is failing

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