Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: dolgins.com & www.dolgins.com
I ran this command: sudo certbot --apache -d www.dolgins.com
It produced this output:
http-01 challenge for www.dolgins.com
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. www.dolgins.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.dolgins.com/.well-known/acme-challenge/NfwqQoCFci4BnFfowhQkFnFcYeqRoaZ4TzFGvOEwgCU: "
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.dolgins.com
<meta http-equiv="X-"
Type: unauthorized
Detail: Invalid response from
http://www.dolgins.com/.well-known/acme-challenge/NfwqQoCFci4BnFfowhQkFnFcYeqRoaZ4TzFGvOEwgCU:
"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
The operating system my web server runs on is (include version): Ubuntu 14
My hosting provider, if applicable, 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, or provide the name and version of the control panel): No, it is a rails site.
This same problem occurred here.