34339448f8e451eb9993d4a77d140519cb15f8d6
[openssl.git] / test / ssl-tests / 11-dtls_resumption.conf
1 # Generated with generate_ssl_tests.pl
2
3 num_tests = 8
4
5 test-0 = 0-resumption
6 test-1 = 1-resumption
7 test-2 = 2-resumption
8 test-3 = 3-resumption
9 test-4 = 4-resumption
10 test-5 = 5-resumption
11 test-6 = 6-resumption
12 test-7 = 7-resumption
13 # ===========================================================
14
15 [0-resumption]
16 ssl_conf = 0-resumption-ssl
17
18 [0-resumption-ssl]
19 server = 0-resumption-server
20 resume-server = 0-resumption-resume-server
21 client = 0-resumption-client
22
23 [0-resumption-server]
24 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
25 CipherString = DEFAULT
26 MaxProtocol = DTLSv1
27 MinProtocol = DTLSv1
28 Options = SessionTicket
29 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
30
31 [0-resumption-resume-server]
32 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
33 CipherString = DEFAULT
34 MaxProtocol = DTLSv1
35 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
36
37 [0-resumption-client]
38 CipherString = DEFAULT
39 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
40 VerifyMode = Peer
41
42 [test-0]
43 HandshakeMode = Resume
44 Method = DTLS
45 Protocol = DTLSv1
46 ResumptionExpected = Yes
47
48
49 # ===========================================================
50
51 [1-resumption]
52 ssl_conf = 1-resumption-ssl
53
54 [1-resumption-ssl]
55 server = 1-resumption-server
56 resume-server = 1-resumption-resume-server
57 client = 1-resumption-client
58
59 [1-resumption-server]
60 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
61 CipherString = DEFAULT
62 MaxProtocol = DTLSv1
63 MinProtocol = DTLSv1
64 Options = -SessionTicket
65 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
66
67 [1-resumption-resume-server]
68 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
69 CipherString = DEFAULT
70 MaxProtocol = DTLSv1
71 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
72
73 [1-resumption-client]
74 CipherString = DEFAULT
75 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
76 VerifyMode = Peer
77
78 [test-1]
79 HandshakeMode = Resume
80 Method = DTLS
81 Protocol = DTLSv1
82 ResumptionExpected = Yes
83
84
85 # ===========================================================
86
87 [2-resumption]
88 ssl_conf = 2-resumption-ssl
89
90 [2-resumption-ssl]
91 server = 2-resumption-server
92 resume-server = 2-resumption-resume-server
93 client = 2-resumption-client
94
95 [2-resumption-server]
96 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
97 CipherString = DEFAULT
98 MaxProtocol = DTLSv1
99 MinProtocol = DTLSv1
100 Options = SessionTicket
101 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
102
103 [2-resumption-resume-server]
104 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
105 CipherString = DEFAULT
106 MaxProtocol = DTLSv1.2
107 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
108
109 [2-resumption-client]
110 CipherString = DEFAULT
111 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
112 VerifyMode = Peer
113
114 [test-2]
115 HandshakeMode = Resume
116 Method = DTLS
117 Protocol = DTLSv1.2
118 ResumptionExpected = No
119
120
121 # ===========================================================
122
123 [3-resumption]
124 ssl_conf = 3-resumption-ssl
125
126 [3-resumption-ssl]
127 server = 3-resumption-server
128 resume-server = 3-resumption-resume-server
129 client = 3-resumption-client
130
131 [3-resumption-server]
132 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
133 CipherString = DEFAULT
134 MaxProtocol = DTLSv1
135 MinProtocol = DTLSv1
136 Options = -SessionTicket
137 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
138
139 [3-resumption-resume-server]
140 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
141 CipherString = DEFAULT
142 MaxProtocol = DTLSv1.2
143 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
144
145 [3-resumption-client]
146 CipherString = DEFAULT
147 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
148 VerifyMode = Peer
149
150 [test-3]
151 HandshakeMode = Resume
152 Method = DTLS
153 Protocol = DTLSv1.2
154 ResumptionExpected = No
155
156
157 # ===========================================================
158
159 [4-resumption]
160 ssl_conf = 4-resumption-ssl
161
162 [4-resumption-ssl]
163 server = 4-resumption-server
164 resume-server = 4-resumption-resume-server
165 client = 4-resumption-client
166
167 [4-resumption-server]
168 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
169 CipherString = DEFAULT
170 MaxProtocol = DTLSv1.2
171 MinProtocol = DTLSv1.2
172 Options = SessionTicket
173 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
174
175 [4-resumption-resume-server]
176 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
177 CipherString = DEFAULT
178 MaxProtocol = DTLSv1
179 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
180
181 [4-resumption-client]
182 CipherString = DEFAULT
183 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
184 VerifyMode = Peer
185
186 [test-4]
187 HandshakeMode = Resume
188 Method = DTLS
189 Protocol = DTLSv1
190 ResumptionExpected = No
191
192
193 # ===========================================================
194
195 [5-resumption]
196 ssl_conf = 5-resumption-ssl
197
198 [5-resumption-ssl]
199 server = 5-resumption-server
200 resume-server = 5-resumption-resume-server
201 client = 5-resumption-client
202
203 [5-resumption-server]
204 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
205 CipherString = DEFAULT
206 MaxProtocol = DTLSv1.2
207 MinProtocol = DTLSv1.2
208 Options = -SessionTicket
209 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
210
211 [5-resumption-resume-server]
212 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
213 CipherString = DEFAULT
214 MaxProtocol = DTLSv1
215 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
216
217 [5-resumption-client]
218 CipherString = DEFAULT
219 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
220 VerifyMode = Peer
221
222 [test-5]
223 HandshakeMode = Resume
224 Method = DTLS
225 Protocol = DTLSv1
226 ResumptionExpected = No
227
228
229 # ===========================================================
230
231 [6-resumption]
232 ssl_conf = 6-resumption-ssl
233
234 [6-resumption-ssl]
235 server = 6-resumption-server
236 resume-server = 6-resumption-resume-server
237 client = 6-resumption-client
238
239 [6-resumption-server]
240 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
241 CipherString = DEFAULT
242 MaxProtocol = DTLSv1.2
243 MinProtocol = DTLSv1.2
244 Options = SessionTicket
245 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
246
247 [6-resumption-resume-server]
248 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
249 CipherString = DEFAULT
250 MaxProtocol = DTLSv1.2
251 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
252
253 [6-resumption-client]
254 CipherString = DEFAULT
255 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
256 VerifyMode = Peer
257
258 [test-6]
259 HandshakeMode = Resume
260 Method = DTLS
261 Protocol = DTLSv1.2
262 ResumptionExpected = Yes
263
264
265 # ===========================================================
266
267 [7-resumption]
268 ssl_conf = 7-resumption-ssl
269
270 [7-resumption-ssl]
271 server = 7-resumption-server
272 resume-server = 7-resumption-resume-server
273 client = 7-resumption-client
274
275 [7-resumption-server]
276 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
277 CipherString = DEFAULT
278 MaxProtocol = DTLSv1.2
279 MinProtocol = DTLSv1.2
280 Options = -SessionTicket
281 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
282
283 [7-resumption-resume-server]
284 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
285 CipherString = DEFAULT
286 MaxProtocol = DTLSv1.2
287 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
288
289 [7-resumption-client]
290 CipherString = DEFAULT
291 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
292 VerifyMode = Peer
293
294 [test-7]
295 HandshakeMode = Resume
296 Method = DTLS
297 Protocol = DTLSv1.2
298 ResumptionExpected = Yes
299
300