Configuring Let's Encrypt with DNN

DNN > How To
Let' Encrypt(LE) is becoming an increasingly popular option for SSL Certificates. This is because it is very easy to use, quick, and most of all free! Plesk has an available extension for LE, so Managed.com customers have easy access to this feature. Unfortunately, DNN Advanced URLs conflict with LE's domain verification process. We have developed a way to get around this. A setting needs to be added into the database to make Advanced URLs ignore the path used for domain verification.
 
Automatic(Dedicated Server Only)
 
  1. Remote into your dedicated server
  2. Launch Control Suite
  3. Expand Domains, find your desired domain, expand the domain.
  4. Select the DNN Install
  5. Click Allow Let's Encrypt
  6. Once the task finishes, recycle the site's application pool. 
 
 
Manual
 
In order to manually fix this issue, you will need to install a module that allows for greater control of Advanced URLs. So, you will need Host/SuperUser access to the DNN website. 
Installing Module
  1. Download the DNNUrlManagement Module. (You can get this from here)
  2. Login to DNN as Host/SuperUser
  3. Browse to Host>Extensions
  4. Click Install Extension Wizard
  5. Click Choose File and select the .zip file you just downloaded. Click through the popup windows to finish the install
Accessing Module
  1. Browse to Admin>Page Management
  2. Right click on the Admin, and click Add Page(s). Name the new page DNN URL Management
  3. Right click the newly added page and click View Page
  4. On the new page, expand the Modules button at the top and search for 'X3'. Drag and drop the module wherever you want on the page.
Applying the Fix
 
  1. With the new module added, switch to the Regular Expressions tab.
  2. In the Dialog box for Ignore URL Regular Expressions add the following text to the end of the line.
     
    |\.well-known))
  3. The full line should look like:
    (?<!linkclick\.aspx.+)(?:(?<!\?.+)(\.pdf$|\.gif$|\.png($|\?)|\.css($|\?)|\.js($|\?)|\.jpg$|\.axd($|\?)|\.swf$|\.flv$|\.ico$|\.xml($|\?)|\.txt$|\.well-known))
  4. Recycle the App Pool of the site.
  5. Try to process the Let's Encrypt SSL again.
If you are having trouble with these steps or these steps did not resolve your issue. Contact the Managed.com Support team.

Add Feedback