TLS: preload configuration items
[users/heiko/exim.git] / test / confs / 2113
index e5fc5393d4846fe92258a2da0144415cbbe80e21..b992747e25efa42dad05c3cd895074601d2ce757 100644 (file)
@@ -20,10 +20,7 @@ smtp_accept_max_nonmail = 0
 
 tls_advertise_hosts = *
 
-# Set certificate only if server
-
-tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
-tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+tls_certificate = DIR/aux-fixed/cert1
 
 
 # ----- Routers -----
@@ -69,6 +66,7 @@ send_to_server:
   port = PORT_D
   hosts_try_fastopen = :
   hosts_noproxy_tls = PEX
-  tls_try_verify_hosts = :
+  tls_verify_certificates = DIR/aux-fixed/cert1
+  tls_verify_cert_hostnames = :
 
 # End