1 # OCSP stapling, server
5 # '1: Server sends good staple on request'
7 exim -bd -oX PORT_D -DSERVER=server \
8 -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
11 -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \
12 HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
23 mail from:<userx@test.ex>
25 rcpt to:<userx@test.ex>
34 # '2: Server does not staple an outdated response'
36 exim -bd -oX PORT_D -DSERVER=server \
37 -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp
39 # XXX test sequence might not be quite right; this is for a server refusal
40 # and we're expecting a client refusal.
41 client-ssl -ocsp aux-fixed/exim-ca/expired1.example.com/CA.pem HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
59 # '3: Server does not staple a response for a revoked cert'
61 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
65 -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \
66 HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
84 # '4: Connection functions when server is prepared to staple but client does not request it'
86 exim -bd -oX PORT_D -DSERVER=server \
87 -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
91 HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2