summaryrefslogtreecommitdiff
path: root/test/confs/2130
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-09-26 15:35:58 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-09-26 15:52:44 +0100
commit4cfb21b860882e76c3d3147b01708b347d0f9a0d (patch)
tree50973ae96ddfa46926054ceb3871807c7a89d940 /test/confs/2130
parentfdf263214d6536aba14944283ffc131597870a46 (diff)
OpenSSL: Fix client-side tls_verify_cert_hostnames behaviour
Diffstat (limited to 'test/confs/2130')
-rw-r--r--test/confs/213011
1 files changed, 5 insertions, 6 deletions
diff --git a/test/confs/2130 b/test/confs/2130
index 4afded1cf..0559bba53 100644
--- a/test/confs/2130
+++ b/test/confs/2130
@@ -16,10 +16,7 @@ log_selector = +tls_peerdn +tls_sni
remote_max_parallel = 1
tls_advertise_hosts = *
-
-# Set certificate only if server
-
-tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+tls_certificate = DIR/aux-fixed/cert1
# ------ ACL ------
@@ -55,7 +52,8 @@ send_to_server1:
port = PORT_D
hosts_try_fastopen = :
tls_sni = fred
- tls_try_verify_hosts = :
+ tls_verify_certificates = DIR/aux-fixed/cert1
+ tls_verify_cert_hostnames = :
send_to_server2:
driver = smtp
@@ -63,7 +61,8 @@ send_to_server2:
hosts = HOSTIPV4
port = PORT_D
hosts_try_fastopen = :
- tls_try_verify_hosts = :
+ tls_verify_certificates = DIR/aux-fixed/cert1
+ tls_verify_cert_hostnames = :
# ----- Retry -----