a3a9c78f06a236c5f24a40d2d6956cadcb7ea5d4
[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 client = 0-sni-session-ticket-client
30 server2 = 0-sni-session-ticket-server2
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 [0-sni-session-ticket-server2]
39 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
40 CipherString = DEFAULT
41 Options = SessionTicket
42 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
43
44 [0-sni-session-ticket-client]
45 CipherString = DEFAULT
46 MaxProtocol = TLSv1.2
47 Options = SessionTicket
48 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
49 VerifyMode = Peer
50
51 [test-0]
52 ExpectedResult = Success
53 SessionTicketExpected = No
54 server = 0-sni-session-ticket-server-extra
55 client = 0-sni-session-ticket-client-extra
56
57 [0-sni-session-ticket-server-extra]
58 BrokenSessionTicket = Yes
59
60 [0-sni-session-ticket-client-extra]
61 ServerName = server1
62
63
64 # ===========================================================
65
66 [1-sni-session-ticket]
67 ssl_conf = 1-sni-session-ticket-ssl
68
69 [1-sni-session-ticket-ssl]
70 server = 1-sni-session-ticket-server
71 client = 1-sni-session-ticket-client
72 server2 = 1-sni-session-ticket-server2
73
74 [1-sni-session-ticket-server]
75 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
76 CipherString = DEFAULT
77 Options = SessionTicket
78 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
79
80 [1-sni-session-ticket-server2]
81 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
82 CipherString = DEFAULT
83 Options = SessionTicket
84 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
85
86 [1-sni-session-ticket-client]
87 CipherString = DEFAULT
88 MaxProtocol = TLSv1.2
89 Options = SessionTicket
90 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
91 VerifyMode = Peer
92
93 [test-1]
94 ExpectedResult = Success
95 ExpectedServerName = server1
96 SessionIdExpected = Yes
97 SessionTicketExpected = Yes
98 server = 1-sni-session-ticket-server-extra
99 client = 1-sni-session-ticket-client-extra
100
101 [1-sni-session-ticket-server-extra]
102 ServerNameCallback = IgnoreMismatch
103
104 [1-sni-session-ticket-client-extra]
105 ServerName = server1
106
107
108 # ===========================================================
109
110 [2-sni-session-ticket]
111 ssl_conf = 2-sni-session-ticket-ssl
112
113 [2-sni-session-ticket-ssl]
114 server = 2-sni-session-ticket-server
115 client = 2-sni-session-ticket-client
116 server2 = 2-sni-session-ticket-server2
117
118 [2-sni-session-ticket-server]
119 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
120 CipherString = DEFAULT
121 Options = SessionTicket
122 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
123
124 [2-sni-session-ticket-server2]
125 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
126 CipherString = DEFAULT
127 Options = SessionTicket
128 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
129
130 [2-sni-session-ticket-client]
131 CipherString = DEFAULT
132 MaxProtocol = TLSv1.2
133 Options = SessionTicket
134 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
135 VerifyMode = Peer
136
137 [test-2]
138 ExpectedResult = Success
139 ExpectedServerName = server2
140 SessionIdExpected = Yes
141 SessionTicketExpected = Yes
142 server = 2-sni-session-ticket-server-extra
143 client = 2-sni-session-ticket-client-extra
144
145 [2-sni-session-ticket-server-extra]
146 ServerNameCallback = IgnoreMismatch
147
148 [2-sni-session-ticket-client-extra]
149 ServerName = server2
150
151
152 # ===========================================================
153
154 [3-sni-session-ticket]
155 ssl_conf = 3-sni-session-ticket-ssl
156
157 [3-sni-session-ticket-ssl]
158 server = 3-sni-session-ticket-server
159 client = 3-sni-session-ticket-client
160 server2 = 3-sni-session-ticket-server2
161
162 [3-sni-session-ticket-server]
163 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
164 CipherString = DEFAULT
165 Options = SessionTicket
166 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
167
168 [3-sni-session-ticket-server2]
169 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
170 CipherString = DEFAULT
171 Options = -SessionTicket
172 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
173
174 [3-sni-session-ticket-client]
175 CipherString = DEFAULT
176 MaxProtocol = TLSv1.2
177 Options = SessionTicket
178 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
179 VerifyMode = Peer
180
181 [test-3]
182 ExpectedResult = Success
183 ExpectedServerName = server1
184 SessionIdExpected = Yes
185 SessionTicketExpected = Yes
186 server = 3-sni-session-ticket-server-extra
187 client = 3-sni-session-ticket-client-extra
188
189 [3-sni-session-ticket-server-extra]
190 ServerNameCallback = IgnoreMismatch
191
192 [3-sni-session-ticket-client-extra]
193 ServerName = server1
194
195
196 # ===========================================================
197
198 [4-sni-session-ticket]
199 ssl_conf = 4-sni-session-ticket-ssl
200
201 [4-sni-session-ticket-ssl]
202 server = 4-sni-session-ticket-server
203 client = 4-sni-session-ticket-client
204 server2 = 4-sni-session-ticket-server2
205
206 [4-sni-session-ticket-server]
207 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
208 CipherString = DEFAULT
209 Options = SessionTicket
210 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
211
212 [4-sni-session-ticket-server2]
213 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
214 CipherString = DEFAULT
215 Options = -SessionTicket
216 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
217
218 [4-sni-session-ticket-client]
219 CipherString = DEFAULT
220 MaxProtocol = TLSv1.2
221 Options = SessionTicket
222 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
223 VerifyMode = Peer
224
225 [test-4]
226 ExpectedResult = Success
227 ExpectedServerName = server2
228 SessionIdExpected = Yes
229 SessionTicketExpected = No
230 server = 4-sni-session-ticket-server-extra
231 client = 4-sni-session-ticket-client-extra
232
233 [4-sni-session-ticket-server-extra]
234 ServerNameCallback = IgnoreMismatch
235
236 [4-sni-session-ticket-client-extra]
237 ServerName = server2
238
239
240 # ===========================================================
241
242 [5-sni-session-ticket]
243 ssl_conf = 5-sni-session-ticket-ssl
244
245 [5-sni-session-ticket-ssl]
246 server = 5-sni-session-ticket-server
247 client = 5-sni-session-ticket-client
248 server2 = 5-sni-session-ticket-server2
249
250 [5-sni-session-ticket-server]
251 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
252 CipherString = DEFAULT
253 Options = -SessionTicket
254 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
255
256 [5-sni-session-ticket-server2]
257 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
258 CipherString = DEFAULT
259 Options = SessionTicket
260 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
261
262 [5-sni-session-ticket-client]
263 CipherString = DEFAULT
264 MaxProtocol = TLSv1.2
265 Options = SessionTicket
266 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
267 VerifyMode = Peer
268
269 [test-5]
270 ExpectedResult = Success
271 ExpectedServerName = server1
272 SessionIdExpected = Yes
273 SessionTicketExpected = No
274 server = 5-sni-session-ticket-server-extra
275 client = 5-sni-session-ticket-client-extra
276
277 [5-sni-session-ticket-server-extra]
278 ServerNameCallback = IgnoreMismatch
279
280 [5-sni-session-ticket-client-extra]
281 ServerName = server1
282
283
284 # ===========================================================
285
286 [6-sni-session-ticket]
287 ssl_conf = 6-sni-session-ticket-ssl
288
289 [6-sni-session-ticket-ssl]
290 server = 6-sni-session-ticket-server
291 client = 6-sni-session-ticket-client
292 server2 = 6-sni-session-ticket-server2
293
294 [6-sni-session-ticket-server]
295 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
296 CipherString = DEFAULT
297 Options = -SessionTicket
298 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
299
300 [6-sni-session-ticket-server2]
301 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
302 CipherString = DEFAULT
303 Options = SessionTicket
304 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
305
306 [6-sni-session-ticket-client]
307 CipherString = DEFAULT
308 MaxProtocol = TLSv1.2
309 Options = SessionTicket
310 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
311 VerifyMode = Peer
312
313 [test-6]
314 ExpectedResult = Success
315 ExpectedServerName = server2
316 SessionIdExpected = Yes
317 SessionTicketExpected = No
318 server = 6-sni-session-ticket-server-extra
319 client = 6-sni-session-ticket-client-extra
320
321 [6-sni-session-ticket-server-extra]
322 ServerNameCallback = IgnoreMismatch
323
324 [6-sni-session-ticket-client-extra]
325 ServerName = server2
326
327
328 # ===========================================================
329
330 [7-sni-session-ticket]
331 ssl_conf = 7-sni-session-ticket-ssl
332
333 [7-sni-session-ticket-ssl]
334 server = 7-sni-session-ticket-server
335 client = 7-sni-session-ticket-client
336 server2 = 7-sni-session-ticket-server2
337
338 [7-sni-session-ticket-server]
339 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
340 CipherString = DEFAULT
341 Options = -SessionTicket
342 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
343
344 [7-sni-session-ticket-server2]
345 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
346 CipherString = DEFAULT
347 Options = -SessionTicket
348 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
349
350 [7-sni-session-ticket-client]
351 CipherString = DEFAULT
352 MaxProtocol = TLSv1.2
353 Options = SessionTicket
354 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
355 VerifyMode = Peer
356
357 [test-7]
358 ExpectedResult = Success
359 ExpectedServerName = server1
360 SessionIdExpected = Yes
361 SessionTicketExpected = No
362 server = 7-sni-session-ticket-server-extra
363 client = 7-sni-session-ticket-client-extra
364
365 [7-sni-session-ticket-server-extra]
366 ServerNameCallback = IgnoreMismatch
367
368 [7-sni-session-ticket-client-extra]
369 ServerName = server1
370
371
372 # ===========================================================
373
374 [8-sni-session-ticket]
375 ssl_conf = 8-sni-session-ticket-ssl
376
377 [8-sni-session-ticket-ssl]
378 server = 8-sni-session-ticket-server
379 client = 8-sni-session-ticket-client
380 server2 = 8-sni-session-ticket-server2
381
382 [8-sni-session-ticket-server]
383 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
384 CipherString = DEFAULT
385 Options = -SessionTicket
386 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
387
388 [8-sni-session-ticket-server2]
389 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
390 CipherString = DEFAULT
391 Options = -SessionTicket
392 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
393
394 [8-sni-session-ticket-client]
395 CipherString = DEFAULT
396 MaxProtocol = TLSv1.2
397 Options = SessionTicket
398 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
399 VerifyMode = Peer
400
401 [test-8]
402 ExpectedResult = Success
403 ExpectedServerName = server2
404 SessionIdExpected = Yes
405 SessionTicketExpected = No
406 server = 8-sni-session-ticket-server-extra
407 client = 8-sni-session-ticket-client-extra
408
409 [8-sni-session-ticket-server-extra]
410 ServerNameCallback = IgnoreMismatch
411
412 [8-sni-session-ticket-client-extra]
413 ServerName = server2
414
415
416 # ===========================================================
417
418 [9-sni-session-ticket]
419 ssl_conf = 9-sni-session-ticket-ssl
420
421 [9-sni-session-ticket-ssl]
422 server = 9-sni-session-ticket-server
423 client = 9-sni-session-ticket-client
424 server2 = 9-sni-session-ticket-server2
425
426 [9-sni-session-ticket-server]
427 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
428 CipherString = DEFAULT
429 Options = SessionTicket
430 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
431
432 [9-sni-session-ticket-server2]
433 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
434 CipherString = DEFAULT
435 Options = SessionTicket
436 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
437
438 [9-sni-session-ticket-client]
439 CipherString = DEFAULT
440 MaxProtocol = TLSv1.2
441 Options = -SessionTicket
442 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
443 VerifyMode = Peer
444
445 [test-9]
446 ExpectedResult = Success
447 ExpectedServerName = server1
448 SessionIdExpected = Yes
449 SessionTicketExpected = No
450 server = 9-sni-session-ticket-server-extra
451 client = 9-sni-session-ticket-client-extra
452
453 [9-sni-session-ticket-server-extra]
454 ServerNameCallback = IgnoreMismatch
455
456 [9-sni-session-ticket-client-extra]
457 ServerName = server1
458
459
460 # ===========================================================
461
462 [10-sni-session-ticket]
463 ssl_conf = 10-sni-session-ticket-ssl
464
465 [10-sni-session-ticket-ssl]
466 server = 10-sni-session-ticket-server
467 client = 10-sni-session-ticket-client
468 server2 = 10-sni-session-ticket-server2
469
470 [10-sni-session-ticket-server]
471 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
472 CipherString = DEFAULT
473 Options = SessionTicket
474 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
475
476 [10-sni-session-ticket-server2]
477 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
478 CipherString = DEFAULT
479 Options = SessionTicket
480 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
481
482 [10-sni-session-ticket-client]
483 CipherString = DEFAULT
484 MaxProtocol = TLSv1.2
485 Options = -SessionTicket
486 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
487 VerifyMode = Peer
488
489 [test-10]
490 ExpectedResult = Success
491 ExpectedServerName = server2
492 SessionIdExpected = Yes
493 SessionTicketExpected = No
494 server = 10-sni-session-ticket-server-extra
495 client = 10-sni-session-ticket-client-extra
496
497 [10-sni-session-ticket-server-extra]
498 ServerNameCallback = IgnoreMismatch
499
500 [10-sni-session-ticket-client-extra]
501 ServerName = server2
502
503
504 # ===========================================================
505
506 [11-sni-session-ticket]
507 ssl_conf = 11-sni-session-ticket-ssl
508
509 [11-sni-session-ticket-ssl]
510 server = 11-sni-session-ticket-server
511 client = 11-sni-session-ticket-client
512 server2 = 11-sni-session-ticket-server2
513
514 [11-sni-session-ticket-server]
515 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
516 CipherString = DEFAULT
517 Options = SessionTicket
518 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
519
520 [11-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 [11-sni-session-ticket-client]
527 CipherString = DEFAULT
528 MaxProtocol = TLSv1.2
529 Options = -SessionTicket
530 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
531 VerifyMode = Peer
532
533 [test-11]
534 ExpectedResult = Success
535 ExpectedServerName = server1
536 SessionIdExpected = Yes
537 SessionTicketExpected = No
538 server = 11-sni-session-ticket-server-extra
539 client = 11-sni-session-ticket-client-extra
540
541 [11-sni-session-ticket-server-extra]
542 ServerNameCallback = IgnoreMismatch
543
544 [11-sni-session-ticket-client-extra]
545 ServerName = server1
546
547
548 # ===========================================================
549
550 [12-sni-session-ticket]
551 ssl_conf = 12-sni-session-ticket-ssl
552
553 [12-sni-session-ticket-ssl]
554 server = 12-sni-session-ticket-server
555 client = 12-sni-session-ticket-client
556 server2 = 12-sni-session-ticket-server2
557
558 [12-sni-session-ticket-server]
559 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
560 CipherString = DEFAULT
561 Options = SessionTicket
562 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
563
564 [12-sni-session-ticket-server2]
565 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
566 CipherString = DEFAULT
567 Options = -SessionTicket
568 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
569
570 [12-sni-session-ticket-client]
571 CipherString = DEFAULT
572 MaxProtocol = TLSv1.2
573 Options = -SessionTicket
574 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
575 VerifyMode = Peer
576
577 [test-12]
578 ExpectedResult = Success
579 ExpectedServerName = server2
580 SessionIdExpected = Yes
581 SessionTicketExpected = No
582 server = 12-sni-session-ticket-server-extra
583 client = 12-sni-session-ticket-client-extra
584
585 [12-sni-session-ticket-server-extra]
586 ServerNameCallback = IgnoreMismatch
587
588 [12-sni-session-ticket-client-extra]
589 ServerName = server2
590
591
592 # ===========================================================
593
594 [13-sni-session-ticket]
595 ssl_conf = 13-sni-session-ticket-ssl
596
597 [13-sni-session-ticket-ssl]
598 server = 13-sni-session-ticket-server
599 client = 13-sni-session-ticket-client
600 server2 = 13-sni-session-ticket-server2
601
602 [13-sni-session-ticket-server]
603 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
604 CipherString = DEFAULT
605 Options = -SessionTicket
606 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
607
608 [13-sni-session-ticket-server2]
609 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
610 CipherString = DEFAULT
611 Options = SessionTicket
612 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
613
614 [13-sni-session-ticket-client]
615 CipherString = DEFAULT
616 MaxProtocol = TLSv1.2
617 Options = -SessionTicket
618 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
619 VerifyMode = Peer
620
621 [test-13]
622 ExpectedResult = Success
623 ExpectedServerName = server1
624 SessionIdExpected = Yes
625 SessionTicketExpected = No
626 server = 13-sni-session-ticket-server-extra
627 client = 13-sni-session-ticket-client-extra
628
629 [13-sni-session-ticket-server-extra]
630 ServerNameCallback = IgnoreMismatch
631
632 [13-sni-session-ticket-client-extra]
633 ServerName = server1
634
635
636 # ===========================================================
637
638 [14-sni-session-ticket]
639 ssl_conf = 14-sni-session-ticket-ssl
640
641 [14-sni-session-ticket-ssl]
642 server = 14-sni-session-ticket-server
643 client = 14-sni-session-ticket-client
644 server2 = 14-sni-session-ticket-server2
645
646 [14-sni-session-ticket-server]
647 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
648 CipherString = DEFAULT
649 Options = -SessionTicket
650 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
651
652 [14-sni-session-ticket-server2]
653 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
654 CipherString = DEFAULT
655 Options = SessionTicket
656 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
657
658 [14-sni-session-ticket-client]
659 CipherString = DEFAULT
660 MaxProtocol = TLSv1.2
661 Options = -SessionTicket
662 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
663 VerifyMode = Peer
664
665 [test-14]
666 ExpectedResult = Success
667 ExpectedServerName = server2
668 SessionIdExpected = Yes
669 SessionTicketExpected = No
670 server = 14-sni-session-ticket-server-extra
671 client = 14-sni-session-ticket-client-extra
672
673 [14-sni-session-ticket-server-extra]
674 ServerNameCallback = IgnoreMismatch
675
676 [14-sni-session-ticket-client-extra]
677 ServerName = server2
678
679
680 # ===========================================================
681
682 [15-sni-session-ticket]
683 ssl_conf = 15-sni-session-ticket-ssl
684
685 [15-sni-session-ticket-ssl]
686 server = 15-sni-session-ticket-server
687 client = 15-sni-session-ticket-client
688 server2 = 15-sni-session-ticket-server2
689
690 [15-sni-session-ticket-server]
691 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
692 CipherString = DEFAULT
693 Options = -SessionTicket
694 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
695
696 [15-sni-session-ticket-server2]
697 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
698 CipherString = DEFAULT
699 Options = -SessionTicket
700 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
701
702 [15-sni-session-ticket-client]
703 CipherString = DEFAULT
704 MaxProtocol = TLSv1.2
705 Options = -SessionTicket
706 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
707 VerifyMode = Peer
708
709 [test-15]
710 ExpectedResult = Success
711 ExpectedServerName = server1
712 SessionIdExpected = Yes
713 SessionTicketExpected = No
714 server = 15-sni-session-ticket-server-extra
715 client = 15-sni-session-ticket-client-extra
716
717 [15-sni-session-ticket-server-extra]
718 ServerNameCallback = IgnoreMismatch
719
720 [15-sni-session-ticket-client-extra]
721 ServerName = server1
722
723
724 # ===========================================================
725
726 [16-sni-session-ticket]
727 ssl_conf = 16-sni-session-ticket-ssl
728
729 [16-sni-session-ticket-ssl]
730 server = 16-sni-session-ticket-server
731 client = 16-sni-session-ticket-client
732 server2 = 16-sni-session-ticket-server2
733
734 [16-sni-session-ticket-server]
735 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
736 CipherString = DEFAULT
737 Options = -SessionTicket
738 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
739
740 [16-sni-session-ticket-server2]
741 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
742 CipherString = DEFAULT
743 Options = -SessionTicket
744 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
745
746 [16-sni-session-ticket-client]
747 CipherString = DEFAULT
748 MaxProtocol = TLSv1.2
749 Options = -SessionTicket
750 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
751 VerifyMode = Peer
752
753 [test-16]
754 ExpectedResult = Success
755 ExpectedServerName = server2
756 SessionIdExpected = Yes
757 SessionTicketExpected = No
758 server = 16-sni-session-ticket-server-extra
759 client = 16-sni-session-ticket-client-extra
760
761 [16-sni-session-ticket-server-extra]
762 ServerNameCallback = IgnoreMismatch
763
764 [16-sni-session-ticket-client-extra]
765 ServerName = server2
766
767