One of my websites is producing this error message, even though I have dozens of other websites that were verified without problem. I’ve searched similar posts trying to find similarities but couldn’t find a solution.
My domain is: http://www.souzafloriano.com
I ran this command: sudo certbot certonly -d www.sousafloriano.com -d m.sousafloriano.com -d sousafloriano.com
It produced this output:
Failed authorization procedure. m.souzafloriano.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://m.souzafloriano.com/.well-known/acme-challenge/1fe_KQ9Gw9saLxDzVym6bLNuPzI10Vh9C1DLn-qkvyQ: "<!DOCTYPE HTML>\n\t\t\t\t\t\t<html lang=\"pt-br\">\n\t\t\t\t\t\t<head>\n\t\t\t\t\t\t<meta charset=utf-8>\n\t\t\t\t\t\t<title>Log de erro [ 2018-11-13 17:25:56", www.souzafloriano.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.souzafloriano.com/.well-known/acme-challenge/CY7IKcYCsej9WcUjd4UEeT5pMUde15rAkS2eZrstERU: "<!DOCTYPE HTML>\n\t\t\t\t\t\t<html lang=\"pt-br\">\n\t\t\t\t\t\t<head>\n\t\t\t\t\t\t<meta charset=utf-8>\n\t\t\t\t\t\t<title>Log de erro [ 2018-11-13 17:25:56", souzafloriano.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://souzafloriano.com/.well-known/acme-challenge/vAbw6nLTA1ndMvQeI6ECxJiT3PX95dEpzUKwwtd9j0k: "<!DOCTYPE HTML>\n\t\t\t\t\t\t<html lang=\"pt-br\">\n\t\t\t\t\t\t<head>\n\t\t\t\t\t\t<meta charset=utf-8>\n\t\t\t\t\t\t<title>Log de erro [ 2018-11-13 17:25:56"
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: m.souzafloriano.com
Type: unauthorized
Detail: Invalid response from
http://m.souzafloriano.com/.well-known/acme-challenge/1fe_KQ9Gw9saLxDzVym6bLNuPzI10Vh9C1DLn-qkvyQ:
"<!DOCTYPE HTML>\n\t\t\t\t\t\t<html
lang=\"pt-br\">\n\t\t\t\t\t\t<head>\n\t\t\t\t\t\t<meta
charset=utf-8>\n\t\t\t\t\t\t<title>Log de erro [ 2018-11-13
17:25:56"
Domain: www.souzafloriano.com
Type: unauthorized
Detail: Invalid response from
http://www.souzafloriano.com/.well-known/acme-challenge/CY7IKcYCsej9WcUjd4UEeT5pMUde15rAkS2eZrstERU:
"<!DOCTYPE HTML>\n\t\t\t\t\t\t<html
lang=\"pt-br\">\n\t\t\t\t\t\t<head>\n\t\t\t\t\t\t<meta
charset=utf-8>\n\t\t\t\t\t\t<title>Log de erro [ 2018-11-13
17:25:56"
Domain: souzafloriano.com
Type: unauthorized
Detail: Invalid response from
http://souzafloriano.com/.well-known/acme-challenge/vAbw6nLTA1ndMvQeI6ECxJiT3PX95dEpzUKwwtd9j0k:
"<!DOCTYPE HTML>\n\t\t\t\t\t\t<html
lang=\"pt-br\">\n\t\t\t\t\t\t<head>\n\t\t\t\t\t\t<meta
charset=utf-8>\n\t\t\t\t\t\t<title>Log de erro [ 2018-11-13
17:25:56"
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 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 14.04.5
My hosting provider, if applicable, is: Amazon
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, or provide the name and version of the control panel): No