Hi,
We have setup nginx with outh-2 to secure our web server, now we are trying to generate SSL with certbot but it gives below error, please help.
"Requesting a certificate for example.com
certbot |
certbot | Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
certbot | Domain: example.com
certbot | Type: connection
certbot | Detail: x.x.x.x: Fetching http://example.com/.well-known/acme-challenge/NZ81qPhgw_aGWRCknGlktaBVkMPI6PGAxxxxxxxx: Timeout during connect (likely firewall problem)
certbot |
certbot | Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
certbot |
certbot | Some challenges have failed.
"
That means LE servers were unable to reach your site [via HTTP (TCP port 80)].
The message had these suggestions:
Have you checked any of that?
Note: Without your actual domain name, we are not able to do any actual troubleshooting.
You could try using an online validation tool, like: https://letsdebug.net/
Thanks for your input,
Actually we are using DDNS for our main domain which is company.ddns.net and we created a CNAME record for new domain "door.company.net" in our DNS record which is pointing to our main ddns domain, just to access that web server.
Now from letsdebug.net, when i test http for our main ddns domain, it reaches but gives error of missing A or AAA record but for new domain door.company, it does not reach at all.
bab.mozn.sa has an A (IPv4) record (x.x.x.x) but a request to this address over port 80 did not succeed. Your web server must have at least one working IPv4 or IPv6 address.
What are your actual domain names? Because the two below give very different results where you say they are the same. If these are not your domain names please stop using them. It is difficult to help debug comms problems without the real domain name.
Looking at the detailed results in the below links you will see these are different ip addresses which point to completely different kinds of servers
Without the real domain names, we can't help you further. As stated in the questionnaire of the Help section (which you somehow didn't get or, more likely, purposely removed), providing the actual domain name is mandatory.
Witholding the actual domain name makes debugging WAY harder and providing fake domain names only confuses volunteers, wasting the time we put into helping other people.