'\" t .\" .\" .\" Title: mkimapdcert .\" Author: Sam Varshavchik .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 11/10/2013 .\" Manual: Double Precision, Inc. .\" Source: Courier Mail Server .\" Language: English .\" .TH "MKIMAPDCERT" "8" "11/10/2013" "Courier Mail Server" "Double Precision, Inc." .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" mkimapdcert \- create a test SSL certificate for IMAP over SSL .SH "SYNOPSIS" .HP \w'\fB/usr/sbin/mkimapdcert\fR\ 'u \fB/usr/sbin/mkimapdcert\fR .SH "DESCRIPTION" .PP IMAP over SSL requires a valid, signed, X\&.509 certificate\&. The default location for the certificate file is /etc/courier/imapd\&.pem\&. \fBmkimapdcert\fR generates a self\-signed X\&.509 certificate, mainly for testing\&. For production use the X\&.509 certificate must be signed by a recognized certificate authority, in order for mail clients to accept the certificate\&. .PP /etc/courier/imapd\&.pem must be owned by the daemon user and have no group or world permissions\&. The \fBmkimapdcert\fR command will enforce this\&. To prevent an unfortunate accident, \fBmkimapdcert\fR will not work if \fB/etc/courier/imapd\&.pem\fR already exists\&. .PP \fBmkimapdcert\fR requires OpenSSL to be installed\&. .SH "FILES" .PP /etc/courier/imapd\&.pem .RS 4 X\&.509 certificate\&. .RE .PP /etc/courier/imapd\&.cnf .RS 4 Parameters used by OpenSSL to create the X\&.509 certificate\&. .RE .SH "SEE ALSO" .PP \m[blue]\fB\fBcourier\fR(8)\fR\m[]\&\s-2\u[1]\d\s+2 .SH "AUTHOR" .PP \fBSam Varshavchik\fR .RS 4 Author .RE .SH "NOTES" .IP " 1." 4 \fBcourier\fR(8) .RS 4 \%[set $man.base.url.for.relative.links]/courier.html .RE