Gentoo Archives: gentoo-user

From: Robin Atwood <robin.atwood@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] STARTTLS verification problem
Date: Sat, 10 Apr 2010 16:37:55
Message-Id: 201004102337.16970.robin.atwood@attglobal.net
In Reply to: Re: [gentoo-user] STARTTLS verification problem by Mick
1 On Saturday 10 April 2010, Mick wrote:
2 > On Saturday 10 April 2010 16:32:37 Eray Aslan wrote:
3 > > On 10.04.2010 18:12, Robin Atwood wrote:
4 > > > That's very interesting, I have puzzled about STARTTLS stuff for years!
5 > > > How do I make sendmail trust the CAs?
6 > >
7 > > This is neither necessary nor recommended for TLS.
8 >
9 > Why would that be?
10 >
11 > > > define(`CERT_DIR',`/etc/mail/certs')
12 > > > define(`confCACERT_PATH',`CERT_DIR')
13 > > > define(`confCACERT',`CERT_DIR/cacert.pem')
14 > > > define(`confSERVER_CERT',`CERT_DIR/cert.pem')
15 > > > define(`confSERVER_KEY',`CERT_DIR/key.pem')
16 > > > define(`confCLIENT_CERT',`CERT_DIR/cert.pem')
17 > > > define(`confCLIENT_KEY',`CERT_DIR/key.pem')
18 > >
19 > > These 3 files (cacert.pem, cert.pem, key.pem) are for your own server.
20 > > It has been awhile since I used sendmail, but adding CA certificates to
21 > > CACERT_PATH should make sendmail trust them.
22 > >
23 > > Again, this is contrary to "best practices". Do not trust third party
24 > > CA certificates unnecessarily. It might come back and bite you.
25 >
26 > Can you please explain this?
27
28 I am curious too!
29
30 -Robin
31 --
32 ----------------------------------------------------------------------
33 Robin Atwood.
34
35 "Ship me somewheres east of Suez, where the best is like the worst,
36 Where there ain't no Ten Commandments an' a man can raise a thirst"
37 from "Mandalay" by Rudyard Kipling
38 ----------------------------------------------------------------------