Qmail SMTP


Preparing for Installation

To install your Trustwave® SSL certificate on QMail, you need either the .zip file that you received in your email from Trustwave® or you can download it within the Trustwave® Control Center. The .PEM file in the .zip file contains the "PEM Concatenated" certificate and the intermediate certificate.

Now, locate the private key you created when you made the CSR. Open it in a suitable text editor - such as vi, nano, or pico - and copy the entire text. Be sure to include every line, even the beginning and ending dashed lines.

With your private key still on the clipboard, close your text editor and open your PEM Concatenated file that you downloaded from the Trustwave® Control Center. At the beginning of the file, paste in your private key. The file should look something like this when you are finished:

-----BEGIN RSA PRIVATE KEY----- 
*** Your private key data 
-----END RSA PRIVATE KEY----- 
-----BEGIN CERTIFICATE----- 
*** Your actual Trustwave SSL Certificate 
-----END CERTIFICATE----- 
-----BEGIN CERTIFICATE----- 
*** Trustwave Root Certificate 
-----END CERTIFICATE-----

Once you have pasted in the private key at the top of the file, save it and close the text editor. Move the file to your /var/qmail/control/ folder.

Install your Trustwave® SSL certificate

In your /var/qmail/control/ folder, you should now have the file you created in the previous step. Rename your original certificate file (usually servercert.pem) to something else - maybe servercert_old.pem. Now, take the file that you created in the previous step and rename it to servercert.pem.

Completing the installation

To finish the installation, simply restart qmail. This is done on most systems by running qmail restart as root, but some other systems may require you to use /etc/init.d/qmail restart or even /etc/rc.d/init.d/qmail restart.



Certificate Analyzer

Once you have completed your certificate installation you can use our instant online troubleshooter to verify your installation and help resolve problems.
Certificate Analyzer→

Go Green