Hi, I just got my first domain and tried to get a certificate for it but I am getting the following error:
My domain is: liordev.online
I ran this command: sudo certbot --nginx -d liordev.online -d www.liordev.online
It produced this output: Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for liordev.online and www.liordev.online
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: liordev.online
Type: connection
Detail: 83.130.236.22: Fetching http://liordev.online/.well-known/acme-challenge/eNIoBKPZea_t0sCvO0ZHrJ_mxAeoumjIuaBRW6oIcy8: Timeout during connect (likely firewall problem)
Domain: www.liordev.online
Type: connection
Detail: 83.130.236.22: Fetching http://www.liordev.online/.well-known/acme-challenge/nyoJ1_VO2aF9aMpZs4xTCpa4umA2SBKn5ZDPjEgdG88: Timeout during connect (likely firewall problem)
Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.
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.
My web server is (include version): nginx
The operating system my web server runs on is (include version): ubuntu server 22.04.02 LTS
My hosting provider, if applicable, is: Partner Communications
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 2.3.0