Courier IMAP  Print this Article

Before starting SSL installation, please collect SSL certificate issued for your domain name, your private key (was generated with your CSR file) and CA intermediate(s) certificate(s).

1 Create .PEM file

Open your SSL certificate (your_domain.crt) and private key (your_domain.key) with Notepad text document. Now open a new text document and paste the contents of certificate and key in the following order:

-----BEGIN CERTIFICATE-----
(your_domain.crt)
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
(your_domain.key)
-----END RSA PRIVATE KEY-----
Save it as pack.pem

2. Locate and open imapd-ssl file (typically location is /usr/lib/courier-imap/etc/). Add the following lines:

TLS_CERTFILE=/path/pack.pem (.PEM file from step 1)
TLS_TRUSTCERTS=/path/ca.txt  (CA intermediate certificate)

Verify that next line (choosing TLS protocol) is allowing SSL3:

TLS_PROTOCOL=SSL3

3. Locate and open pop3d-ssl file (typically location is /usr/lib/courier-imap/etc/). Add the following lines:

TLS_CERTFILE=/path/pack.pem (.PEM file from step 1)
TLS_TRUSTCERTS=/path/ca.txt  (CA intermediate certificate)

4. Make sure that the .pem file is readable by root only. Restart the server - installation is finished.

Was this answer helpful?

Related Articles

SSL Installations
SSL installation depends on the type of server you are securing. Please select below the server...
Apache (with mod_ssl)
Installing SSL certificate on Apache with mod_ssl To install certificate you need 2...
Apple Mac OS X Server
Log in to admin server as a root. Create a folder /etc/httpd/ssl.crt/ (if it does not exist)....
Barracuda VPN server
Installing SSL certificate on Barracuda VPN serverImport CertificatesFrom the appliance web...
Cisco ACS Server
Note: If the domain/site certificate is created using CA certificate, you need to repeat steps...