How to set up your SSL certificate

How to set up your SSL certificate

If you have installed and activated an SSL certificate on your web hosting, you will need to configure your website so that it appears in browsers as a secure site (HTTPS). Below you can follow the steps to configure the certificate on your website depending on the CMS you use or if it is custom programming. 

WordPress
In WordPress there are several plugins that configure your website to resolve securely. We will show you the plugin Really Simple SSL.
 
In the plugins section of the WordPress panel search for the plugin Really Simple SSL and click Install now.
 
 
Once installed activate it.
 
 
The plugin itself will switch your WordPress site to HTTPS when activated. If any manual action is required it will indicate it on screen.
 
 
PrestaShop
In the PrestaShop panel, in the "Configure" section of the menu click on the dropdown Shop Parameters and access General.
 
 
In the "General" menu click on the option Please click here to check if your store supports HTTPS. The option "Enable SSL" will appear where you must click YES and then Save.
 
 
Once the configuration is saved, enable the option "Enable SSL on all pages" where you must click YES and then Save.
 
 
Joomla
Access your Joomla administration panel and in the "System" section of the menu click Global Configuration.
 
 
On the global configuration screen go to the tab Server.
 
 
In the "Server Configuration" section, in the option Force HTTPS select Entire Site and click Save & Close.
 
 
Moodle
Access your cdmon control panel and go to the hosting management.
 
 
On the hosting management screen access Web FTP access which you will find in the "File managers" section.
 
 
Enter your FTP Username and FTP Password and click Start. The FTP data can be found in hosting management under the section "Hosting information".
 
 
Access the folder where your Moodle installation is located. By default it is the folder /web.
 
 
Inside the folder find the file config.php and click Edit.
 
 
Look for the following line:
 
Change http to https so that it looks like this:
 
Once the change has been made, click the save icon.


After making this change it may not be enough and not everything will work under HTTPS, therefore we recommend accessing your Moodle administration panel.
 
Important: Before continuing with this process we recommend creating a backup of both the web files and the database.
 
In the Moodle panel click Site administration.
 
 
On the "Site administration" page access HTTP security which you will find in the "Security" section.
 
 
At the bottom of the page click HTTPS conversion tool.
 
 
Click Continue.
 
 
Confirm that you understand the risks and click Perform conversion.
 
 
Once the HTTPS conversion is completed click Continue.
 
 
You will return to the HTTP Security screen where you must click Save changes.
 
 
.htaccess file
To create a .htaccess file open Notepad and enter the required code. Save the file as a text file (.txt), for example "htaccess_file.txt", and upload it via FTP to the folder where it should be used. Once on the server change the name of the file "htaccess_file.txt" to ".htaccess".
 
Important: if you already have a .htaccess file in your hosting you can use it to perform this configuration.
 
The .htaccess must be placed inside the folder where you want it to take effect. In this case it should be placed in the root folder of your website.
 
To redirect your entire site to a secure connection (HTTPS) enter the following code in the file:
 
RewriteEngine on
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
 
 
For more information, you can contact us.
    • Related Articles

    • Validation of a Premium SSL Certificate

      Premium SSL certificates require validation from the certification authority to ensure that the person or entity requesting the certificate is actually the owner/administrator of the domain. There are different ways to validate the domain. HTTP ...
    • What is an SSL certificate and what is it for?

      An SSL certificate is a digital validator that provides identification to a website and additionally protects communication with browsers through an encrypted connection using the SSL (Secure Socket Layer) protocol. Companies and organizations must ...
    • How to view SSL certificate details in all browsers

      SSL certificates play a fundamental role in protecting the data transmitted between your browser and the websites you visit. Viewing the SSL certificate details of a site allows you to verify the authenticity and security of the connection, providing ...
    • How to issue or re-issue an SSL certificate from the cdmon dashboard

      If you have a hosting plan contracted with us, you can now install or renew (reissue) your free SSL certificate directly from the cdmon control panel. Here we explain how to do it step by step. Access your control panel. Log in to admin.cdmon.com ...
    • How to install and use Really Simple SSL from Wordpress

      Really Simple SSL is a simple WordPress plugin that allows you to force secure browsing (HTTPS) on your website. It is commonly used when the SSL certificate is already active on the hosting account but the website still appears as “Not Secure.” This ...