How to install an SSL/TLS certificate on cPanel 11.x

Updated on 28 Oct 2024

The instructions below walk you through installing SSL on cPanel (the modern Paper Lantern theme). If you have more than one server or device, you will need to install the certificate on each one you want to protect. If you have not generated your certificate or finished validation yet, see our CSR generation instructions and skip the steps below.

What you will need

1. Your server certificate

This is the certificate the certificate authority issued for your domain. It may have been emailed to you. If not, you can download it from your account dashboard by clicking on your order.

2. Your intermediate certificates

These files let devices connecting to your server identify the issuing certificate authority. There may be more than one of them. If your certificate arrived in a ZIP folder, the intermediates — sometimes called the CA bundle — should be in there too. If not, download the right CA bundle for your certificate.

3. Your private key

This file should be on your server, or in your hands if you generated your CSR with a free generator tool. On some platforms, such as Microsoft IIS, the private key is not immediately visible to you but the server keeps track of it.

Installation instructions

1. Log in to cPanel

First, log in to your cPanel account , usually reachable at https://domain.com:2083

Note: you may see "Your connection is not private", or something like it, when you open your cPanel login page. That is because the login page uses a self-signed certificate by default. Ignore it and carry on past the warning.

Once you are on the login page, enter your username and password and click Log in. cPanel step 3

Your cPanel home page should look like this:

cPanel step 4

Note: older versions, such as the X3 Classic theme, may not look like the image above, but the categories and structure are the same.

2. Go to the SSL/TLS manager

You can reach your SSL/TLS Manager page by scrolling down to the Security section and clicking the SSL/TLS button.cPanel step 5

Note: you can also get to the SSL/TLS Manager using the search box at the top right of the cPanel home page and searching for "SSL".

3. Select "Manage SSL sites"

The SSL/TLS Manager page is where you manage everything to do with SSL/TLS in cPanel. The Manage SSL sites link sits under "Install and Manage SSL for your site (HTTPS)", shown below.

cPanel step 6

4. Choose your domain

Change the Domain drop-down to the domain you want to install the SSL certificate on.

cPanel step 8

5. Paste in your certificate files

With the domain selected, all that is left is to paste each of your certificate files into the matching text box below.

cPanel step 9

  1. Certificate (CRT) : the server certificate issued for your domain or domains. Note 1: cPanel should fill in the certificate text for you if you previously uploaded the server certificate under "Generate, view, upload, or delete SSL certificates" in the SSL/TLS Manager and picked the right domain in the drop-down above. Note 2: if the certificate arrived in a ZIP file, click "Extract all" and drag your server certificate into a plain text editor such as Notepad. That lets you copy all of the text, including "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----".
  2. Private Key (KEY) : the private key created during generation. Note 1: cPanel should fill in the private key for you if you previously created the certificate signing request under "Generate, view, or delete SSL certificate signing requests" in the SSL/TLS Manager and picked the right domain in the drop-down above. Note 2: if you made the CSR and private key outside your cPanel account and did not keep the files, you will not be able to continue and may need to reissue the SSL certificate with a freshly created key pair.
  3. Certificate Authority Bundle (CABUNDLE) : your intermediate certificates, which are what let browsers and devices work out who issued your trusted certificate. Note 1: cPanel should fetch the CA bundle from a public repository. If it does not, download the right CA bundle for your certificate. Note 2: if you have several intermediate certificates, paste them one after another to build the correct certificate chain.

6. Click "Install Certificate"

Once the right files are in the right boxes, click the blue "Install Certificate" button.

That is it — your SSL certificate is installed. To check your work, open the site in your browser at https://yourdomain.tld and look at the certificate and site information to confirm HTTPS is working properly. Remember that you may need to restart your server before the changes take effect.

Note 1: you do not need to "Enable SNI for Mail Services". Server Name Indication (SNI) is only needed when several host names are served over HTTPS from the same IP address. Note 2: you or your host may need to restart Apache before the certificate works.

To check your installation properly, use our SSL Checker. If something does not add up, get in touch and we will look at it with you.

Installing the intermediate by hand

If the intermediate certificates were not installed and configured properly after the steps above, here is how to install them directly in Apache. If you do not have access to your Apache server, ask your host or system administrator for help.

1. Find the virtual host file

The virtual host file is usually at /etc/httpd/conf/httpd.conf. Note: the location and name of this file vary from server to server depending on the setup. Another common name is "ssl.conf".

2. Open the virtual host file

Find the virtual host block with the right name and IP address , including port 443.

3. Edit the virtual host file

Edit your virtual host configuration by adding the YourIntermediateCertificate line shown below:

<VirtualHost 192.168.255.255:443>
  DocumentRoot /var/www/html2
  ServerName www.yourdomain.com
  SSLEngine on
  SSLCertificateFile /path/to/your_domain_name.crt
  SSLCertificateKeyFile /path/to/your_private.key
  SSLCertificateChainFile  /path/to/YourIntermediateCertificate.crt
</VirtualHost>

Note: make sure you write the correct path and filename for where you intend to save the intermediate certificates. Save them in the same directory where cPanel keeps your server certificate and private key.

4. Save the changes

Save the configuration file.

5. Add the intermediate certificate

Put the intermediate certificate file in the same directory where cPanel keeps your server certificate and private key.

6. Restart your server

Restart your Apache server.