Letsencrypt failing

🛈 SYSTEM INFORMATION
OS type and version 20.04
Webmin version 1.98
Virtualmin version 6.17-3 Pro
Related packages Lesencrypt

When I try to run letsencrypt I get an error list below
I can ping the site, telnet into 443 and 80

Validating configuration for thebloggerspot.com
… no problems found

Requesting a certificate for www.thebloggerspot.com 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
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.thebloggerspot.com
Using the webroot path /home/thebloggerspot/public_html for all unmatched domains.
Waiting for verification…
Challenge failed for domain www.thebloggerspot.com
http-01 challenge for www.thebloggerspot.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: www.thebloggerspot.com
    Type: connection
    Detail: Fetching
    http://www.thebloggerspot.com/.well-known/acme-challenge/Em0qMHNWA6u-nikXlEECdITIxDH8mIdkNZ1J_gamF9E:
    Connection refused

    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
    Obtaining a new certificate
    Performing the following challenges:
    dns-01 challenge for www.thebloggerspot.com
    Running manual-auth-hook command: /etc/webmin/webmin/letsencrypt-dns.pl
    Waiting for verification…
    Challenge failed for domain www.thebloggerspot.com
    dns-01 challenge for www.thebloggerspot.com
    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: www.thebloggerspot.com
    Type: dns

Thanks
Keith

Not shown: 995 filtered ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp closed http
443/tcp open https

Your port 80 is closed and not able to telnet it from outside.
Seems like you are running it from home?

1 Like

@kdmiller45 - @toreskev just said it to you how to fix it…

Curious, not being sarcastic, if port 80 is closed how can I get to the site on http://www.geekscove.com but the warning, but still presents

Keith

hi yes… well it depends how your site is authenticate to lets encrypt… normally if dns or http - its on port 80… my best bet if you do not know how acme works - leave 80 port open on that domain but link out to the world 443 like https… do you see me?

Now I see that port 80 is open for the IP address of the first domain you mentioned as well, but they are on different IPs.
That’s why one might have worked previously and the other one not.

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