Certbot failed to authenticate some domains (authenticator: webroot) : Connection refused

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: makaveli.kiosquelitteraire.org

I ran this command:

docker run --rm \
  -v /var/www/greencheck/backend/certbot/www:/var/www/certbot \
  -v /var/www/greencheck/backend/certbot/conf:/etc/letsencrypt \
  certbot/certbot certonly \
  --webroot \
  --webroot-path=/var/www/certbot \
  --email nzanzu.lwanzo.work@gmail.com \
  --agree-tos \
  --no-eff-email \
  -d makaveli.kiosquelitteraire.org \
  -d www.makaveli.kiosquelitteraire.org

It produced this output:


Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
  Domain: makaveli.kiosquelitteraire.org
  Type:   connection
  Detail: 157.180.69.108: Fetching http://makaveli.kiosquelitteraire.org/.well-known/acme-challenge/TCeIbthT_uJvaSB6cBdqjxwLOk66hv9et3gSfArdYBY: Connection refused

  Domain: www.makaveli.kiosquelitteraire.org
  Type:   connection
  Detail: 157.180.69.108: Fetching http://www.makaveli.kiosquelitteraire.org/.well-known/acme-challenge/6lMjy6PSN7TVjSuB9UCr2oZEvPTkdJI3-vaIO3K4koM: Connection refused

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.

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): Hetzner

The operating system my web server runs on is (include version): Ubuntu 24

I can login to a root shell on my machine (yes or no, or I don't know): Yes

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): Using Certbot from Docker (latest)

Your system is refusing HTTP (port 80) requests coming from the public internet.

You didn't describe what web server you were using (Apache, nginx, other?) but usually that is what would reply to those requests.

This isn't unique to Let's Encrypt. A check from many places world-wide are all refused. Check firewalls, network configuration, and any port routing to/from your container.

4 Likes

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