Cerbot Failed authorization procedure


#1

I’m trying to install a manually created SSL certificate from Lets Encrypt for a website that I host on Infinity Free (https://infinityfree.net/). I installed the Certbot client (old one) which generates the certificate on my Ubuntu 16.04 laptop by running ”sudo apt install letsencrypt” in Terminal as is instructed here https://certbot.eff.org/#ubuntuxenial-other. The client seems to be working fine.

I also installed the new Cerbot client with wget https://dl.eff.org/certbot-auto as described here: https://certbot.eff.org/#pip-apache. I ran ./certbot-auto certonly --manual -d world-wide-web.xyz. Same problem.

When I visit the URL in my browser I can see the validation file but ?i=1 gets added to the URL.

The only reason I can think of that the authorization fails is that the first time you connect with my website ?i=1 gets added to the URL:
http://world-wide-web.xyz/.well-known/acme-challenge/hscnwKEQecGwAayBs3XGmhfPFvRoLZweFpjH5xslWds?i=1

Domain: http://world-wide-web.xyz

Command line:
Old client:
sudo letsencrypt certonly --manual -d world-wide-web.xyz
Output:
Domain: world-wide-web.xyz
Type: unauthorized
Detail: Invalid response from http://world-wide-web.xyz/.well-known
/acme-challenge/hscnwKEQecGwAayBs3XGmhfPFvRoLZweFpjH5xslWds:
"<script type=“text/javascript” src="/aes.js"

function toNumbers(d){var
e=[];d.replace(/(…)/g,func"

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address.

OS: Ubuntu 16.04 (laptop)

Hosting: Infinity free
https://forum.infinityfree.net

Domain registrar: Hostinger.nl

I checked for urn:acme:error: in the Lets Encrypt log file and only found urn:acme:error:unauthorized

I checked the Lets Encrypt logs and the IP adress used is the same as I find with https://mxtoolbox.com.


#2

Somehow part of my message is not displayed:
New client
./certbot-auto certonly --manual -d world-wide-web.xyz
Output
Failed authorization procedure. world-wide-web.xyz (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://world-wide-web.xyz/.well-known/acme-challenge/IE_d3CumO7UxNZZjMWn5qRYFAqOcJnRDLzLaqPPNJjg: “function toNumbers(d){var
e=[];d.replace(/(…)/g,func"

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address.


#3

OK I found the reason. Infinity free security measures prevents the authorization.


#4

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