From ff97edac3ecb0643697ea5eb5f8596402b5a289e Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Mon, 1 Feb 2021 14:57:31 +0100 Subject: [PATCH] REGTESTS: set_ssl_server_cert: cleanup the SSL caching option Replace the tune.ssl.cachesize 0 and the no-tls-tickets by a no-ssl-reuse option on the server line. --- reg-tests/ssl/set_ssl_server_cert.vtc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/reg-tests/ssl/set_ssl_server_cert.vtc b/reg-tests/ssl/set_ssl_server_cert.vtc index 61346e07e5..cab2d04285 100644 --- a/reg-tests/ssl/set_ssl_server_cert.vtc +++ b/reg-tests/ssl/set_ssl_server_cert.vtc @@ -20,7 +20,6 @@ haproxy h1 -conf { tune.ssl.capture-cipherlist-size 1 stats socket "${tmpdir}/h1/stats" level admin nbthread 1 - tune.ssl.cachesize 0 defaults mode http @@ -35,13 +34,13 @@ haproxy h1 -conf { listen clear-lst bind "fd@${clearlst}" retries 0 # 2nd SSL connection must fail so skip the retry - server s1 "${tmpdir}/ssl.sock" ssl verify none crt ${testdir}/client1.pem + server s1 "${tmpdir}/ssl.sock" ssl verify none crt ${testdir}/client1.pem no-ssl-reuse listen ssl-lst # crt: certificate of the server # ca-file: CA used for client authentication request # crl-file: revocation list for client auth: the client1 certificate is revoked - bind "${tmpdir}/ssl.sock" ssl crt ${testdir}/common.pem ca-file ${testdir}/ca-auth.crt verify optional crt-ignore-err all crl-file ${testdir}/crl-auth.pem no-tls-tickets + bind "${tmpdir}/ssl.sock" ssl crt ${testdir}/common.pem ca-file ${testdir}/ca-auth.crt verify optional crt-ignore-err all crl-file ${testdir}/crl-auth.pem acl cert_expired ssl_c_verify 10 acl cert_revoked ssl_c_verify 23