06-sni-ticket.cnf 19 KB

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