X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/277b99794bf90e4a64b4adee88c08bed417bc5ee..ae0a8c3a7e15ddec563e2eaef130d96bb3f7b2a8:/test/confs/3461 diff --git a/test/confs/3461 b/test/confs/3461 index 35c2a17b2..b793a4f36 100644 --- a/test/confs/3461 +++ b/test/confs/3461 @@ -19,11 +19,7 @@ queue_run_in_order 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 # ----- Authenticators ----- @@ -62,6 +58,7 @@ begin transports local_delivery: driver = appendfile file = DIR/test-mail/$local_part + create_file = DIR/test-mail headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn user = CALLER @@ -73,6 +70,7 @@ send_to_server: hosts_try_fastopen = : hosts_try_auth = * hosts_noproxy_tls = PEX - tls_try_verify_hosts = : + tls_verify_certificates = DIR/aux-fixed/cert1 + tls_verify_cert_hostnames = : # End