How to Enable SSL for Your Website
Introduction
SSL (Secure Sockets Layer) is essential for securing your website by encrypting data transferred between your site and its visitors. Enabling SSL not only improves security but also boosts your website's SEO ranking and builds trust with users. This guide will walk you through enabling SSL on your website using cPanel and Plesk.
Enabling SSL in cPanel
Step 1: Access SSL/TLS Manager
Log in to cPanel.
Navigate to the Security section and click on SSL/TLS.
Step 2: Install an SSL Certificate
Option 1: Use AutoSSL (Free SSL)
Click on Manage AutoSSL under the SSL/TLS section.
Ensure AutoSSL is enabled for your domain.
Click Run AutoSSL to install the certificate.
Wait a few minutes for the process to complete.
Option 2: Install a Custom SSL Certificate
Purchase an SSL certificate from a provider.
In cPanel, go to SSL/TLS > Manage SSL Sites.
Select your domain and paste the CRT, Private Key, and CA Bundle from your SSL provider.
Click Install Certificate.
Step 3: Force HTTPS Redirection
Go to Domains in cPanel.
Locate your domain and enable Force HTTPS Redirect.
Alternatively, add the following redirect rule to your
.htaccess
file:ApacheCopy
Enabling SSL in Plesk
Step 1: Navigate to SSL/TLS Settings
Log in to Plesk.
Select Websites & Domains from the left menu.
Click on SSL/TLS Certificates.
Step 2: Install an SSL Certificate
Option 1: Use Let’s Encrypt (Free SSL)
Click Install Let’s Encrypt.
Ensure you select the options to Include www subdomain and Secure mail.
Click Install and wait for the certificate to be issued.
Option 2: Install a Purchased SSL Certificate
Click Add SSL/TLS Certificate.
Upload the CRT, Private Key, and CA Bundle provided by your SSL provider.
Click Apply to install the certificate.
Step 3: Enforce HTTPS
In Plesk, go to Hosting Settings.
Enable Permanent SEO-safe 301 redirect from HTTP to HTTPS.
Save changes.
Verifying SSL Installation
If you see a security warning, clear your cache or reissue the SSL certificate.
Conclusion
Enabling SSL on your website is crucial for security and credibility. Whether using AutoSSL in cPanel or Let’s Encrypt in Plesk, setting up SSL ensures encrypted communication and enhances user trust. If you experience issues, check your installation settings or contact your hosting provider for support.
Last updated
Was this helpful?