I used https://github.com/Lone-Coder/letsencrypt-win-simple with the following web.config
in the acme-challenge
directory to avoid a 404.17 IIS error (‘The requested content appears to be script’) blocking download of the challenge:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension="." mimeType="text/plain" />
</staticContent>
</system.webServer>
</configuration>