ARC: fix crash on signing with missing key file
[exim.git] / test / confs / 5652
1 # Exim test configuration 5652
2 # OCSP stapling, server, multiple certs
3
4 .include DIR/aux-var/tls_conf_prefix
5
6 primary_hostname = server1.example.com
7
8 # ----- Main settings -----
9
10 acl_smtp_mail = check_mail
11 acl_smtp_rcpt = check_recipient
12
13 log_selector = +tls_peerdn
14
15 queue_only
16 queue_run_in_order
17
18 tls_advertise_hosts = *
19
20 CADIR = DIR/aux-fixed/exim-ca
21 DRSA = CADIR/example.com
22 DECDSA = CADIR/example_ec.com
23
24 tls_certificate = DRSA/server1.example.com/server1.example.com.pem \
25               : DECDSA/server1.example_ec.com/server1.example_ec.com.pem
26 tls_privatekey =  DRSA/server1.example.com/server1.example.com.unlocked.key \
27               : DECDSA/server1.example_ec.com/server1.example_ec.com.unlocked.key
28 tls_ocsp_file =   DRSA/server1.example.com/server1.example.com.ocsp.good.resp \
29               : DECDSA/server1.example_ec.com/server1.example_ec.com.ocsp.good.resp
30
31
32
33 # ------ ACL ------
34
35 begin acl
36
37 check_mail:
38   accept   logwrite = acl_mail: ocsp in status: $tls_in_ocsp \
39     (${listextract {${eval:$tls_in_ocsp+1}} \
40                 {notreq:notresp:vfynotdone:failed:verified}})
41
42 check_recipient:
43   accept
44
45
46 # ----- Routers -----
47
48 begin routers
49
50 client:
51   driver = manualroute
52   condition = ${if !eq {SERVER}{server}}
53   route_list = * 127.0.0.1
54   self = send
55   transport = remote_delivery
56   errors_to = ""
57
58 srvr:
59   driver = accept
60   retry_use_local_part
61   transport = local_delivery
62
63
64 # ----- Transports -----
65
66 begin transports
67
68 remote_delivery:
69   driver =                      smtp
70   port =                        PORT_D
71   hosts_require_tls =           *
72   tls_require_ciphers =         OPT
73   hosts_require_ocsp =          *
74   tls_verify_certificates =     CERT
75   tls_verify_cert_hostnames =   :
76
77 local_delivery:
78   driver = appendfile
79   file = DIR/test-mail/$local_part
80   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
81   user = CALLER
82
83 # End