I am installing an instance of MS CRM 2015 on-premise, on a Win 2012 R2 Server, IIS 8.5.
I would like to use the Let's Encrypt service to generate certificates for crm.example.com on this server.
Let's Encrypt would like to use the .well-known/acme-challenge
directory for validation. MS CRM has taken over the Default website and redirects requests to its website folder, using Windows authentication.
Is there a way to whitelist the .well-known/acme-challenge
folder within the CRM website, so as to avoid authentication?
I have tried adding a location
section in the web.config
, but IIS throws an error because the path starts with a dot.
I have tried adding a handler to solve that problem, as in:
https://stackoverflow.com/questions/11728846/dots-in-url-causes-404-with-asp-net-mvc-and-iis but I get the same error there.
As an alternative, Let's Encrypt can be validated using DNS, but I am not really up to that, and I can't find evidence that my provider has an API for that purpose.
Do I have any other options?