blob: d367e13ea96e7779442ce53f7b242fa0ca061c8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<!-- Copyright 2000 - 2007 Double Precision, Inc. See COPYING for -->
<!-- distribution information. -->
<refentry id="mkimapdcert">
<info><author><firstname>Sam</firstname><surname>Varshavchik</surname><contrib>Author</contrib></author><productname>Courier Mail Server</productname></info>
<refmeta>
<refentrytitle>mkimapdcert</refentrytitle>
<manvolnum>8</manvolnum>
<refmiscinfo>Double Precision, Inc.</refmiscinfo>
</refmeta>
<refnamediv>
<refname>mkimapdcert</refname>
<refpurpose>create a test SSL certificate for IMAP over SSL</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis sepchar=" ">
<command moreinfo="none">@sbindir@/mkimapdcert</command>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1 id="mkimapdcert_description">
<title>DESCRIPTION</title>
<para>
IMAP over SSL requires a valid, signed, X.509 certificate. The default
location for the certificate file is
<filename moreinfo="none">@certsdir@/imapd.pem</filename>.
<command moreinfo="none">mkimapdcert</command> 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.</para>
<para>
<filename moreinfo="none">@certsdir@/imapd.pem</filename> must be owned by the
@mailuser@ user and
have no group or world permissions.
The <command moreinfo="none">mkimapdcert</command> command will
enforce this. To prevent an unfortunate accident,
<command moreinfo="none">mkimapdcert</command>
will not work if <command moreinfo="none">@certsdir@/imapd.pem</command> already exists.</para>
<para>
<command moreinfo="none">mkimapdcert</command> requires
<application moreinfo="none">OpenSSL</application> to be installed.</para>
</refsect1>
<refsect1 id="mkimapdcert_files">
<title>FILES</title>
<variablelist>
<varlistentry>
<term>@certsdir@/imapd.pem</term>
<listitem>
<simpara>
X.509 certificate.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>@sysconfdir@/imapd.cnf</term>
<listitem>
<simpara>
Parameters used by OpenSSL to
create the X.509 certificate.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id="mkimapdcert_see_also">
<title>SEE ALSO</title>
<para>
<ulink url="courier.html"><citerefentry><refentrytitle>courier</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink></para>
</refsect1>
</refentry>
|