Ubuntu nginx certbot verification fails

Hi @davidstuartbruce,

Before trying to modify your nginx conf, you should fix the connection issue, http-01 challenge must use port 80 but your domain can’t be reached on port 80, only on port 443.

$ curl -IkL -m10 http://gnuorleans.org/.well-known/acme-challenge/test
curl: (28) Connection timed out after 10001 milliseconds

$ curl -IkL -m10 https://gnuorleans.org/.well-known/acme-challenge/test
HTTP/1.1 404 Not Found
Server: nginx/1.14.0 (Ubuntu)
Date: Tue, 11 Sep 2018 16:31:21 GMT
Content-Type: text/html
Content-Length: 57
Connection: keep-alive

Cheers,
sahsanu

1 Like