The client lacks sufficient authorization

My domain is: games.setsnc.com

I followed this guide: https://serversforhackers.com/c/letsencrypt-with-haproxy

When I try to generate certificate I get:
Failed authorization procedure. games.setsnc.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://games.setsnc.com/.well-known/acme-challenge/5qh3bJCdwPQ7-6rEwhYVVWoT-R1v5HbHZyfUj2zwHBM: "<!doctype html>

Page Not Found
    <meta charset="utf-8">
    <meta "

IMPORTANT NOTES:

My web server is (include version): nginx

The operating system my web server runs on is (include version): ubuntu 18.04

My hosting provider, if applicable, is: OVH

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

if I manually create the folder and touch that file, I can download it via browser. We have no AAAA records.

any help?
thanks

Hi @giorg

there is a strange configuration:

First try - I see a 503 and it's slow - 3 seconds.

D:\temp>download http://games.setsnc.com/.well-known/acme-challenge/5qh3bJCdwPQ7-6rEwhYVVWoT-R1v5HbHZyfUj2zwHBM -h
Error (1): Der Remoteserver hat einen Fehler zurückgegeben: (503) Server nicht verfügbar.
ProtocolError
503

3149,75 milliseconds
3,15 seconds

Next try I get a 404:

D:\temp>download http://games.setsnc.com/.well-known/acme-challenge/5qh3bJCdwPQ7-6rEwhYVVWoT-R1v5HbHZyfUj2zwHBM -h
Error (1): Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
ProtocolError
404

236,94 milliseconds
0,24 seconds

That changes - 503, 404, 503, 404.

Please share your complete command you used.

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