OpenSSL: Fix client-side tls_verify_cert_hostnames behaviour
[exim.git] / test / confs / 3462
index 6c3aaee8d2158d39fd498da92b2f87406b89045f..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 -----
@@ -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 -----