Commit | Line | Data |
---|---|---|
f5d78688 JH |
1 | # OCSP stapling, client |
2 | # | |
3 | # | |
44662487 | 4 | # Client works when we request but don't require OCSP stapling and none comes |
f5d78688 JH |
5 | exim -bd -oX PORT_D -DSERVER=server -DOCSP=/dev/null |
6 | **** | |
44662487 | 7 | exim norequire@test.ex |
f5d78688 JH |
8 | test message. |
9 | **** | |
10 | sleep 1 | |
11 | killdaemon | |
12 | # | |
13 | # | |
14 | # | |
15 | # | |
44662487 | 16 | # Client works when we don't request OCSP stapling |
f5d78688 JH |
17 | exim -bd -oX PORT_D -DSERVER=server \ |
18 | -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp | |
19 | **** | |
44662487 JH |
20 | exim nostaple@test.ex |
21 | test message. | |
22 | **** | |
2381c830 | 23 | millisleep 500 |
44662487 JH |
24 | # |
25 | # | |
26 | # | |
27 | # | |
28 | # Client accepts good stapled info | |
f5d78688 JH |
29 | exim CALLER@test.ex |
30 | test message. | |
31 | **** | |
32 | sleep 1 | |
33 | killdaemon | |
34 | # | |
35 | # | |
36 | # | |
44662487 | 37 | # Client fails on lack of required stapled info |
f5d78688 JH |
38 | exim -bd -oX PORT_D -DSERVER=server -DOCSP=/dev/null |
39 | **** | |
40 | exim CALLER@test.ex | |
41 | test message. | |
42 | **** | |
43 | sleep 1 | |
44 | killdaemon | |
45 | no_msglog_check | |
46 | # | |
47 | # | |
48 | # | |
49 | # Client fails on revoked stapled info | |
50 | EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \ | |
51 | -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp | |
52 | **** | |
53 | exim CALLER@test.ex | |
54 | test message. | |
55 | **** | |
56 | sleep 1 | |
57 | killdaemon | |
309d78de | 58 | millisleep 200 |
f5d78688 JH |
59 | # |
60 | # | |
61 | # | |
62 | # | |
63 | # Client fails on expired stapled info | |
64 | EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \ | |
65 | -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp | |
66 | **** | |
67 | exim CALLER@test.ex | |
68 | test message. | |
69 | **** | |
70 | sleep 1 | |
71 | killdaemon | |
72 | # | |
73 | # | |
74 | # | |
75 | # |