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. crt.sh | 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: clearcreek.io
I ran this command: sudo certbot certonly --standalone --preferred-challenges http -d clearcreek.io
It produced this output:
Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
Domain: clearcreek.io
Type: dns
Detail: DNS problem: SERVFAIL looking up A for clearcreek.io - the domain's nameservers may be malfunctioning; no valid AAAA records found for clearcreek.io
Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.
My web server is (include version): nginx/1.18.0 (Ubuntu)
The operating system my web server runs on is (include version):
Ubuntu via WSL2 Distro on Windows 10, made possible by powershell script that allows TCP on ports 80 and 443 and creates a v4 to v4 port proxy.
My hosting provider, if applicable, is: NameCheap
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 1.29.0
Hi,
I see others have tried and failed with this. I do have a validated certificate via NameCheap for clearcreek.io (when my servier is turned on), and all functions well. I cannot do the same with certbot.
Possible reasons:
- Must use python or apt to install certbot on this distro; snap will not work as systemd is not included in WSL2 Ubuntu Distros. I have tried both and getting the same error.
*Port forwarding is occurring through my windows 10 PC to the WSL2 instance. I have fixed my PC IP address to be static, and use a script to forward traffic to the WSL2 Ubuntu instance. TCP is allowed in both directions through ports 80 and 443, netsh interface port proxy add v4 to v4 is implemented. But this is working fine with my certificate.
I have also included: location ~ /.well-known {allow all;} on my server block.
I can send along the /var/log/letsencrypt/ log results if helpful, but there are keys etc inside. Please advise.
Thank you!