1 # OCSP stapling, client, tpda
5 # Client works when we request but don't require OCSP stapling and none comes
6 exim -bd -oX PORT_D -DSERVER=server -DOCSP=/dev/null
17 # Client works when we request but don't require OCSP stapling and some arrives
18 exim -bd -oX PORT_D -DSERVER=server \
19 -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
21 exim norequire@test.ex
28 # Client works when we don't request OCSP stapling
36 # Client accepts good stapled info
45 # Client fails on lack of required stapled info
46 exim -bd -oX PORT_D -DSERVER=server -DOCSP=/dev/null
48 exim failrequire@test.ex
57 # Client fails on revoked stapled info
58 EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
59 -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp
61 exim failrevoked@test.ex
70 # Client fails on expired stapled info
71 EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
72 -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp
74 exim failexpired@test.ex