11-dtls_resumption.conf 18 KB

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