My domain is: example.com
I ran this command: sudo certbot --nginx -d example.com -d www.example.com
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator nginx, Installer nginx Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org Obtaining a new certificate Performing the following challenges: http-01 challenge for www.example.com Waiting for verificationā¦ Cleaning up challenges Failed authorization procedure. www.example.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.example.com/.well-known/acme-challenge/1HtLkaKQGWJRwh-hY1py8Ucw8DtYL0-SyJwtzMqvcc4 [2607:f8b0:400f:805::2013]: "\n\n \n <meta name=viewport content=āinitial-scale=1, minimum-scale=1, width=devā IMPORTANT NOTES: - The following errors were reported by the server: Domain: www.example.com Type: unauthorized Detail: Invalid response from http://www.example.com/.well-known/acme-challenge/1HtLkaKQGWJRwh-hY1py8Ucw8DtYL0-SyJwtzMqvcc4 [2607:f8b0:400f:805::2013]: "\n\n \n <meta name=viewport content=āinitial-scale=1, minimum-scale=1, width=devā 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): nginx
The operating system my web server runs on is (include version): linux ubuntu 16 ec2 instance on AWS
My hosting provider, if applicable, is: Godaddy
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
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if youāre using Certbot): certbot 0.31.0