How to Install and Configure SSL in cPanel (Step-by-Step)

How to Install and Configure SSL in cPanel
Our Customers Say Excellent Across Platforms
Cyberin - Review on Google Cyberin - Review on Trustpilot

Seeing a “Not Secure” warning next to your domain can make visitors leave your website. If you use cPanel hosting, setting up an SSL certificate helps fix this by encrypting the connection between your website and its visitors. Most hosting providers make the process simple: you can often activate a free SSL certificate in a few clicks or install a paid one manually. This guide explains how to set up SSL in cPanel, force HTTPS, and troubleshoot common errors so your website can use a secure connection.

What Is an SSL Certificate?

An SSL certificate is a digital file that lets your website use HTTPS, which encrypts the data passing between your server and a visitor’s browser. It also confirms that your domain is genuine. Technically, modern certificates use TLS, the successor to SSL, but “SSL” is still the term most people and hosting providers use.

Why SSL Matters for Your Website

  • Visitor trust: Browsers flag sites without HTTPS as “Not Secure,” especially pages with forms or logins.
  • Data protection: Passwords, contact form entries and payment details are encrypted in transit.
  • SEO: Google has used HTTPS as a ranking signal for years. It’s a small factor, but it’s one you shouldn’t skip.
  • Compliance: Sites that take payments or personal data are generally expected to use HTTPS.

Which SSL Option Should You Use?

Short answer: For most blogs, portfolios and small business sites, a free Domain Validated (DV) certificate through AutoSSL is enough. Choose a paid certificate if you need business validation or a wildcard.

Availability of each option depends on your hosting provider.

Before You Start

Check these first so the install doesn’t fail halfway:

  1. Your domain points to your hosting server. The DNS A record must use your host’s IP address. Validation can’t complete if the domain points elsewhere.
  2. You can log in to cPanel with your account credentials.
  3. Your site loads over HTTP without errors.
  4. No conflicting DNS records. An old AAAA record pointing to a different server, or a restrictive CAA record, can block certificate issuance.

Method 1: Free SSL Setup in cPanel Using AutoSSL

Most cPanel hosts enable AutoSSL for you, so your certificate may already be installed. Here’s how to check and trigger it.

  1. Log in to cPanel and open SSL/TLS Status under the Security section.
  2. You’ll see a list of your domains and subdomains. A padlock icon means a certificate is active. A red or open padlock means it isn’t.
  3. Select the domains without a valid certificate.
  4. Click Run AutoSSL.
  5. Wait a few minutes, then refresh the page. Successful domains show a green padlock and an expiry date.

If your host uses a Let’s Encrypt plugin instead of AutoSSL, the steps are similar. Look for Let’s Encrypt SSL in the Security section, choose your domain and issue the certificate.

AutoSSL renews certificates automatically before they expire, so you don’t need to repeat this every few months.

Method 2: Install a Paid or Third-Party SSL Certificate Manually

Use this method when you’ve bought a certificate from a provider or need an OV, EV or wildcard certificate.

Step 1: Generate a CSR and private key

  1. Open SSL/TLS in the Security section.
  2. Under Certificate Signing Requests (CSR), click Generate, view, or delete SSL certificate signing requests.
  3. Fill in the form: key size (2048-bit or higher), domain name, email address and, for OV or EV, your organisation details.
  4. Click Generate and copy the CSR text.

cPanel stores the matching private key on the server, so you won’t need to download it separately.

Step 2: Get the certificate issued

Paste your CSR into the certificate provider’s order form. Complete the validation they ask for, which might be an email confirmation, a DNS record or a file upload. Once approved, they’ll send your certificate (a .crt file or text) and usually a CA bundle.

Step 3: Install the certificate

  1. Go back to SSL/TLS and open Manage SSL Sites.
  2. Select your domain from the dropdown.
  3. Paste the certificate (CRT) into the first box.
  4. cPanel will usually fill in the private key automatically. If it doesn’t, paste it from your saved CSR/key list.
  5. Paste the CA bundle into the third box, or click Autofill by Certificate to let cPanel fetch it.
  6. Click Install Certificate.

You’ll see a confirmation message when it’s done.

How to Force HTTPS Redirects

Short answer: Installing a certificate doesn’t automatically send visitors to the secure version. You need to add an HTTP-to-HTTPS redirect.

Option 1: cPanel toggle. In newer cPanel versions, open Domains, find your domain and switch on Force HTTPS Redirect.

Option 2: .htaccess. If you don’t have that option, add this to the .htaccess file in your public_html folder, above your other rules:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [L,R=301]

Back up your .htaccess file first. A small typo can take your site offline.

WordPress users: Also go to Settings > General and change both the WordPress Address and Site Address to start with https://. Many sites also use a plugin or a search-and-replace tool to update old http:// links stored in the database.

How to Fix Mixed Content Warnings

Mixed content happens when your page loads over HTTPS but some images, scripts or stylesheets still load over HTTP. The browser may block them or show a warning instead of a full padlock.

To fix it:

  1. Open your site in Chrome, right-click, choose Inspect, and check the Console tab for mixed content messages.
  2. Update the flagged URLs from http:// to https://.
  3. Check your theme files, widgets, embedded content and hard-coded links.
  4. Clear your site cache and any CDN cache afterwards.

How to Check That Your SSL Is Working

  • Visit your site using https:// and look for the padlock. Click it to view certificate details.
  • Visit the http:// version and confirm it redirects to https://.
  • Test every important domain and subdomain, including the www and non-www versions.
  • Run your domain through a free tool like Qualys SSL Labs for a deeper check of the configuration and chain.

Common SSL Errors in cPanel and How to Fix Them

If none of these solve it, contact your hosting provider’s support with the exact error message.

SSL Renewal and Maintenance Tips

  • Check expiry dates under SSL/TLS Status every month or so.
  • Keep AutoSSL enabled if your provider offers it.
  • Set a calendar reminder for manually installed certificates, since they don’t renew on their own.
  • Reinstall after server moves. If you migrate hosts, you’ll need to set up SSL again on the new server.
  • Don’t let paid certificates lapse. An expired certificate triggers a full-page browser warning that many visitors won’t click past.

Does Your Hosting Plan Include SSL?

Not every plan handles SSL the same way. Some include free certificates and automatic renewal, while others charge for installation or support. Before you buy, it’s worth checking this alongside the other features in our 15-point checklist on what to check before buying web hosting. If you’re also tightening your account settings, see our guide on how to secure your cPanel hosting account.

To compare plans with SSL support, explore Cyberin’s cPanel hosting plans and confirm the current SSL, backup and support details.

Conclusion

SSL setup in cPanel is easier than most people expect. For most sites, AutoSSL does the job in a few clicks. If you need a paid or wildcard certificate, the CSR and manual install process takes a little longer but follows the same pattern. Once the certificate is in place, remember the finishing touches: force HTTPS, fix mixed content, test your site and keep an eye on renewals. Do those, and your visitors will see a padlock instead of a warning.

Frequently Asked Questions

1. How do I install an SSL certificate in cPanel?
For a free certificate, open SSL/TLS Status, select your domain and click Run AutoSSL. For a purchased certificate, generate a CSR, get the certificate issued, then paste it into Manage SSL Sites and click Install Certificate.

2. Is SSL free in cPanel?
Sure, a lot. Most hosts provide free certificates through AutoSSL or Let’s Encrypt.Your hosting company determines availability. Review the details of your plan.

3. How long does SSL installation take in cPanel?
Usually AutoSSL will be finished in a few minutes after your domain points to the server. Paid OV and EV certificates may take longer because of the validation process.

4. Why is AutoSSL not working on my domain?
Common reasons include DNS pointing to another location, a restrictive CAA record, a domain that cannot be reached via HTTP or a rate limit by the certificate authority. Resolve the underlying issue, and then try AutoSSL again.

5. How do I force HTTPS in cPanel?
Turn on Force HTTPS Redirect under Domains if your cPanel version has it, or add a 301 redirect rule to your .htaccess file. WordPress sites should also update their Site URL settings.

6. Do I need a dedicated IP address for SSL?
Usually not. Modern servers support SNI, which lets multiple SSL sites share one IP address. A dedicated IP is only needed in a few special cases, such as very old software or specific compliance requirements.

7. How often do I need to renew SSL in cPanel?
AutoSSL certificates renew automatically. Free certificates usually last 90 days or less, while paid certificates have shorter maximum lifespans than they used to, so check the expiry date shown in SSL/TLS Status.

Posted by Tauheed Jahan

I’m Tauheed Jahan, a content writer with over five years of experience covering web hosting, WordPress, SEO, website performance, and related technology topics. I enjoy simplifying complex technical concepts and turning them into practical, easy-to-understand guides. Through my writing, I help website owners, bloggers, and businesses understand hosting solutions, compare hosting plans, improve website performance, and make informed decisions about their online presence. My goal is to create accurate, research-driven, and reader-focused content that provides real value.