Billing Linux cPanel Windows Control Panel Client Voip ms sql webadmin ms sql backup mysql webadmin Server Status

Main Menu
  • Allow Let’s Encrypt automatic renewal when redirecting HTTP to HTTPS

    No comments April 23rd, 2018 95

    Let’s Encrypt requires HTTP (port 80) to issue and renew certificates, however, if you have a HTTP to HTTPS redirect or rewrite rule in place, this will cause issuing or renewals to fail. We have the following recommendations for IIS URL Rewrite (web.config) and Apache (or IIS Helicon Ape) .htaccess rules to allow the .well-known folders to be served over HTTP.

    IIS – web.config or Helicon Ape

    For URL Rewrite, add the following rewrite rule to your web.config file’s <rewrite> section, this rule must be first in the rewrite section…

    1
    2
    3
    4
    
    <rule name="ACME / Let's Encrypt Verification" stopProcessing="true">
        <match url="^\.well-known(.*)" />
        <action type="None" />
    </rule>

    For Helicon Ape, add this line to the .htaccess file in your wwwroot under the RewriteEngine On directive

    1
    
    RewriteCond %{REQUEST_URI} !\.well-known/acme-challenge

    Apache – .htaccess

    Add this line to your site’s root .htaccess file directly under the RewriteEngine On directive

    1
    
    RewriteCond %{REQUEST_URI} !\.well-known/acme-challenge
    1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...

No comments yet

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Uptime 100%

MoneyBack Gurantee

Why Choose Us