We are creating Let’s Encrypt certificate on Windows Server 2012 R2 using command “autoacme addhost www.example.com” as mentioned in below link.
But while creating it is showing below error message.
Getting response…
Failed: The remote server returned an error: (404) Not Found.
Deleting challenge from C:\inetpub\wwwroot\AutoACME\probe_813593e8-1a81-4782-aa81-460b29a6da09…OK
Request failed!
Test authorization failed
Failed!
Please check this and suggest how we can fix this issue.
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. https://crt.sh/?q=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:
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
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):
PS: Checking
the last change is from 2019-10. Perhaps some newer changes (GET -> POST) aren’t included, so the client may be expired and may not work -->> use another client.
It produced this output: It shows below error message in command prompt.
Getting response…
Failed: The remote server returned an error: (404) Not Found.
Deleting challenge from C:\inetpub\wwwroot\AutoACME\probe_813593e8-1a81-4782-aa81-460b29a6da09…OK
Request failed!
Test authorization failed
Failed!
My web server is (include version): Windows Server 2012 Standard
The operating system my web server runs on is (include version): Windows 2012 Operating system
My hosting provider, if applicable, is: I don’t know
I can login to a root shell on my machine (yes or no, or I don’t know): I don’t know
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Using RDP manage the site.
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): I don’t know
answers with the expected http result 404 - Not Found.
But there is a lot of content:
Visible Content: HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Most likely causes: The directory or file specified does not exist on the Web server. The URL contains a typographical error. A custom filter or module, such as URLScan, restricts access to the file. Things you can try: Create the content on the Web server. Review the browser URL. Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here . Detailed Error Information: Module IIS Web Core Notification MapRequestHandler Handler StaticFile Error Code 0x80070002 Requested URL http://localhost:80/autoACME/check-your-website-dot-server-daten-dot-de Physical Path C:\a1cashadvance_new\autoACME\check-your-website-dot-server-daten-dot-de Logon Method Anonymous Logon User Anonymous More Information: This error means that the file or directory does not exist on the server. Create the file or directory and try the request again. View more information »