If you have not yet created a Certificate Signing Request (CSR) and ordered your certificate, see
SSL Certificates CSR Creation | Courier IMAP.
Installing your Courier IMAP SSL Digital Certificate
Collect your Certificate files
Log in to your DigiCert Customer Account and collect your primary and intermediate certificate files. Also, locate your private key (your_domain_name.key) that was generated with your CSR.
Create a combined .pem certificate file
Open a text editor and paste the contents of the primary certificate and the private key one after another in the following order:
Include the 'BEGIN' and 'END' tags on each. The result should look like this:
-----BEGIN CERTIFICATE----- (Your Primary SSL certificate: your_domain_name.crt) -----END CERTIFICATE----- -----BEGIN RSA PRIVATE KEY----- (Your Private Key: your_domain_name.key) -----END RSA PRIVATE KEY----- |
Save the combined file as digicertpack.pem
Save the DigiCert Intermediate certificate:
Copy the DigiCert intermediate certificate (DigiCertCA.crt) into a text editor and save it as a new file named digicertca.txt.
Securing your Courier IMAP
Locate and open the imapd-ssl file (typically found in /usr/lib/courier-imap/etc/). Add the following directives and file locations:
Please verify that the line below is allowing SSL3
Securing your POP3:
Locate and open the pop3d-ssl file (typically found in /usr/lib/courier-imap/etc/). Add the following directives and file locations:
File permissions:
Make sure that the file permissions are set so that digicertpack.pem is readable by root only.
Restart the Courier IMAP server.