TLS: pre-generate and load server selfsigned cert, when one is to be used
[users/heiko/exim.git] / test / confs / 1103
1 # Exim test configuration 1103
2
3 .include DIR/aux-var/tls_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 tls_advertise_hosts = *
10
11 tls_certificate = DIR/tmp/certs/servercert
12 tls_privatekey = DIR/tmp/certs/serverkey
13 tls_try_verify_hosts = *
14 tls_verify_certificates = DIR/aux-fixed/cert2
15 #tls_verify_certificates = system,cache
16
17 queue_only
18 log_selector = +millisec
19
20 # --- ACL ---
21
22 acl_smtp_rcpt = accept
23
24 # ----
25
26 begin routers
27
28 all:
29   driver = accept
30   transport = smtp
31
32 begin transports
33
34 smtp:
35   driver =              smtp
36   hosts =               127.0.0.1
37   allow_localhost
38   port =                PORT_D
39   hosts_try_fastopen =  :
40   tls_certificate =     DIR/aux-fixed/cert2
41   tls_verify_certificates =     DIR/aux-fixed/cert1
42   tls_verify_cert_hostnames =   :
43
44 # End