11-dtls_resumption.conf 14 KB

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