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 -DOPT=""
17 # Client works when we request but don't require OCSP stapling and some arrives
18 exim -bd -oX PORT_D -DSERVER=server \
19 -DOPT=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
21 exim norequire@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 -DOPT=""
50 exim failrequire@test.ex
55 sudo rm DIR/spool/db/retry
59 # Client fails on revoked stapled info
60 EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
61 -DOPT=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp
63 exim failrevoked@test.ex
68 sudo rm DIR/spool/db/retry
73 # Client fails on expired stapled info
74 EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
75 -DOPT=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp
77 exim failexpired@test.ex