1 |
On 10.04.2010 18:12, Robin Atwood wrote: |
2 |
> That's very interesting, I have puzzled about STARTTLS stuff for years! How do |
3 |
> I make sendmail trust the CAs? |
4 |
|
5 |
This is neither necessary nor recommended for TLS. |
6 |
|
7 |
> define(`CERT_DIR',`/etc/mail/certs') |
8 |
> define(`confCACERT_PATH',`CERT_DIR') |
9 |
> define(`confCACERT',`CERT_DIR/cacert.pem') |
10 |
> define(`confSERVER_CERT',`CERT_DIR/cert.pem') |
11 |
> define(`confSERVER_KEY',`CERT_DIR/key.pem') |
12 |
> define(`confCLIENT_CERT',`CERT_DIR/cert.pem') |
13 |
> define(`confCLIENT_KEY',`CERT_DIR/key.pem') |
14 |
|
15 |
These 3 files (cacert.pem, cert.pem, key.pem) are for your own server. |
16 |
It has been awhile since I used sendmail, but adding CA certificates to |
17 |
CACERT_PATH should make sendmail trust them. |
18 |
|
19 |
Again, this is contrary to "best practices". Do not trust third party |
20 |
CA certificates unnecessarily. It might come back and bite you. |
21 |
|
22 |
-- |
23 |
Eray |