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