Installing an SSL certificate on cPanel is a straightforward process that can be completed in just a few minutes. This guide will walk you through the entire process, from uploading your certificate files to enabling HTTPS for your website.
Prerequisites
Before you begin, make sure you have:
- Access to your cPanel account
- Your SSL certificate files (certificate.crt, private.key, and ca-bundle.crt)
- Your domain already set up in cPanel
Step 1: Access SSL/TLS Manager
Log in to your cPanel account and navigate to the Security section. Click on SSL/TLS Manager or search for "SSL" in the cPanel search bar.
Step 2: Install SSL Certificate
2.1 Navigate to Install and Manage SSL
In the SSL/TLS Manager, click on "Install and Manage SSL for your site (HTTPS)".
2.2 Select Your Domain
You'll see a list of your domains. Select the domain or subdomain where you want to install the SSL certificate.
2.3 Upload Certificate Files
You'll see three text areas:
- Certificate (CRT): Paste the contents of your certificate.crt file
- Private Key (KEY): Paste the contents of your private.key file
- Certificate Authority Bundle (CABUNDLE): Paste the contents of your ca-bundle.crt file
Important: Make sure to copy the entire contents of each file, including the BEGIN and END lines.
Step 3: Install the Certificate
After pasting all three certificate files, click the "Install Certificate" button. cPanel will validate the certificate and install it on your server.
If successful, you'll see a confirmation message. If there's an error, double-check that you've copied all certificate files correctly.
Step 4: Force HTTPS Redirect
4.1 Enable Auto-Redirect
In the SSL/TLS Manager, go to "Force HTTPS Redirect" or use the "Force HTTPS" option. This will automatically redirect all HTTP traffic to HTTPS.
4.2 Alternative: Manual Redirect via .htaccess
If the automatic redirect doesn't work, you can add this code to your .htaccess file in the public_html directory:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Step 5: Verify SSL Installation
5.1 Check Your Website
Visit your website using https://yourdomain.com. You should see a padlock icon in your browser's address bar, indicating that the SSL certificate is working correctly.
5.2 Test SSL Configuration
Use online SSL checker tools like SSL Labs SSL Test to verify your certificate is properly configured and has no issues.
Common Issues and Solutions
Certificate Not Working
If your certificate isn't working after installation:
- Wait a few minutes for DNS propagation
- Clear your browser cache
- Verify all certificate files were pasted correctly
- Check that your domain is pointing to the correct server
Mixed Content Warnings
If you see "Not Secure" warnings, you may have mixed content (HTTP resources on an HTTPS page). Update all internal links, images, and scripts to use HTTPS.
Certificate Expired
SSL certificates expire after a certain period (usually 90 days for Let's Encrypt). Make sure to renew your certificate before it expires. SSLForLife can help you manage certificate renewals automatically.
Using SSLForLife with cPanel
While cPanel makes SSL installation easier, managing multiple certificates can still be challenging. SSLForLife provides a centralized platform to:
- Generate free SSL certificates using Let's Encrypt
- Track certificate expiration dates
- Receive renewal reminders
- Download certificate files ready for cPanel installation
- Manage certificates for multiple domains from one dashboard
Conclusion
Installing an SSL certificate on cPanel is a simple process that takes just a few minutes. By following these steps, you can secure your website with HTTPS and protect your visitors' data. Remember to keep your certificates up to date and consider using SSLForLife for easier certificate management across multiple domains.
Need Help with SSL Certificates?
SSLForLife makes SSL certificate management simple. Get free SSL certificates and manage them all from one dashboard.
Get Started Free