06-sni-ticket.conf 19 KB

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