For ASP.Net MVC or web forms with specific routing configurations, you will treat this URL as something that can be passed to the MVC / Forms handler rather than returning a static file. The result will be 404 or 503. The solution is surprisingly simple:
If you have not already done so, put the Challenge file:
- dirs -
.well-known , Microsoft , cmdline, .well-known. Windows . \.well-known\acme-challenge . ; Git Bash echo "oo0acontents" > abcdefilename
Web.Config acme-challenge :
<?xml version = "1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<staticContent>
<clear />
<mimeMap fileExtension = ".*" mimeType="text/json" />
</staticContent>
<handlers>
<clear />
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule"
resourceType="Either" requireAccess="Read" />
</handlers>
</system.webServer>
</configuration>
: https://github.com/Lone-Coder/letsencrypt-win-simple/issues/37
. 404/503, - .
: json, , letencrypt. - - /, .