Hi,
I am facing the below issue.
certbot -v certonly --standalone --preferred-challenges http -d api-demo.mydomain.io
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Requesting a certificate for api-demo.mydomain.io
Performing the following challenges:
http-01 challenge for api-demo.mydomain.io
Waiting for verification...
Challenge failed for domain api-demo.mydomain.io
http-01 challenge for api-demo.mydomain.io
Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
Domain: api-demo.mydomain.io
Type: connection
Detail: 115.217.211.110: Fetching http://api-demo.mydomain.io/.well-known/acme-challenge/-IDpLX5jpi5jXs90vpPK2Is-1iYQjEEdXxEXmnhPIr0: Timeout during connect (likely firewall problem)
Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.
Cleaning up challenges
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
What all Outbound and Inbound ports to be enabled in the firewall to generate Let's Encrypt SSL certificate for api-demo.mydomain.io? Please guide. Thanks in advance.
Best Regards,
Kaushal