diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-08-02 23:56:58 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-08-02 23:56:58 +0100 |
commit | 3f0f8e6c10e1beb36d335c02692466c8911e4942 (patch) | |
tree | ef1ffad201850d76332e9c5be585c0735582bc60 /test/scripts/5893-Resume-OpenSSL-OCSP | |
parent | b690a53ed619f5adfa532bf8cc9ab13c1c806b3c (diff) |
Testsuite: separate cases for TLS resumption with/out OCSP
Diffstat (limited to 'test/scripts/5893-Resume-OpenSSL-OCSP')
-rw-r--r-- | test/scripts/5893-Resume-OpenSSL-OCSP/5893 | 64 | ||||
-rw-r--r-- | test/scripts/5893-Resume-OpenSSL-OCSP/REQUIRES | 4 |
2 files changed, 68 insertions, 0 deletions
diff --git a/test/scripts/5893-Resume-OpenSSL-OCSP/5893 b/test/scripts/5893-Resume-OpenSSL-OCSP/5893 new file mode 100644 index 000000000..18bce1f27 --- /dev/null +++ b/test/scripts/5893-Resume-OpenSSL-OCSP/5893 @@ -0,0 +1,64 @@ +# TLS session resumption with OCSP +# +### TLS1.2 +exim -DSERVER=server -DOPTION=+no_tlsv1_3 -bd -oX PORT_D +**** +exim -DVALUE=resume -odf getticket@test.ex +Test message. Contains FF: ÿ +**** +exim -DVALUE=resume -odf resume@test.ex abcd@test.ex xyz@test.ex +Test message to two different hosts, one does not support resume +**** +# allow time for ticket to hit renewal time +sleep 3 +exim -DVALUE=resume -odf renewal@test.ex +Test message. +**** +exim -DVALUE=resume -odf postrenewal@test.ex +Test message. +**** +sleep 3 +exim -DVALUE=resume -odf timeout@test.ex +Test message. +**** +exim -odf notreq@test.ex +Test message, not requesting resumption. +**** +sudo rm -f DIR/spool/db/tls +exim -odf -DVALUE=resume noverify_getticket@test.ex +Dest on this means the server cert will not verify (but try_verify will permit it) +**** +exim -odf -DVALUE=resume noverify_resume@test.ex +Dest on this means the server cert will not verify (but try_verify will permit it) +**** +killdaemon +sleep 1 +sudo rm -f DIR/spool/db/tls +# +# +### TLS1.3 +exim -DSERVER=server -bd -oX PORT_D +**** +exim -DVALUE=resume -odf getticket@test.ex +Test message. Contains FF: ÿ +**** +exim -DVALUE=resume -odf resume@test.ex abcd@test.ex xyz@test.ex +Test message to two different hosts, one does not support resume +**** +# allow time for ticket to hit renewal time +sleep 3 +exim -DVALUE=resume -odf renewal@test.ex +Test message. +**** +exim -DVALUE=resume -odf postrenewal@test.ex +Test message. +**** +sleep 3 +exim -DVALUE=resume -odf timeout@test.ex +Test message. +**** +exim -odf notreq@test.ex +Test message, not requesting resumption. +**** +killdaemon +no_msglog_check diff --git a/test/scripts/5893-Resume-OpenSSL-OCSP/REQUIRES b/test/scripts/5893-Resume-OpenSSL-OCSP/REQUIRES new file mode 100644 index 000000000..136ac8c6b --- /dev/null +++ b/test/scripts/5893-Resume-OpenSSL-OCSP/REQUIRES @@ -0,0 +1,4 @@ +support OpenSSL +running IPv4 +support TLS_resume +support OCSP |