SSL in Courier IMAP with Intermediate Certificate

For configuration you need these files: domain.tld.key (your private key), domain.tld.crt (your public certificate) and intermediate.crt (intermediate certificate of your certificate authority).

The configuration is pretty easy (once you know the steps). First you need to create combined PEM file:

cat domain.tld.key domain.tld.crt intermediate.crt > domain.tld.pem

Next you need to change TLS_CERTFILE variable in Courier IMAP pop3d-ssl and imapd-ssl configuration files:

...
TLS_CERTFILE=/path/to/domain.tld.pem
...

Now just restart courier-imapd-ssl and courier-pop3d-ssl daemons and you’re done 🙂

Tags:

Leave a Reply

You must be logged in to post a comment.