Lets Encrypt ACME Challenge file not accessable from IIS

vishal vazkar picture vishal vazkar · Jan 4, 2016 · Viewed 13.9k times · Source

I have been trying to generate a SSL certificate for one of our projects which is running on an Azure VM which has no IP restrictions. However, the challenge file which is generated throws a 404 error and is not accessible over the web.

I have tried the following:

  1. Moving the static content type above the extension less options in IIS
  2. Adding a mime type for text/json, text/html

None of the above work which is making it really hard for me to generate a SSL using this service. Any idea how I can make it accessible ? I have given full access to that specific App Pool identity so permissions don't seem to be an issue in this case, its just the way the extension less files are being handled in IIS

Any help is appreciated.

Thanks, Vishal

Answer

King Jk picture King Jk · Jan 15, 2016

You just Add a New MIME Type on IIS like this . enter image description here

and try use the url at your browser . you will see that enter image description here Now you can Pass the lets-encrypt authentication :)