1 # OCSP stapling, client, events
5 # Client works when we request but don't require OCSP stapling and none comes
6 exim -bd -oX PORT_D -DSERVER=server -DRETURN=""
8 exim norequire_1@test.ex
17 # Client works when we request but don't require OCSP stapling and some arrives
18 exim -bd -oX PORT_D -DSERVER=server \
19 -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
21 exim norequire_2@test.ex
29 # Client works when we don't request OCSP stapling
38 # Client accepts good stapled info
47 # Client fails on lack of required stapled info
48 exim -bd -oX PORT_D -DSERVER=server -DRETURN=""
50 exim failrequire@test.ex
56 sudo rm -f DIR/spool/db/retry
60 # Client fails on revoked stapled info
61 EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
62 -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp
64 exim failrevoked@test.ex
69 sudo rm -f DIR/spool/db/retry
74 # Client fails on expired stapled info
75 EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
76 -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp
78 exim failexpired@test.ex