Azure LetsEncrypt extension cannot access .well-known / acme-challenge in Umbraco app

I host the Ubraco CMS app in Azure. Following the instructions in this blog post , I get the following error when trying to request and install a LetsEncrypt certificate using Azure Let'sEncrypt Site Extension :

System.Exception: The Lets Encrypt ACME server was probably unable to reach http://domain.com/.well-known/acme-challenge/token

I confirmed that all the settings of my application are correct, my extension was installed correctly and that there seems to be no network problems. What could be causing this problem?

+4
source share
2 answers

, , ACME , Umbraco CMS OWIN.

OWIN "/.well-known" ACME:

https://www.jdibble.co.uk/blog/using-letsencrypt-with-umbraco

:

https://gist.github.com/dibble-james/f47b0cba3494381588482c7f185861bf

, , , Microsoft.Owin.StaticFiles. , " owin: appStartup web.config", OWIN. , :

<add key="owin:appStartup" value="UmbracoDefaultOwinStartup" />

:

<add key="owin:appStartup" value="Startup" />

, :

http://www.asp.net/aspnet/overview/owin-and-katana/owin-startup-class-detection

+3

index.html , html :

    <rule name="AcmeChallenge" patternSyntax="Wildcard">
      <match url=".well-known/acme-challenge*" />
      <action type="Rewrite" url="{R:0}/index.html" />
    </rule>
+4

Source: https://habr.com/ru/post/1650690/


All Articles