Hey all!
I have a server that has about 15 sites on it - all have Lets Encrypt certs that were created automatically and automatically renew without issue. I add on average 2 new sites per month.
I added a new site yesterday and attempted to automatically install the ssl cert, but I’m running into an authorization error I’ve never seen and can’t seem to resolve. Any help or direction is greatly appreciated!
See below for logs:
` sudo certbot --authenticator standalone --installer apache --email support@studio98.com --eff-email --agree-tos --redirect -d www.domain.com -d domain.com --pre-hook “systemctl stop apache2” --post-hook “systemctl start apache2”;
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer apache
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Running pre-hook command: systemctl stop apache2
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.domain.com
http-01 challenge for domain.com
Waiting for verification…
Cleaning up challenges
Running post-hook command: systemctl start apache2
Failed authorization procedure. domain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://domain.com/.well-known/acme-challenge/1CkHe8iLRVHxWxub0jxg7Y8WqO__eLlvAEnb5DyBNUw: "\r\n<html lang=“en”>\r\n\r\n<!–[if ", www.domain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.domain.com/.well-known/acme-challenge/zKWYdd6NMiC2lN944Lvc3Uk6Bvw66U90KeBnz3HRTZQ: "\r\n<html lang=“en”>\r\n\r\n<!–[if "
`