Error when running certbot --apache

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: sigmadeltapi.club

I ran this command: certbot --apache

It produced this output: Requesting a certificate for sigmadeltapi.club and www.sigmadeltapi.club
Performing the following challenges:
http-01 challenge for sigmadeltapi.club
http-01 challenge for www.sigmadeltapi.club
Waiting for verification...
Challenge failed for domain sigmadeltapi.club
Challenge failed for domain www.sigmadeltapi.club
http-01 challenge for sigmadeltapi.clubCertbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: sigmadeltapi.club
Type: connection
Detail: 162.210.21.107: Fetching http://sigmadeltapi.club/.well-known/acme-challenge/yiROwYnmHJ2VWa6hg05FEw_0VWpmUNYx5TgsJUD8jfI: Error getting validation data

Domain: www.sigmadeltapi.club
Type: connection
Detail: 162.210.21.107: Fetching http://www.sigmadeltapi.club/.well-known/acme-challenge/j3sLJ_GQiCxvmpOREMr48FlD1ezxzgkGuXSYeKykMiY: Error getting validation data

http-01 challenge for www.sigmadeltapi.club

My web server is (include version): apache2

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

My hosting provider, if applicable, is:

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

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

Can't view letsencrypt.log even with sudo.

The "Error getting validation data" means the Let's Encrypt server could not complete its HTTP request to your domain. This is most likely a firewall on your premises. Or, perhaps a routing problem like wrong NAT or port forwarding in your router or comms config.

This is not a problem unique to Let's Encrypt. This test site cannot reach your domain's server from any of many locations around the world: Check website performance and response : Check host - online website monitoring

To use the HTTP challenge your domain needs to be accessible to HTTP requests on port 80. The --apache option you chose uses the HTTP Challenge. See: Challenge Types - Let's Encrypt

3 Likes

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