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