Installing an SSL certificate in cPanel is a straightforward process. Here’s how to do it:
Step 1: Obtain an SSL Certificate
You can either purchase an SSL certificate from a certificate authority (CA) or use a free option like Let's Encrypt. Some hosting providers also offer free SSL certificates directly through cPanel.
Step 2: Log in to cPanel
- Go to your cPanel login page (usually yourdomain.com/cpanel).
- Enter your username and password.
Step 3: Access the SSL/TLS Manager
- In the cPanel dashboard, look for the Security section.
- Click on SSL/TLS.
Step 4: Generate a Certificate Signing Request (CSR) (if needed)
If you’re purchasing an SSL:
- In the SSL/TLS Manager, click on Generate, view, or delete SSL certificate signing requests.
- Fill in the required fields (domain, company, etc.) and click Generate.
- Copy the CSR code to provide to your SSL provider.
Step 5: Install the SSL Certificate
- Return to the SSL/TLS Manager.
- Click on Manage SSL sites under the Install and Manage SSL for your site (HTTPS) section.
- Select the domain for which you want to install the certificate.
- Paste the SSL certificate you received from the CA into the Certificate field.
- If needed, also paste the CA Bundle into the corresponding field.
- Click Install Certificate.
Step 6: Verify the Installation
- After installation, you can check if your SSL is correctly installed by visiting your site using https:// or using an online SSL checker tool.
- Make sure to update any hardcoded URLs to use HTTPS and consider implementing a redirect from HTTP to HTTPS.
Step 7: (Optional) Force HTTPS
To ensure all traffic uses HTTPS, you can set up a redirect in your .htaccess file or through your website's settings.
By following these steps, you should successfully install an SSL certificate in cPanel, enhancing your site's security.
