Bonsoir à tous,
Sous debian buster, je suis passé d'apache2 à nginx recemment.
Seul les "sites-enable" ont été configuré dans nginx.
En lançant la commande dehydrated -c, j'obtiens l'erreur suivante,
ERROR: Challenge is invalid! (returned: invalid) (result: {
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:unauthorized",
"detail": "Invalid response from http://mondomain.org/.well-known/acme-challenge/DbPVEoeJr57COMyGR4n5Ok60KC-xfHrUyEzKI124FM8 [XX.XX.XXX.XXX]: \"\u003chtml\u003e\\r\\n\u003chead\u003e\u003ctitle\u003e404 Not Found\u003c/title\u003e\u003c/head\u003e\\r\\n\u003cbody bgcolor=\\\"white\\\"\u003e\\r\\n\u003ccenter\u003e\u003ch1\u003e404 Not Found\u003c/h1\u003e\u003c/center\u003e\\r\\n\u003chr\u003e\u003ccenter\u003e\"",
"status": 403
},
"url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/4364677562/KadbwA",
"token": "DbPVEoeJr57COMyGR4n5Ok60KC-xfHrUyEzKI124FM8",
"validationRecord": [
{
"url": "http://mondomain.org/.well-known/acme-challenge/DbPVEoeJr57COMyGR4n5Ok60KC-xfHrUyEzKI124FM8",
"hostname": "mondomain.org",
"port": "80",
"addressesResolved": [
"XX.XX.XXX.XXX"
],
"addressUsed": "XX.XX.XXX.XXX"
(…)