Qmail : HowTo generate a certificate for POP3-SSL and IMAP-SSL

By | January 4, 2012

This tutorial is about generating a SSL certificate to secure POP3 and IMAP communications between clients (MUA) and Qmail server (MTA).

1. Go to Qmail config directory :

2. Generate key :

3. Decrypt the key (get rid of the passphrase) :

4. Generate a certificate request (well known as CSR) :

5. Submit your CSR to your certificate provider (CA) or generate a self-signed certificate :

6. Create a PEM certificate (either with your certificate provided by your CA or your self-signed certificate) :

7. Restart Qmail :