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