> For the complete documentation index, see [llms.txt](https://learn.sitecove.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.sitecove.com/how-to-guides/web-hosting/security-and-backups/how-to-enable-ssl-for-your-website.md).

# How to Enable SSL for Your Website

#### Introduction <a href="#introduction" id="introduction"></a>

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 <a href="#enabling-ssl-in-cpanel" id="enabling-ssl-in-cpanel"></a>

#### Step 1: Access SSL/TLS Manager <a href="#step-1-access-ssltls-manager" id="step-1-access-ssltls-manager"></a>

1. Log in to **cPanel**.
2. Navigate to the **Security** section and click on **SSL/TLS**.

#### Step 2: Install an SSL Certificate <a href="#step-2-install-an-ssl-certificate" id="step-2-install-an-ssl-certificate"></a>

#### Option 1: Use AutoSSL (Free SSL) <a href="#option-1-use-autossl-free-ssl" id="option-1-use-autossl-free-ssl"></a>

1. Click on **Manage AutoSSL** under the SSL/TLS section.
2. Ensure AutoSSL is enabled for your domain.
3. Click **Run AutoSSL** to install the certificate.
4. Wait a few minutes for the process to complete.

#### Option 2: Install a Custom SSL Certificate <a href="#option-2-install-a-custom-ssl-certificate" id="option-2-install-a-custom-ssl-certificate"></a>

1. Purchase an SSL certificate from a provider.
2. In cPanel, go to **SSL/TLS > Manage SSL Sites**.
3. Select your domain and paste the **CRT, Private Key, and CA Bundle** from your SSL provider.
4. Click **Install Certificate**.

#### Step 3: Force HTTPS Redirection <a href="#step-3-force-https-redirection" id="step-3-force-https-redirection"></a>

1. Go to **Domains** in cPanel.
2. Locate your domain and enable **Force HTTPS Redirect**.
3. Alternatively, add the following redirect rule to your `.htaccess` file:

   ```apache
   RewriteEngine On
   RewriteCond %{HTTPS} !=on
   RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
   ```

   ApacheCopy

***

#### Enabling SSL in Plesk <a href="#enabling-ssl-in-plesk" id="enabling-ssl-in-plesk"></a>

#### Step 1: Navigate to SSL/TLS Settings <a href="#step-1-navigate-to-ssltls-settings" id="step-1-navigate-to-ssltls-settings"></a>

1. Log in to **Plesk**.
2. Select **Websites & Domains** from the left menu.
3. Click on **SSL/TLS Certificates**.

#### Step 2: Install an SSL Certificate <a href="#step-2-install-an-ssl-certificate1" id="step-2-install-an-ssl-certificate1"></a>

#### Option 1: Use Let’s Encrypt (Free SSL) <a href="#option-1-use-lets-encrypt-free-ssl" id="option-1-use-lets-encrypt-free-ssl"></a>

1. Click **Install Let’s Encrypt**.
2. Ensure you select the options to **Include www subdomain** and **Secure mail**.
3. Click **Install** and wait for the certificate to be issued.

#### Option 2: Install a Purchased SSL Certificate <a href="#option-2-install-a-purchased-ssl-certificate" id="option-2-install-a-purchased-ssl-certificate"></a>

1. Click **Add SSL/TLS Certificate**.
2. Upload the **CRT, Private Key, and CA Bundle** provided by your SSL provider.
3. Click **Apply** to install the certificate.

#### Step 3: Enforce HTTPS <a href="#step-3-enforce-https" id="step-3-enforce-https"></a>

1. In Plesk, go to **Hosting Settings**.
2. Enable **Permanent SEO-safe 301 redirect from HTTP to HTTPS**.
3. Save changes.

***

#### Verifying SSL Installation <a href="#verifying-ssl-installation" id="verifying-ssl-installation"></a>

* Visit your website using [**https://yourdomain.com**](https://yourdomain.com/).
* Use an SSL checker tool (e.g., <https://www.sslshopper.com/ssl-checker.html>) to verify installation.
* If you see a security warning, clear your cache or reissue the SSL certificate.

***

#### Conclusion <a href="#conclusion" id="conclusion"></a>

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.
