summaryrefslogtreecommitdiff
path: root/test/confs/5850
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-08-10 19:06:47 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-08-10 19:06:47 +0100
commit82525c6fc2b2c12202b93250c2774bf50baae300 (patch)
treed6902162e5934f6514bc804d19d9181b368c3607 /test/confs/5850
parent53a7196b578115484068f8c13326741824002c32 (diff)
Add (2 0 1) test
Diffstat (limited to 'test/confs/5850')
-rw-r--r--test/confs/585017
1 files changed, 14 insertions, 3 deletions
diff --git a/test/confs/5850 b/test/confs/5850
index b2c7cb7eb..c381ef616 100644
--- a/test/confs/5850
+++ b/test/confs/5850
@@ -24,9 +24,20 @@ queue_run_in_order
tls_advertise_hosts = *
# Set certificate only if server
+CDIR1 = DIR/aux-fixed
+CDIR2 = DIR/aux-fixed/exim-ca/example.com/server1.example.com
-tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
-#tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+tls_certificate = ${if eq {SERVER}{server} \
+ {${if eq {DETAILS}{ta} \
+ {CDIR2/fullchain.pem}\
+ {CDIR1/cert1}}}\
+ fail}
+
+tls_privatekey = ${if eq {SERVER}{server} \
+ {${if eq {DETAILS}{ta} \
+ {CDIR2/server1.example.com.unlocked.key}\
+ {CDIR1/cert1}}}\
+ fail}
# ----- Routers -----
@@ -35,7 +46,7 @@ begin routers
client:
driver = dnslookup
- condition = ${if eq {SERVER}{server}{no}{yes}}
+ condition = ${if eq {SERVER}{}}
dnssec_request_domains = *
self = send
transport = send_to_server