OpenSSL: Fix client-side tls_verify_cert_hostnames behaviour
[exim.git] / test / confs / 3465
index 0d97a3a7f3b8990c17fa9bbecb41d9736496ca78..2ff6a5172552707b7e5b35a32c2535c6ed14245c 100644 (file)
@@ -18,8 +18,6 @@ queue_only = true
 
 tls_advertise_hosts = *
 tls_certificate = DIR/aux-fixed/cert1
-tls_privatekey = DIR/aux-fixed/cert1
-
 
 # ----- Authenticators -----
 
@@ -61,11 +59,12 @@ t1:
   driver = smtp
   hosts = 127.0.0.1
   port = PORT_D
+  allow_localhost
   hosts_try_fastopen = :
-  hosts_avoid_tls = HOSTS_AVOID_TLS
-  tls_try_verify_hosts = :
+  hosts_avoid_tls      = HOSTS_AVOID_TLS
+  tls_verify_certificates =    DIR/aux-fixed/cert1
+  tls_verify_cert_hostnames =  :
   hosts_require_auth = *
-  allow_localhost
 
   # These can be made visible by adding "-d-all+deliver+transport+tls" to the script 1st queuerun
   headers_add = X-tls-cipher: <$tls_cipher>