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