OpenSSL: Fix client-side tls_verify_cert_hostnames behaviour
[exim.git] / test / confs / 3462
index 3f8c401de5aac57152bec56c153c2cff63b7c5ff..75385a029bca552d78cd5007949de74e50ad19b1 100644 (file)
@@ -16,11 +16,7 @@ queue_only
 queue_run_in_order
 
 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
 
 
 # ----- Authenticators -----
@@ -59,7 +55,7 @@ begin transports
 
 local_delivery:
   driver = appendfile
-  file = DIR/test-mail/$local_part
+  file = DIR/test-mail/${bless:$local_part}
   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
   user = CALLER
 
@@ -70,7 +66,8 @@ send_to_server:
   port = PORT_D
   hosts_try_fastopen = :
   hosts_try_auth = *
-  tls_try_verify_hosts = :
+  tls_verify_certificates =    DIR/aux-fixed/cert1
+  tls_verify_cert_hostnames =  :
 
 
 # ----- Retry -----