"Error getting validation data"

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. https://crt.sh/?q=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: edupecsoftware.com/

I ran this command: sudo certbot certonly --webroot

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): edupecsoftware.com www.edupecsoftware.com
Requesting a certificate for edupecsoftware.com and www.edupecsoftware.com
Input the webroot for edupecsoftware.com: (Enter 'c' to cancel): /var/www/html

Select the webroot for www.edupecsoftware.com:


1: Enter a new webroot
2: /var/www/html


Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: edupecsoftware.com
Type: connection
Detail: 143.198.106.50: Fetching https://edupecsoftware.com/.well-known/acme-challenge/-ay1i-G8g_hlEj0wnH3aNK4z8aUGHTCddZIXHhYT7bU: Error getting validation data

Domain: www.edupecsoftware.com
Type: connection
Detail: 143.198.106.50: Fetching https://edupecsoftware.com/.well-known/acme-challenge/x7dMwlfxfyO4Htna_iAKaJxOHTgyVj7YZa04MGCWO4g: Error getting validation data

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

Server version: Apache/2.4.52 (Ubuntu)
Server built: 2024-03-18T13:41:27

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

My hosting provider, if applicable, is: None

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 3.3.0

Greetings,

For this case I am trying to install Webroot version of Certbot since I am already using both ports 80 and 443 for my website.

Regards.

Hello @redc, welcome to the Let's Encrypt community. :slightly_smiling_face:

Please show the output of sudo certbot certificates and sudo apachectl -t -D DUMP_VHOSTS.

2 Likes

Hello Bruce,

Thanks.

This is output of sudo certbot certificates

root@EDUPECSOFTWARE:/home/redc# sudo certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log


No certificates found.


This is output of sudo apachectl -t -D DUMP_VHOSTS

root@EDUPECSOFTWARE:/home/redc# sudo apachectl -t -D DUMP_VHOSTS
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
VirtualHost configuration:
*:80 edupecsoftware.com (/etc/apache2/sites-enabled/000-default.conf:4)

Regards.

Hi @redc,

HTTP on Port 80 working and redirects to HTTPS

$ curl -Ii http://edupecsoftware.com/.well-known/acme-challenge/sometestfile
HTTP/1.1 301 Moved Permanently
Date: Wed, 12 Mar 2025 02:40:51 GMT
Server: Apache
Location: https://edupecsoftware.com/.well-known/acme-challenge/sometestfile
Content-Type: text/html; charset=iso-8859-1

HTTPS on Port 443 FAILING.

$ curl -k -Ii https://edupecsoftware.com/.well-known/acme-challenge/sometestfile
curl: (35) OpenSSL/3.0.13: error:0A00010B:SSL routines::wrong version number

HTTP on Port 443 working

$ curl -k -Ii http://edupecsoftware.com:443/.well-known/acme-challenge/sometestfile
HTTP/1.1 404 Not Found
Date: Wed, 12 Mar 2025 02:49:12 GMT
Server: Apache
Content-Type: text/html; charset=iso-8859-1

The online tool Let's Debug yields these results https://letsdebug.net/edupecsoftware.com/2389265

3 Likes

Currently, there's a working website on HTTPS, just with a self-signed certificate.

Let's Debug gives the "All OK" result now (Let's Debug).

If you try again, it should succeed. (Or a new/different problem occurs..)

2 Likes