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