My domain is:eh-uat.mdtlabs.org
I ran this command:
letsencrypt certonly --webroot -w /home/ubuntu/mdtlabs -d eh-uat.mdtlabs.org
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Enter email address (used for urgent renewal and security notices) (Enter ‘c’ to
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server at
Would you be willing to share your email address with the Electronic Frontier
Foundation, a founding partner of the Let’s Encrypt project and the non-profit
organization that develops Certbot? We’d like to send you email about our work
encrypting the web, EFF news, campaigns, and ways to support digital freedom.
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for eh-uat.labsplatform.com
Using the webroot path /home/platform/letsencrypt_certificate/labsplatform for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. eh-uat.labsplatform.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://eh-uat.labsplatform.com/.well-known/acme-challenge/lTkZTrzHDu4IwThy4xJjRQggJcxUlRm6CfETTDsxkZM [18.104.22.168]: “<!doctype html><html lang=“en”><meta charset=“utf-8”/><link rel=“shortcut icon” href=”/favicon.ico"/><meta name=“viewport”"
The following errors were reported by the server:
Detail: Invalid response from
[22.214.171.124]: “<!doctype html><html lang=“en”><meta
charset=“utf-8”/><link rel=“shortcut icon”
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.
Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
My web server is (include version): Using AWS ELB
The operating system my web server runs on is (include version): Operating System is ubuntu 18.04
My hosting provider, if applicable, is: AWS
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): Yes, Google Domain
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot): 0.31.0