New windows 10 update, .well-known/acme-challenge cannot create errors

I have been resetting my cert every 3 months without any problems, until winblows 10 update that happened in the last week. Certbot cannot create the acme-challenge files and ALWAYS produces this error below (please help, I have six days left to renew my development cert, I have investors coming and going I need this to work):

(command run in cmd launched as admin)

C:\WINDOWS\system32>certbot certonly --webroot

(reponse)

Saving debug log to C:\Certbot\log\letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Please enter in your domain name(s) (comma and/or space separated)  (Enter 'c'
to cancel): www.chatzilla.org chatzilla.org
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for chatzilla.org
http-01 challenge for www.chatzilla.org
Input the webroot for chatzilla.org: (Enter 'c' to cancel): C:\Users\tomma\Desktop\MISC_crap\Temp\SEO\Domains\maleenhancementstore.org\SMB\ONLINE\CHATZILLA.ORG\XAMPP_PHP5.63\current_runningOK\apache\crt\www.chatzilla.org

Select the webroot for www.chatzilla.org:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Enter a new webroot
2:
C:\Users\tomma\Desktop\MISC_crap\Temp\SEO\Domains\maleenhancementstore.org\SMB\ONLINE\CHATZILLA.ORG\XAMPP_PHP5.63\current_runningOK\apache\crt\www.chatzilla.org
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Waiting for verification...
←[31mChallenge failed for domain chatzilla.org←[0m
←[31mChallenge failed for domain www.chatzilla.org←[0m
http-01 challenge for chatzilla.org
http-01 challenge for www.chatzilla.org
Cleaning up challenges
←[31mSome challenges have failed.←[0m
←[1m
IMPORTANT NOTES:
←[0m - The following errors were reported by the server:

   Domain: chatzilla.org
   Type:   unauthorized
   Detail: Invalid response from
   https://www.chatzilla.org/.well-known/acme-challenge/eX8OfnjCXi2mQj0WKQDDnhOrQw2KTG4x3-E4NjeNOk0
   [24.86.200.122]: "<?xml version=\"1.0\"
   encoding=\"UTF-8\"?>\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML
   1.0 Strict//EN\"\r\n  \"http://www.w3.org/TR/xhtml1"

   Domain: www.chatzilla.org
   Type:   unauthorized
   Detail: Invalid response from
   https://www.chatzilla.org/.well-known/acme-challenge/ySSPsxUtk2g0tLTMB-Nqy07kbnY3XkDaT2-WI0PRsaQ
   [24.86.200.122]: "<?xml version=\"1.0\"
   encoding=\"UTF-8\"?>\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML
   1.0 Strict//EN\"\r\n  \"http://www.w3.org/TR/xhtml1"

   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.

C:\WINDOWS\system32>

That's quite a location for a sites webroot? Are you 200 % it's the correct path? I.e., if you put the contents "Test" in a file C:\Users\tomma\Desktop\MISC_crap\Temp\SEO\Domains\maleenhancementstore.org\SMB\ONLINE\CHATZILLA.ORG\XAMPP_PHP5.63\current_runningOK\apache\crt\www.chatzilla.org\1234, can you access it on http://www.chatzilla.org/1234 ?

Also, normally one just runs certbot renew to renew the certificate(s). Not the entire command you used the first time again.

Hi, thank you for taking the time to respond. All paths are OK, no problem with working in the past. If i set up a robots.txt on the domain and type URL https://www.chatzilla.org/robots.txt then it displays it OK.

I noticed a different error type when I tried just using "certbot renew". Basically, it says Timeout during connect (likely firewall problem). I disabled Avast free anti virus (shields off) and tried, but same error. I will try to uninstall Avast anti virus, reboot, and try again. Maybe during the Windows 10 update the Windows firewall did something or blocked certbot in some way I'll disable everything, reboot, and retry. If it's a success, I will be back in 5 minutes to post a success. If not, this issue persists after the recent Windows 10 update. Sigh.

Domain: chatzilla.org
Type: connection
Detail: Fetching
https://www.chatzilla.org/.well-known/acme-challenge/Hir9_P5lzv2-9sG-VrZFpcdCta-6Yhc2Tx6opyUgsL0:
Timeout during connect (likely firewall problem)

Domain: www.chatzilla.org
Type: connection
Detail: Fetching
https://www.chatzilla.org/.well-known/acme-challenge/6Z13hJQ36tc6BO3JqHR5M5r4ryuuOCwNIbQpVDXRw_Q:
Timeout during connect (likely firewall problem)

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.

Ok, success. The problem was with Avast "free" anti virus AFTER the Windows 10 update that occurred few weeks ago. Where as it all worked before the Windows update, I found that I had to uninstall Avast "free" anti virus and reboot my computer for certbot to work properly. Thanks! Tom, CZ

1 Like

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