Enabling SSL for a Site

Overview

When you would like to make your HTTP requests into HTTPS, DNN provides the capability of enabling SSL for the DNN environment. This can be enabled through the administrator settings. 

 

Prerequisites

  • A host/superuser account. Hosts have full permissions to all sites in the DNN instance.

 

Solution

  1. Navigate to Persona Bar >  Settings > Security.
  2. Click on the More tab. 
    SSL.JPG

     

  3. View the SSL Settings tab.
  4. Configure any of the following settings as needed:

    1.png

    • SSL Enabled: Mark the checkbox if an SSL Certificate has been installed for this site. 

    • SSL Enforced: Check the box if unsecure pages (HTTP) will not be accessible with SSL (HTTPS).
      Note: The SSL Enforced option does not enforce all sessions to SSL (it does not redirect all HTTP traffic to HTTPS) but rather, causes any user who visits the site over HTTP to receive an unauthorized error page. The 'SSL enforced' setting would enforce the protocol based on the page settings. Therefore, if the page is marked as Secure Connection, it will force HTTPS; otherwise, if the page has Secure Connection disabled, it will force HTTP. 

    • In the SSL URL text box, enter a URL that will be used for secure connections for this site. This is only required if the SSL Certificate does not match the standard URL, e.g.: "www.secure.domain.com".

    • In the Standard URL text box, enter the standard site URL for non-secure connections.

    • In the SSL Offload Header Value set the name of the HTTP Header that will be checked to see if a network balancer has used SSL Offloading.

  5. Click the Save button.

 

Testing

If the user tries to access a site via HTTP, they should automatically get redirected to the HTTPS version of the site, while SSL is enabled. 

If the SSL Enforced option is enabled as well, any user going to a site via an HTTP request would get a 403 error and not get automatically redirected.

Back to top

Comments

0 comments

Please sign in to leave a comment.