1 # Exim test configuration 5655
2 # OCSP stapling, server, multiple chain-element OCSP
4 .include DIR/aux-var/tls_conf_prefix
6 primary_hostname = server1.example.com
8 # ----- Main settings -----
10 acl_smtp_connect = accept logwrite = ${env {SSLKEYLOGFILE}}
11 acl_smtp_mail = check_mail
12 acl_smtp_rcpt = check_recipient
14 log_selector = +tls_peerdn
19 tls_advertise_hosts = *
21 CADIR = DIR/aux-fixed/exim-ca
22 DRSA = CADIR/example.com
23 DECDSA = CADIR/example_ec.com
25 tls_certificate = DRSA/server1.example.com/fullchain.pem \
26 : DECDSA/server1.example_ec.com/server1.example_ec.com.pem
27 tls_privatekey = DRSA/server1.example.com/server1.example.com.unlocked.key \
28 : DECDSA/server1.example_ec.com/server1.example_ec.com.unlocked.key
31 tls_ocsp_file = PEM DIR/tmp/ocsp/triple.ocsp.pem \
32 : DER DECDSA/server1.example_ec.com/server1.example_ec.com.ocsp.good.resp
34 tls_ocsp_file = PEM DIR/tmp/ocsp/double_r.ocsp.pem \
35 : DER DECDSA/server1.example_ec.com/server1.example_ec.com.ocsp.good.resp
40 tls_require_ciphers = ${if eq {LIMIT}{TLS1.2} {NORMAL:!VERS-ALL:+VERS-TLS1.2} {}}
48 accept logwrite = acl_mail: ocsp in status: $tls_in_ocsp \
49 (${listextract {${eval:$tls_in_ocsp+1}} \
50 {notreq:notresp:vfynotdone:failed:verified}})
62 condition = ${if !eq {SERVER}{server}}
63 route_list = * 127.0.0.1
65 transport = remote_delivery
71 transport = local_delivery
74 # ----- Transports -----
84 tls_require_ciphers = ${if eq {LIMIT}{TLS1.2} \
87 {+SIGN-RSA-SHA256:+VERS-TLS-ALL:+ECDHE-RSA:+DHE-RSA:+RSA} \
88 {+SIGN-ECDSA-SHA512:+VERS-TLS-ALL:+KX-ALL}}\
89 :+CIPHER-ALL:+MAC-ALL:+COMP-NULL:+CURVE-ALL:+CTYPE-X509} \
91 tls_verify_certificates = CADIR/\
93 {example.com/server1.example.com} \
94 {example_ec.com/server1.example_ec.com}}\
97 hosts_require_ocsp = *
98 tls_verify_cert_hostnames = :
102 file = DIR/test-mail/$local_part
103 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn