sieve dynamic module
[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 ??? 250
23 starttls
24 ??? 220
25 helo test
26 ??? 250
27 mail from:<userx@test.ex>
28 ??? 250
29 rcpt to:<userx@test.ex>
30 ??? 250
31 quit
32 ??? 221
33 ****
34 killdaemon
35 #
36 #
37 #
38 exim -z '2: Server does not staple an outdated response'
39 ****
40 # This test fails on older GnuTLS versions, which do not check the resp on the server
41 #
42 exim -bd -oX PORT_D -DSERVER=server \
43  -DOPTION=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp
44 ****
45 client-gnutls -ocsp aux-fixed/exim-ca/expired1.example.com/CA.pem HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
46 ??? 220
47 ehlo rhu.barb
48 ??? 250-
49 ??? 250-
50 ??? 250-
51 ??? 250-
52 ??? 250-
53 ??? 250-
54 ??? 250
55 starttls
56 ??? 454
57 ****
58 killdaemon
59 #
60 #
61 #
62 #
63 #
64 exim -z '3: Server does not staple a response for a revoked cert'
65 ****
66 # This test fails on older GnuTLS versions, which do not check the resp on the server
67 #
68 exim -bd -oX PORT_D -DSERVER=server \
69  -DOPTION=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp
70 ****
71 client-gnutls \
72  -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \
73  HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
74 ??? 220
75 ehlo rhu.barb
76 ??? 250-
77 ??? 250-
78 ??? 250-
79 ??? 250-
80 ??? 250-
81 ??? 250-
82 ??? 250
83 starttls
84 ??? 454
85 ****
86 killdaemon
87 #
88 #
89 #
90 #
91 #
92 exim -z '4: Connection functions when server is prepared to staple but client does not request it'
93 ****
94 #
95 exim -bd -oX PORT_D -DSERVER=server \
96  -DOPTION=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp
97 ****
98 #
99 client-gnutls \
100  HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
101 ??? 220
102 ehlo rhu.barb
103 ??? 250-
104 ??? 250-
105 ??? 250-
106 ??? 250-
107 ??? 250-
108 ??? 250-
109 ??? 250
110 starttls
111 ??? 220
112 ehlo rhu.barb.tls
113 ??? 250-
114 ??? 250-
115 ??? 250-
116 ??? 250-
117 ??? 250-
118 ??? 250
119 quit
120 ****
121 killdaemon
122 #
123 #
124 #
125 #
126 #