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