99aaa0b7a47c582d8135d0bbcec8156dea405e9c
[exim.git] / test / scripts / 5650-OCSP-GnuTLS / 5650
1 # OCSP stapling, server
2 #
3 #
4 #
5 exim -z '1: Server sends good staple on request'
6 ****
7 #
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
10 ****
11 client-gnutls \
12  -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \
13  HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
14 ??? 220
15 ehlo rhu.barb
16 ??? 250-
17 ??? 250-
18 ??? 250-
19 ??? 250-
20 ??? 250-
21 ??? 250
22 starttls
23 ??? 220
24 mail from:<userx@test.ex>
25 ??? 250
26 rcpt to:<userx@test.ex>
27 ??? 250
28 quit
29 ??? 221
30 ****
31 killdaemon
32 #
33 #
34 #
35 exim -z '2: Server does not staple an outdated response'
36 ****
37 #
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
40 ****
41 client-gnutls -ocsp aux-fixed/exim-ca/expired1.example.com/CA.pem HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
42 ??? 220
43 ehlo rhu.barb
44 ??? 250-
45 ??? 250-
46 ??? 250-
47 ??? 250-
48 ??? 250-
49 ??? 250
50 starttls
51 ??? 454
52 ****
53 killdaemon
54 #
55 #
56 #
57 #
58 #
59 exim -z '3: Server does not staple a response for a revoked cert'
60 ****
61 #
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
64 ****
65 client-gnutls \
66  -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \
67  HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
68 ??? 220
69 ehlo rhu.barb
70 ??? 250-
71 ??? 250-
72 ??? 250-
73 ??? 250-
74 ??? 250-
75 ??? 250
76 starttls
77 ??? 454
78 ****
79 killdaemon
80 #
81 #
82 #
83 #
84 #
85 exim -z '4: Connection functions when server is prepared to staple but client does not request it'
86 ****
87 #
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
90 ****
91 #
92 client-gnutls \
93  HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
94 ??? 220
95 ehlo rhu.barb
96 ??? 250-
97 ??? 250-
98 ??? 250-
99 ??? 250-
100 ??? 250-
101 ??? 250
102 starttls
103 ??? 220
104 ehlo rhu.barb.tls
105 ??? 250-
106 ??? 250-
107 ??? 250-
108 ??? 250-
109 ??? 250
110 quit
111 ****
112 killdaemon
113 #
114 #
115 #
116 #
117 #