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.
The operating system my web server runs on is (include version):win server 2022
My hosting provider, if applicable, is:
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):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):win-acme v2.2.8.1635
i have tried to stop the script while it's trying to have letsencrypt server access the url so that it wouldnt clean up the files and the path it was trying would still be valid. When i do that, i can access the url from outside my network correctly using a browser. I don't know why the path would work for me (from outside of my network) but not for letsencrypt servers.
that's because the web.config and test file have been cleaned up and deleted by win-acme in subsequent test runs.
you can try this link it should work. during win-acme validation step, i would be able to access the challenge url similar to the one below from outside my network. however win-acme would still report secondary validation fail in accessing said link and then it cleans up afterwards and remove the test file and web.config file afterwards.
It has always been recommended to have port 80 open world-wide for the HTTP Challenge. In the past you could get away with blocking non-USA countries but this was only by luck. Let's Encrypt has long validated from both US and non-US countries.
The first two other threads linked to in the first reply to you explains the recent change and the technical details behind it.
While I think you should read those in total I think you will find this topic in the FAQ wiki a good start based on your other comment
This is a terrible, terrible idea. You have miutigated a roblem for yourself by passing on a larger one to any enterprise that wants to use your service.
@Fallanthas Please don't kick threads which have been idle for more than 6 years about 2 months if you're not contributing meaningfully. I'm closing this one.