Courier IMAP SSL Installation Instructions

Create The PEM File

Once you have downloaded your certificates from your certificate authority, open the primary certificate and the private key that you created earlier in a text editor. Copy and paste the text in the  Primary Certificate and then from the Private Key. Save the file with a .pem extension (i.e myCertificate.pem) The file should look like this when finished:

-----BEGIN CERTIFICATE-----
(Primary SSL certificate)
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
(Your Private Key)
-----END RSA PRIVATE KEY-----

If your certificate requires an intermediate certificate, open it in a text editor and save it as a new file named intermediate.txt.

Import and Install the Certificate

Courier IMAP

  1. Locate and open the imapd-ssl file (usually found in /usr/lib/courier-imap/etc/). Add the following directives pointing to the files you created above:

    TLS_CERTFILE=/some/path/myCertificate.pem
    TLS_TRUSTCERTS=/some/path/intermediate.txt

  2. Verify that the line below is allowing SSL3
  3. TLS_PROTOCOL=SSL3

POP3

  1. Locate and open pop3d-ssl file (usually found in /usr/lib/courier-imap/etc/). Add the following directives pointing to the files you created above:
  2. TLS_CERTFILE=/some/path/myCertificate.pem
    TLS_TRUSTCERTS=/some/path/intermediate.txt

Restart the Courier IMAP server.

Useful Courier IMAP SSL Links

Courier IMAP SSL Installation Instructions Comments

Write a comment


If you have trouble reading the code, click on the code itself to generate a new random code.
Security Code:
 
Post Comment