diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-09-26 15:35:58 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-09-26 15:52:44 +0100 |
commit | 4cfb21b860882e76c3d3147b01708b347d0f9a0d (patch) | |
tree | 50973ae96ddfa46926054ceb3871807c7a89d940 /test/confs/2138 | |
parent | fdf263214d6536aba14944283ffc131597870a46 (diff) |
OpenSSL: Fix client-side tls_verify_cert_hostnames behaviour
Diffstat (limited to 'test/confs/2138')
-rw-r--r-- | test/confs/2138 | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/test/confs/2138 b/test/confs/2138 index aedeacf2f..c255373b5 100644 --- a/test/confs/2138 +++ b/test/confs/2138 @@ -19,11 +19,7 @@ remote_max_parallel = 1 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 # ----- Routers ----- @@ -55,12 +51,13 @@ local_delivery: user = CALLER send_to_server: - driver = smtp + driver = smtp allow_localhost - port = PORT_D + port = PORT_D hosts_try_fastopen = : - hosts_noproxy_tls = : - tls_try_verify_hosts = : - max_rcpt = 1 + hosts_noproxy_tls = : + tls_verify_certificates = DIR/aux-fixed/cert1 + tls_verify_cert_hostnames = : + max_rcpt = 1 # End |