How to Add an SSL Certificate on cPanel
Here's how you can issue a free SSL certificate through the SSL/TLS Status section in cPanel:
Log into cPanel:
- Open your web browser and navigate to Hosting URL which will resemble the following http://yourdomain.com:2083
- Enter your cPanel username and password to log in.
Navigate to SSL/TLS Status:
- Once logged in, scroll down to the Security section.
- Click on the SSL/TLS Status icon.
Select the Domains:
- In the SSL/TLS Status page, you will see a your domain and list of your subdomains if you have any.
- Select the domain along with the subdomains for which you want to issue a free SSL certificate. You can do this by checking the boxes next to the domain names.
Run AutoSSL:
- After selecting the domains, look for a button or option that says Run AutoSSL or Issue Free SSL.
- Click on it to initiate the process. The system will now start issuing the SSL certificates for the selected domains.
Wait for the Process to Complete:
- The AutoSSL process may take a few minutes to complete. During this time, cPanel will handle the verification and issuance of the SSL certificates.
- You can refresh the page to check the status or wait for a notification.
Verify the Installation:
- Once the process is complete, you should see a green lock icon or a message indicating that the SSL certificate has been successfully issued and installed.
- To verify, visit your website using https:// in the URL. You should see a secure connection indicator (usually a padlock icon) in the browser’s address bar.
To ensure that all traffic to your site is secure, you can set up a redirect from HTTP to HTTPS.
Edit the .htaccess File:
- Locate and open the .htaccess file in the root directory of your website. If you don't have one, you can create it.
- Add the following lines to the file:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Save and Test:
- Save the changes to the .htaccess file.
- Visit your website using http:// to ensure it redirects to https://.
By following these steps, you should be able to issue and install a free SSL certificate for your domain using the SSL/TLS Status section in cPanel.