Skip to end of metadata
Go to start of metadata

For cPanel & WHM version 62

(Home >> Service Configuration >> Manage Service SSL Certificates)

Overview

This interface allows you to manage certificates for your server's services. For example, you can manage certificates for the following services:

  • Exim (SMTP).
  • POP3 and IMAP.
  • The cPanel services (cPanel & WHM and Webmail).
  • Your FTP server.

SSL certificates allow your web server to identify itself to the computers that access it.

You can use any of the following types of certificates to secure your server's services:

  • A free cPanel-signed hostname certificate.
  • A certificate that you obtained from a certificate authority (CA).
  • A self-signed certificate.

    Warning:

    We recommend that you do not use self-signed certificates. They are not as secure as certificates from a CA. Any server could claim to be your server with a self-signed certificate because they do not use a third-party verification system. To remedy this, use certificates from a CA, which verifies that users are securely connected to your server.

For more information about how to generate or purchase a certificate, read our Generate an SSL Certificate and Signing Request documentation.

Free cPanel-signed certificate

cPanel, Inc. offers valid cPanel & WHM license holders a free signed certificate for the services on your server's hostname. This replaces the certificates for these services that meet any of the following conditions:

  • Maintains a weak signature algorithm.
  • Revoked.
  • Self-signed.
  • Invalid (For example, your server's hostname must be valid and resolve in DNS).
  • Expires in less than 25 days.

Your server automatically orders the certificate when the server runs the upcp maintenance script, and then downloads and installs it when it becomes available.

When that signed certificate is less than 25 days from expiration, your server automatically orders a replacement free signed certificate. The server downloads and installs the certificate when it becomes available. Otherwise, if the signed certificate expires, the server installs a self-signed certificate, and then replaces that certificate with the free signed certificate when it is ready.

Notes:

  • If you create the /var/cpanel/ssl/disable_auto_hostname_certificate touch file, the system will no longer order, download, and install a free cPanel-signed hostname certificate.
  • If you create the /var/cpanel/ssl/disable_service_certificate_management touch file, the system disables all automatic replacement of expired service certificates. The system also disables notifications about expired or expiring service certificates.

Important:

  • Your server must possess a valid hostname and resolve in DNS.
  • Your server must possess a valid cPanel & WHM license.
  • This system only replaces self-signed or expired certificates. It does not replace an existing certificate from a valid CA.
  • cPanel, Inc. does not offer free cPanel-signed hostname certificates for cPanel DNSONLY servers.

Service SSL Certificates

The interface displays the following table, which lists the services on your server and the certificates for each service:

ColumnDescription
ServiceThe service that the certificate secures.
Certificate DomainsThe domain of the service that the certificate secures.
Certificate Expiration

The date on which the certificate expires. 

Notes:

  • Before the certificate expires, WHM sends a warning to the system administrator's email address to reset or replace the certificates. A warning will also appear in WHM's Home interface.
  • When a certificate expires, your server installs a self-signed certificate. If your server meets the requirements to obtain a free cPanel-signed certificate, the server automatically orders one the next time that the upcp maintenance script runs. When the signed certificate becomes available, the server downloads and installs it.
Certificate Key SizeThe size of the key, in bits, that the system used to generate the certificate. Larger numbers result in more secure certificates.
Actions(See below)

Reset a Certificate

This option uninstalls the current certificate for the service and replaces it with a new self-signed certificate.

To reset a certificate, perform the following steps:

  1. Click Reset Certificate next to the service for which to reset the certificate.

  2. Click Generate a New Certificate to generate and automatically install the certificate.

    Warnings:

    • This option automatically erases an existing certificate from the service. If you replace a certificate from a CA with a self-signed certificate, users may see warnings because their client applications do not trust self-signed certificates.
    • If your server meets the requirements to obtain a free cPanel-signed certificate, the server automatically orders one the next time that the upcp maintenance script runs. When the signed certificate becomes available, the server downloads and installs it.

Certificate Details

This option displays details about the installed certificate for the service:

ColumnDescription
DomainsThe domain of the service that the certificate secures.
Issuer

Information about the CA that issued the certificate

Note:

This column displays a warning message for self-signed certificates.

Key SizeThe size of the key, in bits, that the system used to generate the certificate. Larger numbers result in certificates that are more secure.
Expiration

The date on which the certificate expires. 

Notes:

  • Before the certificate expires, WHM sends a warning to the system administrator's email address to reset or replace the certificates. A warning also appears in WHM's Home interface.
  • If your server meets the requirements to obtain a free cPanel-signed certificate, the server automatically orders one the next time that the upcp maintenance script runs. When the signed certificate becomes available, the server downloads and installs it.

Apply Certificate to Another Service

This option allows you to apply a certificate to multiple services. This is useful, for example, when you wish to apply a signed certificate for your server's main domain to other services on your server.

To apply a certificate to another service, perform the following steps:

  1. Click the appropriate Apply Certificate to Another Service link.
  2. The interface will scroll down to the Install a New Certificate section. Select the checkboxes for the services for which to apply this certificate.

    Note:

     WHM automatically enters the details of the Install a New Certificate text boxes with the certificate's information.

  3. Click Install to install the certificate to the selected services, or click Cancel to cancel the operation.

    Warning:

    If you replace a certificate from a CA with a self-signed one, users may see warnings because their client applications do not trust self-signed certificates.

Install a New Certificate

This form allows you to install a new certificate that you can use to secure the services on your server.

To install a new certificate on your server, perform the following steps:

  1. To use a certificate that already exists on your server, click Browse Certificates. Select the services that you wish for the certificate to secure.
    1. Click Browse Account and select the username from the menu, or click Browse Apache.
    2. Select the certificate that you wish to use from the menu.
    3. Click Use Certificate to use the certificate, or click Cancel to cancel the operation.

      Note:

      WHM automatically enters the certificate's information into the Install a New Certificate form. 

  2. Paste the contents of the Certificate file (.crt) into the Certificate text box.

    Note:

    Click Autofill by certificate to search for the appropriate private key and CA bundle from cPanel's public CA bundle repository. 

  3. Paste the contents of the Private Key file (.key) into the Private Key text box.
  4. If you have a CA bundle, paste the contents of that bundle (.cab) into the Certificate Authority Bundle text box.
  5. Click Install to install the certificate, or click Cancel to cancel the operation.
  6. If you selected the cpsrvd daemon, and the certificate has installed correctly, the interface will prompt you to restart the cpsrvd daemon. Click Restart cpsrvd to restart the cPanel service daemon.

    Important:

    You must restart the cpsrvd daemon each time that you install a new SSL certificate for a service.

Additional documentation