Hi, encountered a strange error:
In certbot log I see 404 error, but if I open the link at the same moment in my browser I will see the correct answer:
In Nginx log I see that:
23.178.112.102 - - [30/May/2023:14:43:06 +0300]"GET /.well-known/acme-challenge/iy4_DTlxl4uiCFVoCiFoa4tt9uX9IchRSH7JvpQyDQU HTTP/1.1" 404 15831".well-known/acme-challenge/iy4_DTlxl4uiCFVoCiFoa4tt9uX9IchRSH7JvpQyDQU" admin.portal.wavea.cc "Mozilla/5.0 (compatible; Let's Encrypt validation server; +htt ps://www.letsencrypt.org)""0.000" "-""-" "US"
but from browser code 200:
-
- [30/May/2023:14:43:21 +0300]"GET /.well-known/acme-challenge/iy4_DTlxl4uiCFVoCiFoa4tt9uX9IchRSH7JvpQyDQU HTTP/2.0" 200 87"-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0""0.000" "-""-" "-"
My domain is:
I ran this command:
certbot certonly --nginx -d
It produced this output:
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Invalid response from well-known/acme-challenge/iy4_DTlxl4uiCFVoCiFoa4tt9uX9IchRSH7JvpQyDQU: 404
My web server is (include version):
nginx/1.24.0
The operating system my web server runs on is (include version):
Ubuntu 22.04.2 LTS
My hosting provider, if applicable, is:
self-hosted
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 2.6.0
Trying to reinstall cerbot, and disable ssl redirect but nothing has changed.
certbot log: