1 # OCSP stapling, client
4 # Client works when we request but don't require OCSP stapling and none comes
5 exim -bd -oX PORT_D -DSERVER=server -DOCSP=/dev/null
16 # Client works when we don't request OCSP stapling
17 exim -bd -oX PORT_D -DSERVER=server \
18 -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
28 # Client accepts good stapled info
37 # Client fails on lack of required stapled info
38 exim -bd -oX PORT_D -DSERVER=server -DOCSP=/dev/null
45 sudo rm spool/db/retry
49 # Client fails on revoked stapled info
50 EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
51 -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp
59 sudo rm spool/db/retry
64 # Client fails on expired stapled info
65 EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \
66 -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp