]> Pileus Git - ~andy/fetchmail/blob - README.SSL-SERVER
Add README.SSL-SERVER, revise manual page.
[~andy/fetchmail] / README.SSL-SERVER
1 SSL server requirements
2 -----------------------
3
4 In order to let any mail client (not just fetchmail) verify server
5 certificates properly, so that users can be sure their connection is not
6 eavesdropped, there are several requirements that need to be fulfilled.
7
8 1. Match certificate and DNS names:
9
10    The server certificate's "common name" or "subject alternative name"
11    must match the name by which clients are connecting. Avoid the use of
12    wildmats if possible, not all clients support them (fetchmail does).
13
14    This may sound trivial, but for load balancing and failover setups,
15    it may not be obvious.
16
17 2. Provide the *full* certificate chain
18
19    Many SSL documents tell you to install the server certificate,
20    silently assuming that it were directly signed by a trusted
21    root certification authority (CA).
22
23    If your server certificate is not directly signed by the root
24    certification authority (root CA), then you are using intermediate
25    CA. In this case, you *MUST* (as per the TLS standard) provide *ALL*
26    intermediate certificates.
27
28    If you fail to provide intermediate certificates, clients can only
29    connect if the end user overrides/disables security warnings in
30    his/her software, and this disables the detection of eavesdroppers.
31
32    The intermediate CA certificates must be issued after the server's
33    certificate in proper order, that is:
34    first the intermediate CA cert that signed the servers' certificate,
35    then the intermedate CA cert that signed the previous intermediate CA,
36    and all the way back to the root CA cert (which you should omit).
37
38    You can optionally add the root CA certificate, but this is
39    redundant, as the client needs to have that installed anyways (see 3
40    below) in its store of trusted root certification authorities in
41    order to verify certificates that this root CA has signed.
42
43    For software that does not offer "chain certificate" options, but
44    that supports reading certificates in PEM format, it is
45    usually sufficient to concatenate all the certs in proper order
46    (again, from server to root).
47
48 3. Provide the *root* CA's certificate separately.
49
50    Provide the root CA's certificate in a place where your end users
51    will quickly and easily find it, or provide a link to it. Depending
52    on which mail software your clients use, it may not be pre-installed,
53    and users require this root CA to verify your SSL server certificate,
54    and possibly intermediate certificates.
55
56    This is particularly important if you're using local self-signed
57    certificates, as these are never preinstalled into end-users clients.
58
59    Your technical support team should have the finger prints of this
60    root CA readily available at least in MD5 and SHA1 formats and offer
61    to clients and be ready to answer client questions as to the
62    fingerprints (for verification) and installation in commonly used
63    clients.