Courier Imap Tips

Creating SSL Certificate

Create certificate and private keys as described in ApacheSecureServer

Create a DH parameter file with:

  • openssl dhparam -rand arandomfile -out dh.param 512

Concatenate the lot to create the imapd.pem certificate file

  • cat signedcert.pem privkey.pem dh.param > imapd.pem

In Debian Woody this file lives in /etc/courier/

See also http://www.cacert.org/ for a community-driven Certificate Authority that issues certificates for free.

-- Frank Dean - 31 Jan 2005

Related Topics: LinuxHintsAndTips