Submit a Ticket
Support Center » Knowledgebase » Web Server (Apache + IIS) » Let's Encrypt Windows redirect

Let's Encrypt Windows redirect

If you are going to
use automatic redirect from http to https, please make sure that you add
exception for ".well-known” directory used by Let’s Encrypt for
certificate renewals. If you fail to setup the exception Let’s Encrypt
Certificate is not going to be renewed automatically.


Below you can find an example of redirect rules:


<?xml version="1.0" encoding="UTF-8"?>





                <rule name="Allow LetsEncrypt" patternSyntax="Wildcard" stopProcessing="true">

                    <match url="*/.well-known/*" />

                    <action type="None" />


                <rule name="Redirect HTTP to HTTPS" patternSyntax="Wildcard" stopProcessing="true">

                    <match url="*" ignoreCase="false" />


                        <add input="{HTTPS}" pattern="off" />


                    <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" />







 This answer was helpful  This answer was not helpful