1 # OCSP stapling, server, LE variation
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.signernocert.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
26 mail from:<userx@test.ex>
28 rcpt to:<userx@test.ex>
37 # '2: Server does not staple an outdated response'
39 exim -bd -oX PORT_D -DSERVER=server \
40 -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.signernocert.dated.resp
42 # XXX test sequence might not be quite right; this is for a server refusal
43 # and we're expecting a client refusal.
44 client-ssl -ocsp aux-fixed/exim-ca/example.com/CA.pem HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
63 # '3: Server does not staple a response for a revoked cert'
65 exim -bd -oX PORT_D -DSERVER=server \
66 -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.signernocert.revoked.resp
69 -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \
70 HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
89 # '4: Connection functions when server is prepared to staple but client does not request it'
91 exim -bd -oX PORT_D -DSERVER=server \
92 -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.signernocert.good.resp
96 HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2