]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: set_ssl_server_cert: cleanup the SSL caching option
authorWilliam Lallemand <wlallemand@haproxy.org>
Mon, 1 Feb 2021 13:57:31 +0000 (14:57 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 1 Feb 2021 13:57:31 +0000 (14:57 +0100)
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

index 61346e07e5991043f3cb6fd06315238318ecd830..cab2d042853c8d3d0b419a189f9e6a049b42da19 100644 (file)
@@ -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