Ask a Question

Advanced Search

Solution ID : SO15218

Last Modified : 04/26/2019

Install a QuickSSL Premium certificate on a Cpanel Mail server


How to install a GeoTrust Trial certificate on a Cpanel Mail server
How do I install a QuickSSL Premium certificate on a Cpanel Mail server



To install the QuickSSL Premium Certificate on a CPanel Mail Server, perform the following steps:
This document provides instructions for installing your SSL certificate. If you are unable to use these instructions for your server, we recommend that you contact either the vendor of your software or an organization that supports CPanel Mail Server.

Step 1: Obtain the GeoTrust DV CA Certificate
a) Download the GeoTrust DV CA from the following solution: INFO1421
Note: Be sure to use Vi or Notepad as word processing programs like Microsoft Word may add additional characters that may render the certificate unusable.
b) Copy and paste the GeoTrust DV CA into a text file and save as "intermediate.pem".
Step 2: Download the certificate
  1. Download your certificate as per the instruction on the following solution:
    • GeoTrust Security Center, refer to solution SO22158
    • GeoTrust Enterprise Security Center, refer to solution SO21128
    • GeoTrust User Portal (e.g., certificate purchased through Retail or Partners), refer to solution SO15168
  2. Save the certificate file with a .pem extension. For example: cert.pem
Step 3: Install the certificate 
First, import the GeoTrust root certificate into the server. The QuickSSL Premium root certificate can be picked up here
  1. Copy the GeoTrust root certificate into a text editor such as notepad and save as root.pem.
  2. Create a new file (yourcert.pem) consisting of your private key and your certificate file:

    encoded key]
    -----END RSA PRIVATE KEY-----
    [empty line]
    [encoded certificate]
    -----END CERTIFICATE-----
    [empty line]
  3. Then save the file as yourcert.pem in the /etc/ssl/certs/ directory.
  4. Copy the root.pem file to the /etc/ssl/certs/ directory.

  5. Copy the intermediate.pem file to the /etc/ssl/certs/ directory.

  6. When setting up the SSL support you will need to access the stunnel configuration file which will probably be available at etc/stunnel/default/stunnel.conf.

  7. Open the stunnel.conf and locate the following directives (they may be commented out by #). It may be necessary to add the above directives if they are not present.

  8. Restart the web / mail service for the installation to be completed. In some instances, it may be necessary to physically restart the actual machine.

Step 4:  Verify certificate installation

  1. To verify if your certificate is installed correctly, use the GeoTrust Installation Checker