Commit | Line | Data |
---|---|---|
0cbf2b82 | 1 | # OCSP stapling, client, events |
018058b2 JH |
2 | # duplicate of 5601 |
3 | # | |
4 | # | |
5 | # Client works when we request but don't require OCSP stapling and none comes | |
fbbd45ff | 6 | exim -bd -oX PORT_D -DSERVER=server -DRETURN=/dev/null |
018058b2 | 7 | **** |
23a217d9 | 8 | exim norequire_1@test.ex |
018058b2 JH |
9 | test message. |
10 | **** | |
11 | sleep 1 | |
12 | killdaemon | |
13 | # | |
14 | # | |
15 | # | |
16 | # | |
17 | # Client works when we request but don't require OCSP stapling and some arrives | |
18 | exim -bd -oX PORT_D -DSERVER=server \ | |
fbbd45ff | 19 | -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp |
018058b2 | 20 | **** |
23a217d9 | 21 | exim norequire_2@test.ex |
018058b2 JH |
22 | test message. |
23 | **** | |
23a217d9 | 24 | millisleep 700 |
018058b2 JH |
25 | # |
26 | # | |
27 | # | |
28 | # | |
29 | # Client works when we don't request OCSP stapling | |
30 | exim nostaple@test.ex | |
31 | test message. | |
32 | **** | |
23a217d9 | 33 | millisleep 700 |
018058b2 JH |
34 | # |
35 | # | |
36 | # | |
37 | # | |
38 | # Client accepts good stapled info | |
39 | exim good@test.ex | |
40 | test message. | |
41 | **** | |
42 | sleep 1 | |
43 | killdaemon | |
44 | # | |
45 | # | |
46 | # | |
47 | # Client fails on lack of required stapled info | |
fbbd45ff | 48 | exim -bd -oX PORT_D -DSERVER=server -DRETURN=/dev/null |
018058b2 JH |
49 | **** |
50 | exim failrequire@test.ex | |
51 | test message. | |
52 | **** | |
53 | sleep 1 | |
54 | killdaemon | |
55 | no_msglog_check | |
545dd332 | 56 | sudo rm -f DIR/spool/db/retry |
018058b2 JH |
57 | # |
58 | # | |
59 | # | |
60 | # Client fails on revoked stapled info | |
61 | EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \ | |
fbbd45ff | 62 | -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp |
018058b2 JH |
63 | **** |
64 | exim failrevoked@test.ex | |
65 | test message. | |
66 | **** | |
67 | sleep 1 | |
68 | killdaemon | |
545dd332 | 69 | sudo rm -f DIR/spool/db/retry |
018058b2 JH |
70 | # |
71 | # | |
72 | # | |
73 | # | |
74 | # Client fails on expired stapled info | |
75 | EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \ | |
fbbd45ff | 76 | -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp |
018058b2 JH |
77 | **** |
78 | exim failexpired@test.ex | |
79 | test message. | |
80 | **** | |
81 | sleep 1 | |
82 | killdaemon | |
83 | # | |
84 | # | |
85 | # | |
86 | # |