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. crt.sh | 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: gencyberbook.com
I ran this command: sudo certbot --apache
It produced this output:
Performing the following challenges:
http-01 challenge for gencyberbook.com
Waiting for verification...
Challenge failed for domain gencyberbook.com
http-01 challenge for gencyberbook.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: gencyberbook.com
Type: unauthorized
Detail: Invalid response from
http://gencyberbook.com/.well-known/acme-challenge/4IRUghnYExrstfnIrwPPAC0TYfQ1Ew3UJamJHzqtKXc
[3.101.9.7]: "\n\n404 Not
Found\n\nNot Found
\n<p"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.41 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 20.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): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 0.40.0
I have been trying to fix this issue for days and still no results. I have checked that port 80 and 443 are allowed in the security groups for the AWS EC2 instance and also checked that the DNS records are correct. Please help!