1 # TLS server: OCSP stapling
5 # 1: Server sends good staple on request
6 exim -bd -oX PORT_D -DSERVER=server \
7 -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
10 -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \
11 HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
22 mail from:<userx@test.ex>
24 rcpt to:<userx@test.ex>
33 # 2: Server does not staple an outdated response
34 exim -bd -oX PORT_D -DSERVER=server \
35 -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp
37 # XXX test sequence might not be quite right; this is for a server refusal
38 # and we're expecting a client refusal.
39 client-ssl -ocsp aux-fixed/exim-ca/expired1.example.com/CA.pem HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
57 # 3: Server does not staple a response for a revoked cert
58 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
62 -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \
63 HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2