How to install a third-party SSL certificate with cPanel
A2 Hosting offers automated installation options for certificates we sell, but there is no restriction on which certificates you can install. This article shows how to manually obtain and install an SSL certificate on cPanel.
Step 1: Generate a private key and CSR
If you have not already purchased an SSL certificate from another provider, you must first generate a private key and Certificate Signing Request (CSR).
If you have already purchased an SSL certificate from a provider and have the private key (.key) file and SSL certificate (.crt) file, do not follow this procedure. You do not need to generate a private key or CSR. Follow the
Install a private key procedure below instead.
To generate a private key and CSR, follow these steps:
- Log in to cPanel.
If you do not know how to log in to your cPanel account, please see
this article.
- Open the SSL/TLS tool:
- Under Private Keys (KEY), click Generate, view, upload, or delete your private keys. The Private Keys page appears.
- Under Generate a New Private Key, confirm that the Key Type is set to RSA, 2,048-bit.
- In the Description text box, type a descriptive name for the key, such as SSL cert private key.
- Click Generate. cPanel generates and displays the private key. You are now ready to generate a Certificate Signing Request (CSR).
- Click Return to SSL/TLS.
- Under Certificate Signing Requests (CSR), click Generate, view, or delete SSL certificate signing requests. The SSL Certificate Signing Request page appears.
- Under Generate a New Certificate Signing Request (CSR), in the Key list box, select the description for the private key you generated in step 6.
In the Domains text box, type the domain that you want to secure with the certificate.
Make sure that you specify the correct domain name that you want to secure. A2 Hosting recommends that you use the www.example.com domain form, because then the certificate works with both https://www.example.com and https://example.com. (Do not add https:// to the domain name in the Domains text box.)
Complete the remaining fields for the CSR.
- Make sure you use the correct two-letter country code (for example, US or FR). For a complete list of these codes, please visit https://www.iso.org/obp/ui/#search.
- Make sure you use a passphrase that you will remember. A2 Hosting cannot recover the passphrase if you forget it!
- To create the CSR, click Generate. cPanel generates and displays the CSR.
- Copy the CSR text and submit it to the third-party SSL provider. When you receive the SSL certificate from the provider, you are ready to enable SSL for your web site. Go to the Install the certificate and activate SSL procedure below.
Step 2: Install a private key
If you have already purchased an SSL certificate from another provider and you have the private key and certificate, you must first install the private key using cPanel.
If you are purchasing a brand-new certificate and just completed the procedure above to generate a CSR, do not follow this procedure. Follow the
Install the certificate and activate SSL procedure below after you receive the certificate from the provider.
To install a private key, follow these steps:
- Log in to cPanel.
If you do not know how to log in to your cPanel account, please see
this article.
- Open the SSL/TLS tool:
- Under Private Keys (KEY), click Generate, view, upload, or delete your private keys. The Private Keys page appears.
Under Upload a New Private Key, upload the key using one of the following methods:
- Paste the key text in the Paste the key into the following text box text box, type a description in the Description text box, and then click Save.
- Alternatively, click Browse, select the .key file on your computer, type a description in the Description text box, and then click Upload.
- Click Go Back.
- Click Return to SSL/TLS.
- You are now ready to install the certificate and enable SSL for your web site. Go to the Install the certificate and activate SSL procedure below.
Step 3: Install the certificate and activate SSL
At this point, you should have a private key installed and a certificate from the third-party provider. (You may also optionally have a CA bundle.) If so, you are ready to install the certificate and activate SSL for your web site.
If you have a multi-domain SSL certificate, you must follow the procedure below and install the certificate for each domain that you want to secure.
To do this, follow these steps:
- On the SSL/TLS page, under Certificates (CRT), click Generate, view, upload, or delete SSL certificates. The Certificates page appears.
- Under Upload a New Certificate, upload the certificate using one of the following methods:
- Paste the certificate text in the Paste the certificate into the following text box text box, type a description in the Description text box, and then click Save Certificate.
- Alternatively, click Browse, select the .crt file on your computer, type a description in the Description text box, and then click Upload Certificate.
- Click Go Back, and then click Return to SSL/TLS.
- Under Install and Manage SSL for your site (HTTPS), click Manage SSL sites.
- Under Install an SSL Website, click Browse Certificates, select the certificate you want to use, and then click Use Certificate. cPanel fills in the Certificate (CRT) and Private Key (KEY) fields automatically.
- In the Domain list box, select the domain you want to secure with the certificate.
If your SSL certificate requires a CA (Certificate Authority) bundle, paste it under Certificate Authority Bundle (CABUNDLE). Otherwise, leave this field blank.
Not all SSL certificates require a CA bundle (which is also sometimes called an Intermediate Certificate). If you are unsure whether your certificate requires a CA bundle, contact the certificate provider.
- Click Install Certificate. cPanel installs the certificate on the server and enables SSL. When the process is complete, you receive an SSL Host Successfully Installed message.
- Click OK. You can now securely access the specified domain by using the https:// prefix in a web browser. If you need further assistance, please open a support ticket with our Guru Crew on the Customer Portal at https://my.a2hosting.com.