Home | SSL Certificate Products | FAQ | Support | Resellers | International | About Us | News | Contact Us

SSL Certificate Home

CPPop (cPanel Mail Server) and other Stunnel based Mail Servers

Installing your SSL Certificate / Web Server Certificate / Secure Server Certificate from RapidSSL.com

Firstly when your issuance email arrives you will have two certificates in the email - your webserver certificate and a chained certificate.

1. Copy the chained certificate into a text editor such as notepad and save as chain.pem.

2. Create a new file consisting of your private key and your certificate file (the webserver certificate contained within the email) as below:

-----BEGIN RSA PRIVATE KEY-----
[encoded key]
-----END RSA PRIVATE KEY-----
[empty line]
-----BEGIN CERTIFICATE-----
[encoded certificate]
-----END CERTIFICATE-----
[empty line]

3. Then save the file as yourcert.pem in the /etc/ssl/certs/ directory.

4. Now copy the chain.pem file to the /etc/ssl/certs/ directory.

5. When you are 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 .

6. 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.

verify=3
CAfile=/etc/ssl/certs/chain.pem
cert=/etc/ssl/certs/yourcert.pem

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