Overview
This interface is where you create and handle SSL certificates, signing requests and keys. They strengthen the protection of your website, which matters most for sites that routinely collect private data such as login details and credit card numbers. Encryption keeps what visitors send from being read by attackers.
When your hosting provider has set autossl.exclude_new_domains in the /var/cpanel/panel.ini file, you may find this interface as a tab inside the SSL/TLS Certificates interface (cPanel » Home » Security » SSL/TLS Certificates) instead.
-
cPanel & WHM works with Transport Layer Security (TLS) protocol version 1.2 and Transport Layer Security (TLS) protocol version 1.3:
- Only TLSv1.2 and newer are supported, and TLSv1.2 is switched on by default.
- TLSv1.3 needs OpenSSL 1.1.1 or newer, so some clients cannot use it.
-
To secure a linked mail node with AutoSSL or with SSL certificates bought through your cPanel account, your cPanel & WHM nodes must be able to manage the authoritative DNS server.
-
Certificates can also be bought and installed in the cPanel SSL/TLS Wizard interface (cPanel » Home » Security » SSL/TLS Wizard).
CAA (Certificate Authority Authentication) records in a domain's zone file decide which CAs (Certificate Authority) are allowed to issue certificates for it.
- A domain without any CAA records can get certificates from every CA.
- If existing CAA records conflict with your plans, delete them or add a record for the CA you want. A CAA record for Let’s Encrypt™ looks like the line below, with
example.comstanding for your domain name:example.com. 86400 IN CAA 0 issue "letsencrypt.org"
CAA records are edited in the cPanel Zone Editor interface (cPanel » Home » Domains » Zone Editor). The requirements of each CA are described in that CA's own documentation.
Available features
The interface is divided into these features:
- Default SSL/TLS Key Type — Choose the key type used by default for SSL/TLS certificates and certificate signing requests.
- Private Keys (KEY) — Create, view, upload or remove private keys.
- Certificate Signing Requests (CSR) — Create, view or remove SSL certificate signing requests.
- Certificates (CRT) — Prepare an SSL certificate for your site.
- Install and Manage SSL for your site (HTTPS) — Create, view, upload or remove SSL certificates.
Default SSL/TLS Key Type
In the Default SSL/TLS Key Type section you pick the key type that the system uses whenever it issues SSL/TLS certificates and signing requests. A key type chosen here overrides the default of the server. The SSL/TLS Key Types documentation describes the available types.
After choosing the key type, click Save to store the setting.
Changing the preferred key type starts an AutoSSL run, which reissues all installed AutoSSL certificates with the new key type.
Private Keys (KEY)
Before you can set up an SSL certificate for your site, a private key must be in place.
Click Generate, view, upload, or delete your private keys to open this interface.
Here you can:
- Create a new private key.
- Upload a private key you already have.
- Change the details of a stored private key.
- Delete a stored private key.
A key can be generated on the spot, or you can upload one from a *.key file.
- Keep a copy of your private key in a safe place, which we strongly recommend. A private key that is lost cannot be recovered.
- If visitors send sensitive data through your website, we strongly recommend using SSL certificates.
Keys on Server
The Keys on Server table shows:
| Column | Description |
|---|---|
| Description | The label of the private key. |
| ID | The identifier of the private key. |
| Key Type | Which kind of private key it is. |
| Actions |
|
Edit and view details about a private key
To change the description of a key or to look at it, do the following:
- Find the key in the Keys on Server table of the Private Keys (KEY) interface.
- Click Edit in the Actions column of that key. A page opens with the description, the encoded private key and the decoded private key.
- Change the text in the Description text box.
- Click Update. A message next to the Description text box reports success or failure.
Delete a private key
To remove a private key, do the following:
- Find the key in the Keys on Server table of the Private Keys (KEY) interface.
- Click Delete in the Actions column of that key. You land on the Private Key page.
- Click Delete Key. A message reports success or failure.
Generate a new private key
To create a private key, do the following:
- Choose the key from the Key Type menu. If you like, add a short note about the key in the Description text box.
- Click Generate. A page appears showing the new key in encoded and decoded form.
- Copy the key you need.
- Click Return to Private Keys. The key is now listed in the Keys on Server table.
- Send the new key to the server using the paste a private key or browse for a private key method.
Upload a new private key
There are two ways to upload a private key:
- Paste it into the text box.
- Browse for the key file.
Paste a private key
To paste a private key, do the following:
- Put the key into the Paste the key into the following text box: text box.
- If you like, add a short note about the key in the Description text box.
- Click Save to upload the key. The next page reports success or failure.
Browse for a private key
To upload a private key file, do the following:
- Click Choose File and select a
*.keyfile. - If you like, add a short note about the key in the Description text box.
- Click Upload. The next page reports success or failure.
Certificate Signing Requests (CSR)
This part of the interface covers creating, viewing and removing certificate signing requests (CSR). It also shows and lets you edit the stored descriptions, together with the encoded and decoded private keys.
Click Generate, view, or delete SSL certificate signing requests to open it.
Certificate Signing Requests on Server
The Certificate Signing Requests on Server table shows:
| Column | Description |
|---|---|
| Domains | The domain the CSR was made for. |
| Created | When the CSR was created, given in Universal Time, Coordinated (UTC). |
| Description | The label of the CSR. |
| Actions |
|
Edit and view details about a CSR
To change a description or look at a CSR, do the following:
- Find the CSR in the Certificate Signing Requests on Server table of the Certificate Signing Requests (CSR) interface.
- Click Edit in the Actions column. A page opens with the description, the encoded CSR and the decoded CSR.
- Make your changes in the Description text box.
- Click Update Name. A message next to the Description text box reports success or failure.
Delete a CSR
To remove a CSR, do the following:
- Find the CSR in the Certificate Signing Requests on Server table of the Certificate Signing Requests (CSR) interface.
- Click Delete in the Actions column. A confirmation page opens.
- Click Delete CSR to confirm.
- A message reports success or failure.
- To keep the CSR, click Cancel instead.
Generate a new CSR
A key must exist, or be generated, before you can create a signing request.
To create a CSR, do the following:
- Below the Generate a New Certificate Signing Request (CSR) heading, choose the key in the Key menu.
- Once a key is selected, an Edit option appears. Click it to see and change the details of that private key.
- If the key you need is not in the menu, pick the type of key to generate from the Key menu, or add a new private key in the Private Key section of the interface.
- Fill in the text boxes beneath the Key menu.
Note:
When the CSR is not for a business, type your legal name into the Company text box.
- Click Generate.
Your hosting provider can ask for more details.
Certificates (CRT)
In this part you can create, view, upload and remove SSL certificates.
Click Generate, view, upload, or delete SSL certificates to open it.
Certificates on Server
The Certificates on Server table shows:
| Column | Description |
|---|---|
| Domains | The label of the private key. |
| Issuer | The Certificate Authority (CA) that issued the certificate. |
| Expiration | When the certificate stops being valid, in Universal Time, Coordinated (UTC). |
| Key Type | Which kind of private key it uses. |
| Description | The label of the certificate. |
| Actions |
|
Edit and view details about a certificate
To change a description or look at a certificate, do the following:
- Find the certificate in the Certificates on Server table of the Certificates (CRT) interface.
- Click Edit. A page opens with the description, the encoded certificate and the decoded certificate.
- Type your changes into the Description: text box and click Update Description. A success or error message appears.
You can also remove the certificate you are viewing by clicking Delete Certificate at the bottom of the page.
Delete a certificate
To remove a certificate, do the following:
- Find the certificate in the Certificates on Server table of the Certificates (CRT) interface.
- Click Delete beside it. A confirmation page opens.
- Click Delete Certificates. A success or error message appears.
Install a certificate
To put a certificate into use, click Install in the Actions column of the Certificates on Server table in the Certificates (CRT) interface.
Upload a New Certificate
To paste a certificate, do the following:
- Below the Upload a New Certificate heading, paste the certificate text into the Paste the certificate into the following text box: text box.
- If you like, add a short note in the Description: text box.
- Click Save Certificate to upload it.
- The next screen reports success or an error.
To upload a certificate file, do the following:
- Below the Choose a certificate file (.crt)* heading, click Choose File.
- If you like, add a short note in the Description: text box.
- Click Upload Certificate.
- A success or error message appears.
Generate a New Certificate
To create a self-signed SSL certificate, do the following:
- Below the Generate a New Certificate heading, choose the key in the Key menu. If the key you need is not listed, add a new private key with the Private Keys feature.
- Complete the Domains, City, State, Company, Company Division, Email and Description text boxes and the Country menu. The Domains, City, State, Country and Company values are required.
- Click Generate.
Self-signed certificates are intended for intranet use only. For a public website, buy and install a certificate from a trusted CA.
Install and Manage SSL for your site (HTTPS)
System administrators can create and install SSL certificates for the cPanel accounts of their users in WHM. The users, in turn, can handle the certificates that belong to their domains.
Click Manage SSL sites to open this interface.
It supports the following tasks:
- Switching the primary domain on a shared IP address.
- Updating a certificate.
- Uninstalling a certificate.
- Viewing the details of a certificate.
- Reusing a certificate for a different site.
- Mail SNI does not work with Webmail, so it will not function for any Webmail connection. Webmail connections rely on the SSL certificate of the cPanel service.
- For linked mail nodes, DNS Domain Control Validation (DCV) is the only method we support.
The Manage Installed SSL Websites table
Whenever a domain with a dedicated IP address already has an SSL certificate, the Manage Installed SSL Websites table is shown under the introductory text.
| Column | Description |
|---|---|
| FQDN | The domain name of the website. |
| Certificate Expiration | The day the certificate expires. |
| Document Root | The folder that holds the website files of the domain. |
| Actions | The available actions are:
|
Install an SSL Website
The form in the Install an SSL Website section installs a certificate. There are three ways to fill it in:
- Click Browse Certificates.
- Search by domain.
- Type the information in by hand.
Browse Certificates
To install a certificate with Browse Certificates, do the following:
- Click Browse Certificates.
- Click the button of the certificate you want. Only certificates that match a domain are listed.
- Click Use Certificate to go back to the Install an SSL Host section, where the text boxes are now filled with the certificate data.
- If needed, fill in the Certificate Authority Bundle: (CABUNDLE) text box.
- Click Install Certificate. A success or failure message appears.
Search by domain
To install a certificate by searching for the domain, do the following:
- Choose the domain in the Domain menu.
- Click Autofill by Domain. The interface tries to find the certificate and fill in its data.
- On success, the text boxes are populated with the right values.
- If it does not succeed, the text boxes stay blank.
- Click Install Certificate. A success or failure message appears.
Manually enter information
To install a certificate by typing in its data, do the following:
- Choose the domain in the Domain menu.
- Put the certificate data into the Certificate (CRT) text box.
- Put the private key data into the Private Key (KEY) text box.
- If needed, put the certificate authority data into the Certificate Authority Bundle (CABUNDLE) text box.
- Click Install Certificate. A success or failure message appears.
