Certbot failed to authenticate some domains (authenticator: nginx)

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: baget2.shamash-dev.io

I ran this command: certbot renew --dry-run

It produced this output:
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: baget2.shamash-dev.io
Type: connection
Detail: 34.38.125.189: Fetching http://baget2.shamash-dev.io/.well-known/acme-challenge/oUZKLECjikkKyfRYVZyyY0YUipdMZADXq0SJq2QIMA4: 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.

Failed to renew certificate baget2.shamash-dev.io with error: Some challenges have failed.

My web server is (include version):

The operating system my web server runs on is (include version): nginx v1.18.0

My hosting provider, if applicable, is: gcp

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.11.0

Hi @Noam, and welcome to the LE community forum :slight_smile:

Is that the correct IP?
What shows?:
curl -4 ifconfig.me
curl -4 ifconfig.io

If so, it seems you may have locked down access to very specific IPs.

1 Like

Thank you.
Both return 34.38.125.189

Then you need to review the firewall policy.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.