1 # OCSP stapling, server
5 exim -z '1: Server sends good staple on request'
8 exim -bd -oX PORT_D -DSERVER=server \
9 -DOPTION=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
12 -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \
13 HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
24 mail from:<userx@test.ex>
26 rcpt to:<userx@test.ex>
35 exim -z '2: Server does not staple an outdated response'
38 exim -bd -oX PORT_D -DSERVER=server \
39 -DOPTION=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp
41 client-gnutls -ocsp aux-fixed/exim-ca/expired1.example.com/CA.pem HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
59 exim -z '3: Server does not staple a response for a revoked cert'
62 exim -bd -oX PORT_D -DSERVER=server \
63 -DOPTION=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp
66 -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \
67 HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
85 exim -z '4: Connection functions when server is prepared to staple but client does not request it'
88 exim -bd -oX PORT_D -DSERVER=server \
89 -DOPTION=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
93 HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2