Introduce SSL_CTX_set_stateless_cookie_{generate,verify}_cb
[openssl.git] / test / ssl-tests / 11-dtls_resumption.conf
1 # Generated with generate_ssl_tests.pl
2
3 num_tests = 16
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 test-8 = 8-resumption
14 test-9 = 9-resumption
15 test-10 = 10-resumption
16 test-11 = 11-resumption
17 test-12 = 12-resumption
18 test-13 = 13-resumption
19 test-14 = 14-resumption
20 test-15 = 15-resumption
21 # ===========================================================
22
23 [0-resumption]
24 ssl_conf = 0-resumption-ssl
25
26 [0-resumption-ssl]
27 server = 0-resumption-server
28 client = 0-resumption-client
29 resume-server = 0-resumption-resume-server
30 resume-client = 0-resumption-client
31
32 [0-resumption-server]
33 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
34 CipherString = DEFAULT
35 MaxProtocol = DTLSv1
36 MinProtocol = DTLSv1
37 Options = SessionTicket
38 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
39
40 [0-resumption-resume-server]
41 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
42 CipherString = DEFAULT
43 MaxProtocol = DTLSv1
44 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
45
46 [0-resumption-client]
47 CipherString = DEFAULT
48 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
49 VerifyMode = Peer
50
51 [test-0]
52 ExpectedProtocol = DTLSv1
53 HandshakeMode = Resume
54 Method = DTLS
55 ResumptionExpected = Yes
56
57
58 # ===========================================================
59
60 [1-resumption]
61 ssl_conf = 1-resumption-ssl
62
63 [1-resumption-ssl]
64 server = 1-resumption-server
65 client = 1-resumption-client
66 resume-server = 1-resumption-resume-server
67 resume-client = 1-resumption-client
68
69 [1-resumption-server]
70 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
71 CipherString = DEFAULT
72 MaxProtocol = DTLSv1
73 MinProtocol = DTLSv1
74 Options = -SessionTicket
75 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
76
77 [1-resumption-resume-server]
78 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
79 CipherString = DEFAULT
80 MaxProtocol = DTLSv1
81 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
82
83 [1-resumption-client]
84 CipherString = DEFAULT
85 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
86 VerifyMode = Peer
87
88 [test-1]
89 ExpectedProtocol = DTLSv1
90 HandshakeMode = Resume
91 Method = DTLS
92 ResumptionExpected = Yes
93
94
95 # ===========================================================
96
97 [2-resumption]
98 ssl_conf = 2-resumption-ssl
99
100 [2-resumption-ssl]
101 server = 2-resumption-server
102 client = 2-resumption-client
103 resume-server = 2-resumption-resume-server
104 resume-client = 2-resumption-client
105
106 [2-resumption-server]
107 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
108 CipherString = DEFAULT
109 MaxProtocol = DTLSv1
110 MinProtocol = DTLSv1
111 Options = SessionTicket
112 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
113
114 [2-resumption-resume-server]
115 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
116 CipherString = DEFAULT
117 MaxProtocol = DTLSv1.2
118 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
119
120 [2-resumption-client]
121 CipherString = DEFAULT
122 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
123 VerifyMode = Peer
124
125 [test-2]
126 ExpectedProtocol = DTLSv1.2
127 HandshakeMode = Resume
128 Method = DTLS
129 ResumptionExpected = No
130
131
132 # ===========================================================
133
134 [3-resumption]
135 ssl_conf = 3-resumption-ssl
136
137 [3-resumption-ssl]
138 server = 3-resumption-server
139 client = 3-resumption-client
140 resume-server = 3-resumption-resume-server
141 resume-client = 3-resumption-client
142
143 [3-resumption-server]
144 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
145 CipherString = DEFAULT
146 MaxProtocol = DTLSv1
147 MinProtocol = DTLSv1
148 Options = -SessionTicket
149 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
150
151 [3-resumption-resume-server]
152 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
153 CipherString = DEFAULT
154 MaxProtocol = DTLSv1.2
155 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
156
157 [3-resumption-client]
158 CipherString = DEFAULT
159 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
160 VerifyMode = Peer
161
162 [test-3]
163 ExpectedProtocol = DTLSv1.2
164 HandshakeMode = Resume
165 Method = DTLS
166 ResumptionExpected = No
167
168
169 # ===========================================================
170
171 [4-resumption]
172 ssl_conf = 4-resumption-ssl
173
174 [4-resumption-ssl]
175 server = 4-resumption-server
176 client = 4-resumption-client
177 resume-server = 4-resumption-resume-server
178 resume-client = 4-resumption-client
179
180 [4-resumption-server]
181 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
182 CipherString = DEFAULT
183 MaxProtocol = DTLSv1.2
184 MinProtocol = DTLSv1.2
185 Options = SessionTicket
186 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
187
188 [4-resumption-resume-server]
189 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
190 CipherString = DEFAULT
191 MaxProtocol = DTLSv1
192 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
193
194 [4-resumption-client]
195 CipherString = DEFAULT
196 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
197 VerifyMode = Peer
198
199 [test-4]
200 ExpectedProtocol = DTLSv1
201 HandshakeMode = Resume
202 Method = DTLS
203 ResumptionExpected = No
204
205
206 # ===========================================================
207
208 [5-resumption]
209 ssl_conf = 5-resumption-ssl
210
211 [5-resumption-ssl]
212 server = 5-resumption-server
213 client = 5-resumption-client
214 resume-server = 5-resumption-resume-server
215 resume-client = 5-resumption-client
216
217 [5-resumption-server]
218 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
219 CipherString = DEFAULT
220 MaxProtocol = DTLSv1.2
221 MinProtocol = DTLSv1.2
222 Options = -SessionTicket
223 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
224
225 [5-resumption-resume-server]
226 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
227 CipherString = DEFAULT
228 MaxProtocol = DTLSv1
229 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
230
231 [5-resumption-client]
232 CipherString = DEFAULT
233 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
234 VerifyMode = Peer
235
236 [test-5]
237 ExpectedProtocol = DTLSv1
238 HandshakeMode = Resume
239 Method = DTLS
240 ResumptionExpected = No
241
242
243 # ===========================================================
244
245 [6-resumption]
246 ssl_conf = 6-resumption-ssl
247
248 [6-resumption-ssl]
249 server = 6-resumption-server
250 client = 6-resumption-client
251 resume-server = 6-resumption-resume-server
252 resume-client = 6-resumption-client
253
254 [6-resumption-server]
255 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
256 CipherString = DEFAULT
257 MaxProtocol = DTLSv1.2
258 MinProtocol = DTLSv1.2
259 Options = SessionTicket
260 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
261
262 [6-resumption-resume-server]
263 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
264 CipherString = DEFAULT
265 MaxProtocol = DTLSv1.2
266 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
267
268 [6-resumption-client]
269 CipherString = DEFAULT
270 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
271 VerifyMode = Peer
272
273 [test-6]
274 ExpectedProtocol = DTLSv1.2
275 HandshakeMode = Resume
276 Method = DTLS
277 ResumptionExpected = Yes
278
279
280 # ===========================================================
281
282 [7-resumption]
283 ssl_conf = 7-resumption-ssl
284
285 [7-resumption-ssl]
286 server = 7-resumption-server
287 client = 7-resumption-client
288 resume-server = 7-resumption-resume-server
289 resume-client = 7-resumption-client
290
291 [7-resumption-server]
292 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
293 CipherString = DEFAULT
294 MaxProtocol = DTLSv1.2
295 MinProtocol = DTLSv1.2
296 Options = -SessionTicket
297 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
298
299 [7-resumption-resume-server]
300 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
301 CipherString = DEFAULT
302 MaxProtocol = DTLSv1.2
303 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
304
305 [7-resumption-client]
306 CipherString = DEFAULT
307 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
308 VerifyMode = Peer
309
310 [test-7]
311 ExpectedProtocol = DTLSv1.2
312 HandshakeMode = Resume
313 Method = DTLS
314 ResumptionExpected = Yes
315
316
317 # ===========================================================
318
319 [8-resumption]
320 ssl_conf = 8-resumption-ssl
321
322 [8-resumption-ssl]
323 server = 8-resumption-server
324 client = 8-resumption-client
325 resume-server = 8-resumption-server
326 resume-client = 8-resumption-resume-client
327
328 [8-resumption-server]
329 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
330 CipherString = DEFAULT
331 Options = SessionTicket
332 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
333
334 [8-resumption-client]
335 CipherString = DEFAULT
336 MaxProtocol = DTLSv1
337 MinProtocol = DTLSv1
338 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
339 VerifyMode = Peer
340
341 [8-resumption-resume-client]
342 CipherString = DEFAULT
343 MaxProtocol = DTLSv1
344 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
345 VerifyMode = Peer
346
347 [test-8]
348 ExpectedProtocol = DTLSv1
349 HandshakeMode = Resume
350 Method = DTLS
351 ResumptionExpected = Yes
352
353
354 # ===========================================================
355
356 [9-resumption]
357 ssl_conf = 9-resumption-ssl
358
359 [9-resumption-ssl]
360 server = 9-resumption-server
361 client = 9-resumption-client
362 resume-server = 9-resumption-server
363 resume-client = 9-resumption-resume-client
364
365 [9-resumption-server]
366 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
367 CipherString = DEFAULT
368 Options = -SessionTicket
369 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
370
371 [9-resumption-client]
372 CipherString = DEFAULT
373 MaxProtocol = DTLSv1
374 MinProtocol = DTLSv1
375 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
376 VerifyMode = Peer
377
378 [9-resumption-resume-client]
379 CipherString = DEFAULT
380 MaxProtocol = DTLSv1
381 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
382 VerifyMode = Peer
383
384 [test-9]
385 ExpectedProtocol = DTLSv1
386 HandshakeMode = Resume
387 Method = DTLS
388 ResumptionExpected = Yes
389
390
391 # ===========================================================
392
393 [10-resumption]
394 ssl_conf = 10-resumption-ssl
395
396 [10-resumption-ssl]
397 server = 10-resumption-server
398 client = 10-resumption-client
399 resume-server = 10-resumption-server
400 resume-client = 10-resumption-resume-client
401
402 [10-resumption-server]
403 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
404 CipherString = DEFAULT
405 Options = SessionTicket
406 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
407
408 [10-resumption-client]
409 CipherString = DEFAULT
410 MaxProtocol = DTLSv1
411 MinProtocol = DTLSv1
412 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
413 VerifyMode = Peer
414
415 [10-resumption-resume-client]
416 CipherString = DEFAULT
417 MaxProtocol = DTLSv1.2
418 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
419 VerifyMode = Peer
420
421 [test-10]
422 ExpectedProtocol = DTLSv1.2
423 HandshakeMode = Resume
424 Method = DTLS
425 ResumptionExpected = No
426
427
428 # ===========================================================
429
430 [11-resumption]
431 ssl_conf = 11-resumption-ssl
432
433 [11-resumption-ssl]
434 server = 11-resumption-server
435 client = 11-resumption-client
436 resume-server = 11-resumption-server
437 resume-client = 11-resumption-resume-client
438
439 [11-resumption-server]
440 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
441 CipherString = DEFAULT
442 Options = -SessionTicket
443 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
444
445 [11-resumption-client]
446 CipherString = DEFAULT
447 MaxProtocol = DTLSv1
448 MinProtocol = DTLSv1
449 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
450 VerifyMode = Peer
451
452 [11-resumption-resume-client]
453 CipherString = DEFAULT
454 MaxProtocol = DTLSv1.2
455 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
456 VerifyMode = Peer
457
458 [test-11]
459 ExpectedProtocol = DTLSv1.2
460 HandshakeMode = Resume
461 Method = DTLS
462 ResumptionExpected = No
463
464
465 # ===========================================================
466
467 [12-resumption]
468 ssl_conf = 12-resumption-ssl
469
470 [12-resumption-ssl]
471 server = 12-resumption-server
472 client = 12-resumption-client
473 resume-server = 12-resumption-server
474 resume-client = 12-resumption-resume-client
475
476 [12-resumption-server]
477 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
478 CipherString = DEFAULT
479 Options = SessionTicket
480 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
481
482 [12-resumption-client]
483 CipherString = DEFAULT
484 MaxProtocol = DTLSv1.2
485 MinProtocol = DTLSv1.2
486 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
487 VerifyMode = Peer
488
489 [12-resumption-resume-client]
490 CipherString = DEFAULT
491 MaxProtocol = DTLSv1
492 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
493 VerifyMode = Peer
494
495 [test-12]
496 ExpectedProtocol = DTLSv1
497 HandshakeMode = Resume
498 Method = DTLS
499 ResumptionExpected = No
500
501
502 # ===========================================================
503
504 [13-resumption]
505 ssl_conf = 13-resumption-ssl
506
507 [13-resumption-ssl]
508 server = 13-resumption-server
509 client = 13-resumption-client
510 resume-server = 13-resumption-server
511 resume-client = 13-resumption-resume-client
512
513 [13-resumption-server]
514 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
515 CipherString = DEFAULT
516 Options = -SessionTicket
517 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
518
519 [13-resumption-client]
520 CipherString = DEFAULT
521 MaxProtocol = DTLSv1.2
522 MinProtocol = DTLSv1.2
523 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
524 VerifyMode = Peer
525
526 [13-resumption-resume-client]
527 CipherString = DEFAULT
528 MaxProtocol = DTLSv1
529 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
530 VerifyMode = Peer
531
532 [test-13]
533 ExpectedProtocol = DTLSv1
534 HandshakeMode = Resume
535 Method = DTLS
536 ResumptionExpected = No
537
538
539 # ===========================================================
540
541 [14-resumption]
542 ssl_conf = 14-resumption-ssl
543
544 [14-resumption-ssl]
545 server = 14-resumption-server
546 client = 14-resumption-client
547 resume-server = 14-resumption-server
548 resume-client = 14-resumption-resume-client
549
550 [14-resumption-server]
551 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
552 CipherString = DEFAULT
553 Options = SessionTicket
554 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
555
556 [14-resumption-client]
557 CipherString = DEFAULT
558 MaxProtocol = DTLSv1.2
559 MinProtocol = DTLSv1.2
560 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
561 VerifyMode = Peer
562
563 [14-resumption-resume-client]
564 CipherString = DEFAULT
565 MaxProtocol = DTLSv1.2
566 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
567 VerifyMode = Peer
568
569 [test-14]
570 ExpectedProtocol = DTLSv1.2
571 HandshakeMode = Resume
572 Method = DTLS
573 ResumptionExpected = Yes
574
575
576 # ===========================================================
577
578 [15-resumption]
579 ssl_conf = 15-resumption-ssl
580
581 [15-resumption-ssl]
582 server = 15-resumption-server
583 client = 15-resumption-client
584 resume-server = 15-resumption-server
585 resume-client = 15-resumption-resume-client
586
587 [15-resumption-server]
588 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
589 CipherString = DEFAULT
590 Options = -SessionTicket
591 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
592
593 [15-resumption-client]
594 CipherString = DEFAULT
595 MaxProtocol = DTLSv1.2
596 MinProtocol = DTLSv1.2
597 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
598 VerifyMode = Peer
599
600 [15-resumption-resume-client]
601 CipherString = DEFAULT
602 MaxProtocol = DTLSv1.2
603 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
604 VerifyMode = Peer
605
606 [test-15]
607 ExpectedProtocol = DTLSv1.2
608 HandshakeMode = Resume
609 Method = DTLS
610 ResumptionExpected = Yes
611
612