My domain is:
ead.ibad.com.br
I ran these commands:
certbot --apache
certbot -a webroot -i apache -w /var/www/html/ -d ead.ibad.com.br -d www.ead.ibad.com.br
certbot certonly -a apache -w /var/www/html/ -d ead.ibad.com.br -d www.ead.ibad.com.br
It produced this output:
Failed authorization procedure. ead.ibad.com.br (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response fromB92lFw7cDyZwwSHPsI6YqTBUww [192.241.161.63]: "\n<html itemscope itemtype=“http://schema.org/WebPage” lang=“pt-BR”>\n\n\t<meta charset=“UTF-8”
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.ead.ibad.com.br
Type: unauthorized
Detail: Invalid response from
http://ead.ibad.com.br/.well-known/acme-challenge/kYYjHJye_UMGV4qpkUBAg9sbhadoeQVLfgXqvYsPqN4
[192.241.161.63]: "\n<html itemscope
itemtype=“http://schema.org/WebPage”
lang=“pt-BR”>\n\n\t<meta charset=“UTF-8”>\n\t<meta
name=“v”Domain: ead.ibad.com.br
Type: unauthorized
Detail: Invalid response from
http://ead.ibad.com.br/.well-known/acme-challenge/QaOyA3mq4zmB3LttmPpJ7ETvXgRenwZaMcPS5vH7z-k
[192.241.161.63]: "\n<html itemscope
itemtype=“http://schema.org/WebPage”
lang=“pt-BR”>\n\n\t<meta charset=“UTF-8”>\n\t<meta
name=“v”To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version):
Apache 2.4.7
The operating system my web server runs on is (include version):
Ubuntu 14.04.5 LTS
My hosting provider is:
DigitalOcean
I can login to a root shell on my machine (yes or no, or I don’t know):
Yes
I’m using a control panel to manage my site:
No
The version of my client is:
certbot 0.28.0
Additional Information:
It’s a wordpress site. There’s two plugins that might affect the result:
- one for forcing https;
- and another one for links redirection.
I tried disabling them but I still got the same problem.
I have created two files in:
http://ead.ibad.com.br/.well-known/acme-challenge/test
http://ead.ibad.com.br/.well-known/acme-challenge/test.txt
http://www.ead.ibad.com.br/.well-known/acme-challenge/test
http://www.ead.ibad.com.br/.well-known/acme-challenge/test.txt
Using Chrome both non-www links redirect to https and both www remains http.
Using Firefox all links remains in http.
Both browsers open the files instead of downloading them.
I also tested “Let’s Debug” and everything seems to be fine.
https://letsdebug.net/ead.ibad.com.br/39396
https://letsdebug.net/www.ead.ibad.com.br/39397
And also “Check Your Website Server”
But I am not sure what should I be looking for. I notice that I get “RemoteCertificateNameMismatch” when trying to access the well-known through www, which probably explains why I can’t access https, and also the non-www which returns nothing.
Here is the Transparency logs:
https://crt.sh/?q=ead.ibad.com.br
What should I do?
Regards,
Ibad.