Unable to request SSL certificate even though A record has been added in the domain manager

SYSTEM INFORMATION
OS type and version CentOS Linux release 7.9.2009 (Core)
Webmin version 1.994
Virtualmin version 7.1.gpl
Related packages SUGGESTED

Hi all,

I am experiencing issues when trying to request an SSL certificate for a server which has been setup in Virtualmin. I have added the A record in my domain manager but still got the following errors:

Requesting a certificate for — from Let’s Encrypt …
… request failed : Web-based validation failed :
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Requesting a certificate for —
Performing the following challenges:
IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: —
    Type: connection
    Detail: —: Fetching
    http://—/.well-known/acme-challenge/S6s9PZpabkUPvtK6vTUP7rrS88Qxn1t_13Qe5ff9OVc:
    Error getting validation data

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A/AAAA record(s) for that domain
    contain(s) the right IP address. Additionally, please check that
    your computer has a publicly routable IP address and that no
    firewalls are preventing the server from communicating with the
    client. If you’re using the webroot plugin, you should also verify
    that you are serving files from the webroot path you provided.

DNS-based validation failed :
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Requesting a certificate for —
Performing the following challenges:
dns-01 challenge for —
Running manual-auth-hook command: /etc/webmin/webmin/letsencrypt-dns.pl
Waiting for verification…
Challenge failed for domain —
dns-01 challenge for —
Cleaning up challenges
Running manual-cleanup-hook command: /etc/webmin/webmin/letsencrypt-cleanup.pl
Some challenges have failed.
IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: —
    Type: dns
    Detail: DNS problem: NXDOMAIN looking up TXT for
    _acme-challenge.— - check that a DNS
    record exists for this domain

Can you please advise what seems to be solution to this problem? Port 443 has been enabled prior to this error. Thank you

If virtual server have IPv6, Try adding AAAA record.
Check A and AAAA record in dns checker sites. Are both correct?

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