MKIMAPDCERT(8)
π MKIMAPDCERT(8) π
okay bestie, so this is the manual for mkimapdcert, from section 8 of the manual (that's the sysadmin-y one), and the person behind it is S. Varshavchik. sit down, grab a matcha, we're making certificates β¨
πΈ NAME πΈ
mkimapdcert β create a test SSL certificate for IMAP over SSL
β¨ SYNOPSIS β¨
/usr/sbin/mkimapdcert
no args. no flags. it just goes. main character energy fr π
π¦ DESCRIPTION π¦
so here's the tea: IMAP over SSL needs a valid, signed X.509 certificate. not a vibe, an actual certificate. and the default place it lives is /etc/courier/imapd.pem. π
mkimapdcert generates a self-signed X.509 certificate, mostly for testing. that's it, that's the whole job. if you're doing this for production, lowkey listen up: the X.509 certificate has to be signed by a recognized certificate authority, otherwise mail clients simply will not accept it. periodt. π
also, /etc/courier/imapd.pem must be owned by the courier user and must have no group or world permissions. mkimapdcert will enforce this for you, she's on top of it π
and to prevent an unfortunate accident π mkimapdcert will not work if /etc/courier/imapd.pem already exists. no touching. she said no.
heads up: mkimapdcert requires OpenSSL to be installed. if it's not there, it's not happening, bestie.
π FILES π
/etc/courier/imapd.pemβ the X.509 certificate. this is the girl./etc/courier/imapd.cnfβ parameters used by OpenSSL to create the X.509 certificate. the recipe, basically π
π₯ SEE ALSO π₯
courier(8)[1]
π AUTHOR π
Sam Varshavchik β Author
π NOTES π
that's the whole page, no crumbs left π«Ά this came to you from Courier Mail Server, dated 01/10/2026, and yes the header and footer both say MKIMAPDCERT(8) because she knows her name and she's obsessed with it π β¨
π¦ where this page comes from
- ubuntu stonking: courier-imap 6.0.5+2.0.6-1 Β· GPL-3+~with-OpenSSL-exception
- Copyright 2000 - 2007 S. Varshavchik. See COPYING for -->
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms