Acme-challenge fails

Hello @kamekool, welcome to the Let's Encrypt community. :slightly_smiling_face:

I would have expected file not found instead of this:

$ curl -Ii http://lebichani.fr/.well-known/acme-challenge/sometestfile
HTTP/1.1 301 Moved Permanently
Server: nginx/1.14.2
Date: Wed, 22 Feb 2023 16:18:42 GMT
Content-Type: text/html
Content-Length: 185
Connection: keep-alive
Location: https://lebichani.fr/.well-known/acme-challenge/sometestfile
$ curl -k -Ii https://lebichani.fr/.well-known/acme-challenge/sometestfile
HTTP/2 403
server: nginx/1.14.2
date: Wed, 22 Feb 2023 16:18:46 GMT
content-type: text/html; charset=UTF-8
set-cookie: oc9r04yskf4q=ckt7trv3bjta5u670ou1rg8mgr; path=/; secure; HttpOnly; SameSite=Strict
expires: Thu, 19 Nov 1981 08:52:00 GMT
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
set-cookie: oc_sessionPassphrase=fmB3B4T%2Fm3RjpZIRiZrEqtO%2FygpkVcbh4txV6oryWBIDRY0e9qp0hvfmVluZHRZOSHJAMR839Zo1Sd2sOUlg2brlWUp0JKMqLs0qdJNBMfje1dBJ%2F57n2G6GiN%2BmRdYC; expires=Wed, 22-Feb-2023 16:38:46 GMT; Max-Age=1200; path=/; secure; HttpOnly; SameSite=Strict
content-security-policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *

Also that is an old version of Certbot check Certbot 2.3.0 Release

3 Likes