Requesting certificate failed due to DNS and Web Validation

Issue 1:
Domain: sprinpub.com
Type: dns
Detail: DNS problem: NXDOMAIN looking up TXT for
_acme-challenge.sprinpub.com - check that a DNS record exists for
this domain
Issue 2:
Domain: sprinpub.com
Type: unauthorized
Detail: Invalid response from
http://sprinpub.com/.well-known/acme-challenge/6zXgILWr9aaqLfJLZ4TLEShZ5HFQyJL2qQN2ymHesXc
[185.237.253.96]: "\n<html lang="en-US"
prefix="og: https://ogp.me/ns#">\n\n<meta
charset="UTF-8">\n<meta name="viewport" content="

My domain is: sprinpub.com

My web server is (include version): webmin

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

My hosting provider, if applicable, is: Contabo VPS

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): Webmin/Virtualmin

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 0.40.0 & certbot-auto: not found

1 Like

Hi @GeekyStaff and welcome to the LE community forum :slight_smile:

On issue #1: There is no TXT record to be found for that FQDN.
Are you familiar with the requirements for ACME DNS-01 authentication?

On issue #2: I would start to unravel that problem with the output of:
sudo apachectl -t -D DUMP_VHOSTS

2 Likes

Issue #1:

I do see a TXT record now (maybe you didn't wait long enough for that record to sync to all DNS servers).
_acme-challenge.sprinpub.com text = "A2NpFwiEjUPDSsR-cT6PverrUz7atei3HwM6WFm-o-k"

Issue #2:
Let's have a look at this file:
/etc/apache2/sites-enabled/sprinpub.com.conf

2 Likes

And there is something not quite right about having two port 80 sections:

2 Likes

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