Failed authorization procedure

Failed authorization procedure. simca.tech (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://simca.tech/.well-known/acme-challenge/Jf8mgqQd0ugSEkUayQdufiyWMAZX7NAD6tahjUPRHJk [104.248.66.200]: “<!doctype html>\n<html lang=“en”>\n\n <meta charset=“utf-8”>\n SIMCA\n <base href=”/">\n\n <meta name=“viewpor”

My domain is: simca.tech

I ran this command: sudo certbot --nginx

It produced this output:
Failed authorization procedure. simca.tech (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://simca.tech/.well-known/acme-challenge/Jf8mgqQd0ugSEkUayQdufiyWMAZX7NAD6tahjUPRHJk [104.248.66.200]: “<!doctype html>\n<html lang=“en”>\n\n <meta charset=“utf-8”>\n SIMCA\n <base href=”/">\n\n <meta name=“viewpor”

My web server is (include version): digitalocean Ubuntu 18.04.2 x64

My hosting provider, if applicable, is: digitalocean

Hi @steven4389

checking your domain you see a part of the problem ( https://check-your-website.server-daten.de/?q=simca.tech ):

Domainname Http-Status redirect Sec. G
http://simca.tech/
104.248.66.200 200 0.344 H
http://www.simca.tech/
104.248.66.200 200 0.344 H
https://simca.tech/
104.248.66.200 -2 1.503 V
ConnectFailure - Unable to connect to the remote server No connection could be made because the target machine actively refused it 104.248.66.200:443
https://www.simca.tech/
104.248.66.200 -2 1.510 V
ConnectFailure - Unable to connect to the remote server No connection could be made because the target machine actively refused it 104.248.66.200:443
http://simca.tech/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de
104.248.66.200 200 0.343
Visible Content:
http://www.simca.tech/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de
104.248.66.200 200 0.343
Visible Content:

Port 80 is open. But there answers a

X-Powered-By: Express

not a nginx. So Certbot may have created the correct validation file, but your application doesn’t send that file.

PS: There is

Visible Content: </app-root>

as content visible, instead of the expected http status 404 - Not Found.

The community software hides that.

hi man, what must i to that my site send the file

Please check

If you want to use http-01 validation, Certbot must be able to create a validation file, Letsencrypt checks that file via

http://simca.tech/.well-known/acme-challenge/random-filename

So easiest solution. Find your webroot / documentroot, create the two directories .well-known/acme-challenge, there a file (file name 1234), then check if you can load that file via

http://simca.tech/.well-known/acme-challenge/1234

Try, if that works.

hi, already i did it but is same