20-cert-select.conf 59 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680
  1. # Generated with generate_ssl_tests.pl
  2. num_tests = 51
  3. test-0 = 0-ECDSA CipherString Selection
  4. test-1 = 1-ECDSA CipherString Selection
  5. test-2 = 2-ECDSA CipherString Selection
  6. test-3 = 3-Ed25519 CipherString and Signature Algorithm Selection
  7. test-4 = 4-Ed448 CipherString and Signature Algorithm Selection
  8. test-5 = 5-ECDSA with brainpool
  9. test-6 = 6-RSA CipherString Selection
  10. test-7 = 7-RSA-PSS Certificate CipherString Selection
  11. test-8 = 8-P-256 CipherString and Signature Algorithm Selection
  12. test-9 = 9-Ed25519 CipherString and Curves Selection
  13. test-10 = 10-Ed448 CipherString and Curves Selection
  14. test-11 = 11-ECDSA CipherString Selection, no ECDSA certificate
  15. test-12 = 12-ECDSA Signature Algorithm Selection
  16. test-13 = 13-ECDSA Signature Algorithm Selection SHA384
  17. test-14 = 14-ECDSA Signature Algorithm Selection SHA1
  18. test-15 = 15-ECDSA Signature Algorithm Selection compressed point
  19. test-16 = 16-ECDSA Signature Algorithm Selection, no ECDSA certificate
  20. test-17 = 17-RSA Signature Algorithm Selection
  21. test-18 = 18-RSA-PSS Signature Algorithm Selection
  22. test-19 = 19-RSA-PSS Certificate Legacy Signature Algorithm Selection
  23. test-20 = 20-RSA-PSS Certificate Unified Signature Algorithm Selection
  24. test-21 = 21-Only RSA-PSS Certificate
  25. test-22 = 22-RSA-PSS Certificate, no PSS signature algorithms
  26. test-23 = 23-RSA key exchange with all RSA certificate types
  27. test-24 = 24-RSA key exchange with only RSA-PSS certificate
  28. test-25 = 25-Suite B P-256 Hash Algorithm Selection
  29. test-26 = 26-Suite B P-384 Hash Algorithm Selection
  30. test-27 = 27-TLS 1.2 Ed25519 Client Auth
  31. test-28 = 28-TLS 1.2 Ed448 Client Auth
  32. test-29 = 29-Only RSA-PSS Certificate, TLS v1.1
  33. test-30 = 30-TLS 1.3 ECDSA Signature Algorithm Selection
  34. test-31 = 31-TLS 1.3 ECDSA Signature Algorithm Selection compressed point
  35. test-32 = 32-TLS 1.3 ECDSA Signature Algorithm Selection SHA1
  36. test-33 = 33-TLS 1.3 ECDSA Signature Algorithm Selection with PSS
  37. test-34 = 34-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS
  38. test-35 = 35-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate
  39. test-36 = 36-TLS 1.3 RSA Signature Algorithm Selection, no PSS
  40. test-37 = 37-TLS 1.3 RSA-PSS Signature Algorithm Selection
  41. test-38 = 38-TLS 1.3 Ed25519 Signature Algorithm Selection
  42. test-39 = 39-TLS 1.3 Ed448 Signature Algorithm Selection
  43. test-40 = 40-TLS 1.3 Ed25519 CipherString and Groups Selection
  44. test-41 = 41-TLS 1.3 Ed448 CipherString and Groups Selection
  45. test-42 = 42-TLS 1.3 RSA Client Auth Signature Algorithm Selection
  46. test-43 = 43-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names
  47. test-44 = 44-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection
  48. test-45 = 45-TLS 1.3 Ed25519 Client Auth
  49. test-46 = 46-TLS 1.3 Ed448 Client Auth
  50. test-47 = 47-TLS 1.3 ECDSA with brainpool
  51. test-48 = 48-TLS 1.2 DSA Certificate Test
  52. test-49 = 49-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms
  53. test-50 = 50-TLS 1.3 DSA Certificate Test
  54. # ===========================================================
  55. [0-ECDSA CipherString Selection]
  56. ssl_conf = 0-ECDSA CipherString Selection-ssl
  57. [0-ECDSA CipherString Selection-ssl]
  58. server = 0-ECDSA CipherString Selection-server
  59. client = 0-ECDSA CipherString Selection-client
  60. [0-ECDSA CipherString Selection-server]
  61. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  62. CipherString = DEFAULT
  63. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  64. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  65. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  66. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  67. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  68. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  69. MaxProtocol = TLSv1.2
  70. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  71. [0-ECDSA CipherString Selection-client]
  72. CipherString = aECDSA
  73. MaxProtocol = TLSv1.2
  74. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  75. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  76. VerifyMode = Peer
  77. [test-0]
  78. ExpectedResult = Success
  79. ExpectedServerCANames = empty
  80. ExpectedServerCertType = P-256
  81. ExpectedServerSignType = EC
  82. # ===========================================================
  83. [1-ECDSA CipherString Selection]
  84. ssl_conf = 1-ECDSA CipherString Selection-ssl
  85. [1-ECDSA CipherString Selection-ssl]
  86. server = 1-ECDSA CipherString Selection-server
  87. client = 1-ECDSA CipherString Selection-client
  88. [1-ECDSA CipherString Selection-server]
  89. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  90. CipherString = DEFAULT
  91. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  92. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  93. Groups = P-384
  94. MaxProtocol = TLSv1.2
  95. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  96. [1-ECDSA CipherString Selection-client]
  97. CipherString = aECDSA
  98. Groups = P-256:P-384
  99. MaxProtocol = TLSv1.2
  100. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  101. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  102. VerifyMode = Peer
  103. [test-1]
  104. ExpectedResult = Success
  105. ExpectedServerCANames = empty
  106. ExpectedServerCertType = P-256
  107. ExpectedServerSignType = EC
  108. # ===========================================================
  109. [2-ECDSA CipherString Selection]
  110. ssl_conf = 2-ECDSA CipherString Selection-ssl
  111. [2-ECDSA CipherString Selection-ssl]
  112. server = 2-ECDSA CipherString Selection-server
  113. client = 2-ECDSA CipherString Selection-client
  114. [2-ECDSA CipherString Selection-server]
  115. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  116. CipherString = DEFAULT
  117. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  118. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  119. Groups = P-256:P-384
  120. MaxProtocol = TLSv1.2
  121. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  122. [2-ECDSA CipherString Selection-client]
  123. CipherString = aECDSA
  124. Groups = P-384
  125. MaxProtocol = TLSv1.2
  126. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  127. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  128. VerifyMode = Peer
  129. [test-2]
  130. ExpectedResult = ServerFail
  131. # ===========================================================
  132. [3-Ed25519 CipherString and Signature Algorithm Selection]
  133. ssl_conf = 3-Ed25519 CipherString and Signature Algorithm Selection-ssl
  134. [3-Ed25519 CipherString and Signature Algorithm Selection-ssl]
  135. server = 3-Ed25519 CipherString and Signature Algorithm Selection-server
  136. client = 3-Ed25519 CipherString and Signature Algorithm Selection-client
  137. [3-Ed25519 CipherString and Signature Algorithm Selection-server]
  138. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  139. CipherString = DEFAULT
  140. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  141. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  142. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  143. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  144. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  145. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  146. MaxProtocol = TLSv1.2
  147. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  148. [3-Ed25519 CipherString and Signature Algorithm Selection-client]
  149. CipherString = aECDSA
  150. MaxProtocol = TLSv1.2
  151. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  152. SignatureAlgorithms = ed25519:ECDSA+SHA256
  153. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  154. VerifyMode = Peer
  155. [test-3]
  156. ExpectedResult = Success
  157. ExpectedServerCANames = empty
  158. ExpectedServerCertType = Ed25519
  159. ExpectedServerSignType = Ed25519
  160. # ===========================================================
  161. [4-Ed448 CipherString and Signature Algorithm Selection]
  162. ssl_conf = 4-Ed448 CipherString and Signature Algorithm Selection-ssl
  163. [4-Ed448 CipherString and Signature Algorithm Selection-ssl]
  164. server = 4-Ed448 CipherString and Signature Algorithm Selection-server
  165. client = 4-Ed448 CipherString and Signature Algorithm Selection-client
  166. [4-Ed448 CipherString and Signature Algorithm Selection-server]
  167. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  168. CipherString = DEFAULT
  169. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  170. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  171. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  172. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  173. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  174. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  175. MaxProtocol = TLSv1.2
  176. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  177. [4-Ed448 CipherString and Signature Algorithm Selection-client]
  178. CipherString = aECDSA
  179. MaxProtocol = TLSv1.2
  180. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  181. SignatureAlgorithms = ed448:ECDSA+SHA256
  182. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  183. VerifyMode = Peer
  184. [test-4]
  185. ExpectedResult = Success
  186. ExpectedServerCANames = empty
  187. ExpectedServerCertType = Ed448
  188. ExpectedServerSignType = Ed448
  189. # ===========================================================
  190. [5-ECDSA with brainpool]
  191. ssl_conf = 5-ECDSA with brainpool-ssl
  192. [5-ECDSA with brainpool-ssl]
  193. server = 5-ECDSA with brainpool-server
  194. client = 5-ECDSA with brainpool-client
  195. [5-ECDSA with brainpool-server]
  196. Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-cert.pem
  197. CipherString = DEFAULT
  198. Groups = brainpoolP256r1
  199. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-key.pem
  200. [5-ECDSA with brainpool-client]
  201. CipherString = aECDSA
  202. Groups = brainpoolP256r1
  203. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  204. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  205. VerifyMode = Peer
  206. [test-5]
  207. ExpectedResult = Success
  208. ExpectedServerCANames = empty
  209. ExpectedServerCertType = brainpoolP256r1
  210. ExpectedServerSignType = EC
  211. # ===========================================================
  212. [6-RSA CipherString Selection]
  213. ssl_conf = 6-RSA CipherString Selection-ssl
  214. [6-RSA CipherString Selection-ssl]
  215. server = 6-RSA CipherString Selection-server
  216. client = 6-RSA CipherString Selection-client
  217. [6-RSA CipherString Selection-server]
  218. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  219. CipherString = DEFAULT
  220. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  221. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  222. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  223. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  224. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  225. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  226. MaxProtocol = TLSv1.2
  227. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  228. [6-RSA CipherString Selection-client]
  229. CipherString = aRSA
  230. MaxProtocol = TLSv1.2
  231. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  232. VerifyMode = Peer
  233. [test-6]
  234. ExpectedResult = Success
  235. ExpectedServerCertType = RSA
  236. ExpectedServerSignType = RSA-PSS
  237. # ===========================================================
  238. [7-RSA-PSS Certificate CipherString Selection]
  239. ssl_conf = 7-RSA-PSS Certificate CipherString Selection-ssl
  240. [7-RSA-PSS Certificate CipherString Selection-ssl]
  241. server = 7-RSA-PSS Certificate CipherString Selection-server
  242. client = 7-RSA-PSS Certificate CipherString Selection-client
  243. [7-RSA-PSS Certificate CipherString Selection-server]
  244. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  245. CipherString = DEFAULT
  246. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  247. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  248. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  249. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  250. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  251. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  252. MaxProtocol = TLSv1.2
  253. PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  254. PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  255. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  256. [7-RSA-PSS Certificate CipherString Selection-client]
  257. CipherString = aRSA
  258. MaxProtocol = TLSv1.2
  259. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  260. VerifyMode = Peer
  261. [test-7]
  262. ExpectedResult = Success
  263. ExpectedServerCertType = RSA-PSS
  264. ExpectedServerSignType = RSA-PSS
  265. # ===========================================================
  266. [8-P-256 CipherString and Signature Algorithm Selection]
  267. ssl_conf = 8-P-256 CipherString and Signature Algorithm Selection-ssl
  268. [8-P-256 CipherString and Signature Algorithm Selection-ssl]
  269. server = 8-P-256 CipherString and Signature Algorithm Selection-server
  270. client = 8-P-256 CipherString and Signature Algorithm Selection-client
  271. [8-P-256 CipherString and Signature Algorithm Selection-server]
  272. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  273. CipherString = DEFAULT
  274. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  275. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  276. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  277. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  278. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  279. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  280. MaxProtocol = TLSv1.2
  281. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  282. [8-P-256 CipherString and Signature Algorithm Selection-client]
  283. CipherString = aECDSA
  284. MaxProtocol = TLSv1.2
  285. SignatureAlgorithms = ECDSA+SHA256:ed25519
  286. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  287. VerifyMode = Peer
  288. [test-8]
  289. ExpectedResult = Success
  290. ExpectedServerCertType = P-256
  291. ExpectedServerSignHash = SHA256
  292. ExpectedServerSignType = EC
  293. # ===========================================================
  294. [9-Ed25519 CipherString and Curves Selection]
  295. ssl_conf = 9-Ed25519 CipherString and Curves Selection-ssl
  296. [9-Ed25519 CipherString and Curves Selection-ssl]
  297. server = 9-Ed25519 CipherString and Curves Selection-server
  298. client = 9-Ed25519 CipherString and Curves Selection-client
  299. [9-Ed25519 CipherString and Curves Selection-server]
  300. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  301. CipherString = DEFAULT
  302. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  303. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  304. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  305. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  306. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  307. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  308. MaxProtocol = TLSv1.2
  309. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  310. [9-Ed25519 CipherString and Curves Selection-client]
  311. CipherString = aECDSA
  312. Curves = X25519
  313. MaxProtocol = TLSv1.2
  314. SignatureAlgorithms = ECDSA+SHA256:ed25519
  315. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  316. VerifyMode = Peer
  317. [test-9]
  318. ExpectedResult = Success
  319. ExpectedServerCertType = Ed25519
  320. ExpectedServerSignType = Ed25519
  321. # ===========================================================
  322. [10-Ed448 CipherString and Curves Selection]
  323. ssl_conf = 10-Ed448 CipherString and Curves Selection-ssl
  324. [10-Ed448 CipherString and Curves Selection-ssl]
  325. server = 10-Ed448 CipherString and Curves Selection-server
  326. client = 10-Ed448 CipherString and Curves Selection-client
  327. [10-Ed448 CipherString and Curves Selection-server]
  328. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  329. CipherString = DEFAULT
  330. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  331. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  332. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  333. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  334. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  335. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  336. MaxProtocol = TLSv1.2
  337. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  338. [10-Ed448 CipherString and Curves Selection-client]
  339. CipherString = aECDSA
  340. Curves = X448
  341. MaxProtocol = TLSv1.2
  342. SignatureAlgorithms = ECDSA+SHA256:ed448
  343. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  344. VerifyMode = Peer
  345. [test-10]
  346. ExpectedResult = Success
  347. ExpectedServerCertType = Ed448
  348. ExpectedServerSignType = Ed448
  349. # ===========================================================
  350. [11-ECDSA CipherString Selection, no ECDSA certificate]
  351. ssl_conf = 11-ECDSA CipherString Selection, no ECDSA certificate-ssl
  352. [11-ECDSA CipherString Selection, no ECDSA certificate-ssl]
  353. server = 11-ECDSA CipherString Selection, no ECDSA certificate-server
  354. client = 11-ECDSA CipherString Selection, no ECDSA certificate-client
  355. [11-ECDSA CipherString Selection, no ECDSA certificate-server]
  356. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  357. CipherString = DEFAULT
  358. MaxProtocol = TLSv1.2
  359. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  360. [11-ECDSA CipherString Selection, no ECDSA certificate-client]
  361. CipherString = aECDSA
  362. MaxProtocol = TLSv1.2
  363. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  364. VerifyMode = Peer
  365. [test-11]
  366. ExpectedResult = ServerFail
  367. # ===========================================================
  368. [12-ECDSA Signature Algorithm Selection]
  369. ssl_conf = 12-ECDSA Signature Algorithm Selection-ssl
  370. [12-ECDSA Signature Algorithm Selection-ssl]
  371. server = 12-ECDSA Signature Algorithm Selection-server
  372. client = 12-ECDSA Signature Algorithm Selection-client
  373. [12-ECDSA Signature Algorithm Selection-server]
  374. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  375. CipherString = DEFAULT
  376. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  377. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  378. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  379. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  380. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  381. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  382. MaxProtocol = TLSv1.2
  383. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  384. [12-ECDSA Signature Algorithm Selection-client]
  385. CipherString = DEFAULT
  386. SignatureAlgorithms = ECDSA+SHA256
  387. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  388. VerifyMode = Peer
  389. [test-12]
  390. ExpectedResult = Success
  391. ExpectedServerCertType = P-256
  392. ExpectedServerSignHash = SHA256
  393. ExpectedServerSignType = EC
  394. # ===========================================================
  395. [13-ECDSA Signature Algorithm Selection SHA384]
  396. ssl_conf = 13-ECDSA Signature Algorithm Selection SHA384-ssl
  397. [13-ECDSA Signature Algorithm Selection SHA384-ssl]
  398. server = 13-ECDSA Signature Algorithm Selection SHA384-server
  399. client = 13-ECDSA Signature Algorithm Selection SHA384-client
  400. [13-ECDSA Signature Algorithm Selection SHA384-server]
  401. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  402. CipherString = DEFAULT
  403. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  404. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  405. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  406. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  407. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  408. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  409. MaxProtocol = TLSv1.2
  410. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  411. [13-ECDSA Signature Algorithm Selection SHA384-client]
  412. CipherString = DEFAULT
  413. SignatureAlgorithms = ECDSA+SHA384
  414. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  415. VerifyMode = Peer
  416. [test-13]
  417. ExpectedResult = Success
  418. ExpectedServerCertType = P-256
  419. ExpectedServerSignHash = SHA384
  420. ExpectedServerSignType = EC
  421. # ===========================================================
  422. [14-ECDSA Signature Algorithm Selection SHA1]
  423. ssl_conf = 14-ECDSA Signature Algorithm Selection SHA1-ssl
  424. [14-ECDSA Signature Algorithm Selection SHA1-ssl]
  425. server = 14-ECDSA Signature Algorithm Selection SHA1-server
  426. client = 14-ECDSA Signature Algorithm Selection SHA1-client
  427. [14-ECDSA Signature Algorithm Selection SHA1-server]
  428. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  429. CipherString = DEFAULT
  430. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  431. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  432. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  433. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  434. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  435. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  436. MaxProtocol = TLSv1.2
  437. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  438. [14-ECDSA Signature Algorithm Selection SHA1-client]
  439. CipherString = DEFAULT
  440. SignatureAlgorithms = ECDSA+SHA1
  441. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  442. VerifyMode = Peer
  443. [test-14]
  444. ExpectedResult = Success
  445. ExpectedServerCertType = P-256
  446. ExpectedServerSignHash = SHA1
  447. ExpectedServerSignType = EC
  448. # ===========================================================
  449. [15-ECDSA Signature Algorithm Selection compressed point]
  450. ssl_conf = 15-ECDSA Signature Algorithm Selection compressed point-ssl
  451. [15-ECDSA Signature Algorithm Selection compressed point-ssl]
  452. server = 15-ECDSA Signature Algorithm Selection compressed point-server
  453. client = 15-ECDSA Signature Algorithm Selection compressed point-client
  454. [15-ECDSA Signature Algorithm Selection compressed point-server]
  455. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  456. CipherString = DEFAULT
  457. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-cecdsa-cert.pem
  458. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-cecdsa-key.pem
  459. MaxProtocol = TLSv1.2
  460. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  461. [15-ECDSA Signature Algorithm Selection compressed point-client]
  462. CipherString = DEFAULT
  463. SignatureAlgorithms = ECDSA+SHA256
  464. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  465. VerifyMode = Peer
  466. [test-15]
  467. ExpectedResult = Success
  468. ExpectedServerCertType = P-256
  469. ExpectedServerSignHash = SHA256
  470. ExpectedServerSignType = EC
  471. # ===========================================================
  472. [16-ECDSA Signature Algorithm Selection, no ECDSA certificate]
  473. ssl_conf = 16-ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl
  474. [16-ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl]
  475. server = 16-ECDSA Signature Algorithm Selection, no ECDSA certificate-server
  476. client = 16-ECDSA Signature Algorithm Selection, no ECDSA certificate-client
  477. [16-ECDSA Signature Algorithm Selection, no ECDSA certificate-server]
  478. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  479. CipherString = DEFAULT
  480. MaxProtocol = TLSv1.2
  481. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  482. [16-ECDSA Signature Algorithm Selection, no ECDSA certificate-client]
  483. CipherString = DEFAULT
  484. SignatureAlgorithms = ECDSA+SHA256
  485. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  486. VerifyMode = Peer
  487. [test-16]
  488. ExpectedResult = ServerFail
  489. # ===========================================================
  490. [17-RSA Signature Algorithm Selection]
  491. ssl_conf = 17-RSA Signature Algorithm Selection-ssl
  492. [17-RSA Signature Algorithm Selection-ssl]
  493. server = 17-RSA Signature Algorithm Selection-server
  494. client = 17-RSA Signature Algorithm Selection-client
  495. [17-RSA Signature Algorithm Selection-server]
  496. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  497. CipherString = DEFAULT
  498. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  499. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  500. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  501. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  502. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  503. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  504. MaxProtocol = TLSv1.2
  505. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  506. [17-RSA Signature Algorithm Selection-client]
  507. CipherString = DEFAULT
  508. SignatureAlgorithms = RSA+SHA256
  509. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  510. VerifyMode = Peer
  511. [test-17]
  512. ExpectedResult = Success
  513. ExpectedServerCertType = RSA
  514. ExpectedServerSignHash = SHA256
  515. ExpectedServerSignType = RSA
  516. # ===========================================================
  517. [18-RSA-PSS Signature Algorithm Selection]
  518. ssl_conf = 18-RSA-PSS Signature Algorithm Selection-ssl
  519. [18-RSA-PSS Signature Algorithm Selection-ssl]
  520. server = 18-RSA-PSS Signature Algorithm Selection-server
  521. client = 18-RSA-PSS Signature Algorithm Selection-client
  522. [18-RSA-PSS Signature Algorithm Selection-server]
  523. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  524. CipherString = DEFAULT
  525. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  526. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  527. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  528. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  529. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  530. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  531. MaxProtocol = TLSv1.2
  532. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  533. [18-RSA-PSS Signature Algorithm Selection-client]
  534. CipherString = DEFAULT
  535. SignatureAlgorithms = RSA-PSS+SHA256
  536. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  537. VerifyMode = Peer
  538. [test-18]
  539. ExpectedResult = Success
  540. ExpectedServerCertType = RSA
  541. ExpectedServerSignHash = SHA256
  542. ExpectedServerSignType = RSA-PSS
  543. # ===========================================================
  544. [19-RSA-PSS Certificate Legacy Signature Algorithm Selection]
  545. ssl_conf = 19-RSA-PSS Certificate Legacy Signature Algorithm Selection-ssl
  546. [19-RSA-PSS Certificate Legacy Signature Algorithm Selection-ssl]
  547. server = 19-RSA-PSS Certificate Legacy Signature Algorithm Selection-server
  548. client = 19-RSA-PSS Certificate Legacy Signature Algorithm Selection-client
  549. [19-RSA-PSS Certificate Legacy Signature Algorithm Selection-server]
  550. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  551. CipherString = DEFAULT
  552. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  553. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  554. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  555. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  556. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  557. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  558. MaxProtocol = TLSv1.2
  559. PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  560. PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  561. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  562. [19-RSA-PSS Certificate Legacy Signature Algorithm Selection-client]
  563. CipherString = DEFAULT
  564. SignatureAlgorithms = RSA-PSS+SHA256
  565. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  566. VerifyMode = Peer
  567. [test-19]
  568. ExpectedResult = Success
  569. ExpectedServerCertType = RSA
  570. ExpectedServerSignHash = SHA256
  571. ExpectedServerSignType = RSA-PSS
  572. # ===========================================================
  573. [20-RSA-PSS Certificate Unified Signature Algorithm Selection]
  574. ssl_conf = 20-RSA-PSS Certificate Unified Signature Algorithm Selection-ssl
  575. [20-RSA-PSS Certificate Unified Signature Algorithm Selection-ssl]
  576. server = 20-RSA-PSS Certificate Unified Signature Algorithm Selection-server
  577. client = 20-RSA-PSS Certificate Unified Signature Algorithm Selection-client
  578. [20-RSA-PSS Certificate Unified Signature Algorithm Selection-server]
  579. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  580. CipherString = DEFAULT
  581. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  582. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  583. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  584. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  585. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  586. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  587. MaxProtocol = TLSv1.2
  588. PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  589. PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  590. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  591. [20-RSA-PSS Certificate Unified Signature Algorithm Selection-client]
  592. CipherString = DEFAULT
  593. SignatureAlgorithms = rsa_pss_pss_sha256
  594. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  595. VerifyMode = Peer
  596. [test-20]
  597. ExpectedResult = Success
  598. ExpectedServerCertType = RSA-PSS
  599. ExpectedServerSignHash = SHA256
  600. ExpectedServerSignType = RSA-PSS
  601. # ===========================================================
  602. [21-Only RSA-PSS Certificate]
  603. ssl_conf = 21-Only RSA-PSS Certificate-ssl
  604. [21-Only RSA-PSS Certificate-ssl]
  605. server = 21-Only RSA-PSS Certificate-server
  606. client = 21-Only RSA-PSS Certificate-client
  607. [21-Only RSA-PSS Certificate-server]
  608. Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  609. CipherString = DEFAULT
  610. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  611. [21-Only RSA-PSS Certificate-client]
  612. CipherString = DEFAULT
  613. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  614. VerifyMode = Peer
  615. [test-21]
  616. ExpectedResult = Success
  617. ExpectedServerCertType = RSA-PSS
  618. ExpectedServerSignHash = SHA256
  619. ExpectedServerSignType = RSA-PSS
  620. # ===========================================================
  621. [22-RSA-PSS Certificate, no PSS signature algorithms]
  622. ssl_conf = 22-RSA-PSS Certificate, no PSS signature algorithms-ssl
  623. [22-RSA-PSS Certificate, no PSS signature algorithms-ssl]
  624. server = 22-RSA-PSS Certificate, no PSS signature algorithms-server
  625. client = 22-RSA-PSS Certificate, no PSS signature algorithms-client
  626. [22-RSA-PSS Certificate, no PSS signature algorithms-server]
  627. Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  628. CipherString = DEFAULT
  629. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  630. [22-RSA-PSS Certificate, no PSS signature algorithms-client]
  631. CipherString = DEFAULT
  632. SignatureAlgorithms = RSA+SHA256
  633. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  634. VerifyMode = Peer
  635. [test-22]
  636. ExpectedResult = ServerFail
  637. # ===========================================================
  638. [23-RSA key exchange with all RSA certificate types]
  639. ssl_conf = 23-RSA key exchange with all RSA certificate types-ssl
  640. [23-RSA key exchange with all RSA certificate types-ssl]
  641. server = 23-RSA key exchange with all RSA certificate types-server
  642. client = 23-RSA key exchange with all RSA certificate types-client
  643. [23-RSA key exchange with all RSA certificate types-server]
  644. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  645. CipherString = DEFAULT
  646. PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  647. PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  648. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  649. [23-RSA key exchange with all RSA certificate types-client]
  650. CipherString = kRSA
  651. MaxProtocol = TLSv1.2
  652. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  653. VerifyMode = Peer
  654. [test-23]
  655. ExpectedResult = Success
  656. ExpectedServerCertType = RSA
  657. # ===========================================================
  658. [24-RSA key exchange with only RSA-PSS certificate]
  659. ssl_conf = 24-RSA key exchange with only RSA-PSS certificate-ssl
  660. [24-RSA key exchange with only RSA-PSS certificate-ssl]
  661. server = 24-RSA key exchange with only RSA-PSS certificate-server
  662. client = 24-RSA key exchange with only RSA-PSS certificate-client
  663. [24-RSA key exchange with only RSA-PSS certificate-server]
  664. Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  665. CipherString = DEFAULT
  666. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  667. [24-RSA key exchange with only RSA-PSS certificate-client]
  668. CipherString = kRSA
  669. MaxProtocol = TLSv1.2
  670. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  671. VerifyMode = Peer
  672. [test-24]
  673. ExpectedResult = ServerFail
  674. # ===========================================================
  675. [25-Suite B P-256 Hash Algorithm Selection]
  676. ssl_conf = 25-Suite B P-256 Hash Algorithm Selection-ssl
  677. [25-Suite B P-256 Hash Algorithm Selection-ssl]
  678. server = 25-Suite B P-256 Hash Algorithm Selection-server
  679. client = 25-Suite B P-256 Hash Algorithm Selection-client
  680. [25-Suite B P-256 Hash Algorithm Selection-server]
  681. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  682. CipherString = SUITEB128
  683. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/p256-server-cert.pem
  684. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/p256-server-key.pem
  685. MaxProtocol = TLSv1.2
  686. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  687. [25-Suite B P-256 Hash Algorithm Selection-client]
  688. CipherString = DEFAULT
  689. SignatureAlgorithms = ECDSA+SHA384:ECDSA+SHA256
  690. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/p384-root.pem
  691. VerifyMode = Peer
  692. [test-25]
  693. ExpectedResult = Success
  694. ExpectedServerCertType = P-256
  695. ExpectedServerSignHash = SHA256
  696. ExpectedServerSignType = EC
  697. # ===========================================================
  698. [26-Suite B P-384 Hash Algorithm Selection]
  699. ssl_conf = 26-Suite B P-384 Hash Algorithm Selection-ssl
  700. [26-Suite B P-384 Hash Algorithm Selection-ssl]
  701. server = 26-Suite B P-384 Hash Algorithm Selection-server
  702. client = 26-Suite B P-384 Hash Algorithm Selection-client
  703. [26-Suite B P-384 Hash Algorithm Selection-server]
  704. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  705. CipherString = SUITEB128
  706. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/p384-server-cert.pem
  707. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/p384-server-key.pem
  708. MaxProtocol = TLSv1.2
  709. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  710. [26-Suite B P-384 Hash Algorithm Selection-client]
  711. CipherString = DEFAULT
  712. SignatureAlgorithms = ECDSA+SHA256:ECDSA+SHA384
  713. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/p384-root.pem
  714. VerifyMode = Peer
  715. [test-26]
  716. ExpectedResult = Success
  717. ExpectedServerCertType = P-384
  718. ExpectedServerSignHash = SHA384
  719. ExpectedServerSignType = EC
  720. # ===========================================================
  721. [27-TLS 1.2 Ed25519 Client Auth]
  722. ssl_conf = 27-TLS 1.2 Ed25519 Client Auth-ssl
  723. [27-TLS 1.2 Ed25519 Client Auth-ssl]
  724. server = 27-TLS 1.2 Ed25519 Client Auth-server
  725. client = 27-TLS 1.2 Ed25519 Client Auth-client
  726. [27-TLS 1.2 Ed25519 Client Auth-server]
  727. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  728. CipherString = DEFAULT
  729. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  730. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  731. VerifyMode = Require
  732. [27-TLS 1.2 Ed25519 Client Auth-client]
  733. CipherString = DEFAULT
  734. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/client-ed25519-cert.pem
  735. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/client-ed25519-key.pem
  736. MaxProtocol = TLSv1.2
  737. MinProtocol = TLSv1.2
  738. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  739. VerifyMode = Peer
  740. [test-27]
  741. ExpectedClientCertType = Ed25519
  742. ExpectedClientSignType = Ed25519
  743. ExpectedResult = Success
  744. # ===========================================================
  745. [28-TLS 1.2 Ed448 Client Auth]
  746. ssl_conf = 28-TLS 1.2 Ed448 Client Auth-ssl
  747. [28-TLS 1.2 Ed448 Client Auth-ssl]
  748. server = 28-TLS 1.2 Ed448 Client Auth-server
  749. client = 28-TLS 1.2 Ed448 Client Auth-client
  750. [28-TLS 1.2 Ed448 Client Auth-server]
  751. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  752. CipherString = DEFAULT
  753. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  754. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  755. VerifyMode = Require
  756. [28-TLS 1.2 Ed448 Client Auth-client]
  757. CipherString = DEFAULT
  758. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/client-ed448-cert.pem
  759. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/client-ed448-key.pem
  760. MaxProtocol = TLSv1.2
  761. MinProtocol = TLSv1.2
  762. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  763. VerifyMode = Peer
  764. [test-28]
  765. ExpectedClientCertType = Ed448
  766. ExpectedClientSignType = Ed448
  767. ExpectedResult = Success
  768. # ===========================================================
  769. [29-Only RSA-PSS Certificate, TLS v1.1]
  770. ssl_conf = 29-Only RSA-PSS Certificate, TLS v1.1-ssl
  771. [29-Only RSA-PSS Certificate, TLS v1.1-ssl]
  772. server = 29-Only RSA-PSS Certificate, TLS v1.1-server
  773. client = 29-Only RSA-PSS Certificate, TLS v1.1-client
  774. [29-Only RSA-PSS Certificate, TLS v1.1-server]
  775. Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
  776. CipherString = DEFAULT
  777. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
  778. [29-Only RSA-PSS Certificate, TLS v1.1-client]
  779. CipherString = DEFAULT
  780. MaxProtocol = TLSv1.1
  781. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  782. VerifyMode = Peer
  783. [test-29]
  784. ExpectedResult = ServerFail
  785. # ===========================================================
  786. [30-TLS 1.3 ECDSA Signature Algorithm Selection]
  787. ssl_conf = 30-TLS 1.3 ECDSA Signature Algorithm Selection-ssl
  788. [30-TLS 1.3 ECDSA Signature Algorithm Selection-ssl]
  789. server = 30-TLS 1.3 ECDSA Signature Algorithm Selection-server
  790. client = 30-TLS 1.3 ECDSA Signature Algorithm Selection-client
  791. [30-TLS 1.3 ECDSA Signature Algorithm Selection-server]
  792. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  793. CipherString = DEFAULT
  794. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  795. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  796. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  797. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  798. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  799. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  800. MaxProtocol = TLSv1.3
  801. MinProtocol = TLSv1.3
  802. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  803. [30-TLS 1.3 ECDSA Signature Algorithm Selection-client]
  804. CipherString = DEFAULT
  805. SignatureAlgorithms = ECDSA+SHA256
  806. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  807. VerifyMode = Peer
  808. [test-30]
  809. ExpectedResult = Success
  810. ExpectedServerCANames = empty
  811. ExpectedServerCertType = P-256
  812. ExpectedServerSignHash = SHA256
  813. ExpectedServerSignType = EC
  814. # ===========================================================
  815. [31-TLS 1.3 ECDSA Signature Algorithm Selection compressed point]
  816. ssl_conf = 31-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-ssl
  817. [31-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-ssl]
  818. server = 31-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-server
  819. client = 31-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-client
  820. [31-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-server]
  821. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  822. CipherString = DEFAULT
  823. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-cecdsa-cert.pem
  824. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-cecdsa-key.pem
  825. MaxProtocol = TLSv1.3
  826. MinProtocol = TLSv1.3
  827. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  828. [31-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-client]
  829. CipherString = DEFAULT
  830. SignatureAlgorithms = ECDSA+SHA256
  831. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  832. VerifyMode = Peer
  833. [test-31]
  834. ExpectedResult = Success
  835. ExpectedServerCANames = empty
  836. ExpectedServerCertType = P-256
  837. ExpectedServerSignHash = SHA256
  838. ExpectedServerSignType = EC
  839. # ===========================================================
  840. [32-TLS 1.3 ECDSA Signature Algorithm Selection SHA1]
  841. ssl_conf = 32-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-ssl
  842. [32-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-ssl]
  843. server = 32-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-server
  844. client = 32-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-client
  845. [32-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-server]
  846. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  847. CipherString = DEFAULT
  848. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  849. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  850. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  851. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  852. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  853. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  854. MaxProtocol = TLSv1.3
  855. MinProtocol = TLSv1.3
  856. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  857. [32-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-client]
  858. CipherString = DEFAULT
  859. SignatureAlgorithms = ECDSA+SHA1
  860. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  861. VerifyMode = Peer
  862. [test-32]
  863. ExpectedResult = ServerFail
  864. # ===========================================================
  865. [33-TLS 1.3 ECDSA Signature Algorithm Selection with PSS]
  866. ssl_conf = 33-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-ssl
  867. [33-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-ssl]
  868. server = 33-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-server
  869. client = 33-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-client
  870. [33-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-server]
  871. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  872. CipherString = DEFAULT
  873. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  874. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  875. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  876. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  877. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  878. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  879. MaxProtocol = TLSv1.3
  880. MinProtocol = TLSv1.3
  881. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  882. [33-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-client]
  883. CipherString = DEFAULT
  884. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  885. SignatureAlgorithms = ECDSA+SHA256:RSA-PSS+SHA256
  886. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  887. VerifyMode = Peer
  888. [test-33]
  889. ExpectedResult = Success
  890. ExpectedServerCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  891. ExpectedServerCertType = P-256
  892. ExpectedServerSignHash = SHA256
  893. ExpectedServerSignType = EC
  894. # ===========================================================
  895. [34-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS]
  896. ssl_conf = 34-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-ssl
  897. [34-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-ssl]
  898. server = 34-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-server
  899. client = 34-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-client
  900. [34-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-server]
  901. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  902. CipherString = DEFAULT
  903. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  904. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  905. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  906. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  907. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  908. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  909. MaxProtocol = TLSv1.3
  910. MinProtocol = TLSv1.3
  911. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  912. [34-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-client]
  913. CipherString = DEFAULT
  914. SignatureAlgorithms = ECDSA+SHA384:RSA-PSS+SHA384
  915. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  916. VerifyMode = Peer
  917. [test-34]
  918. ExpectedResult = Success
  919. ExpectedServerCertType = RSA
  920. ExpectedServerSignHash = SHA384
  921. ExpectedServerSignType = RSA-PSS
  922. # ===========================================================
  923. [35-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate]
  924. ssl_conf = 35-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl
  925. [35-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl]
  926. server = 35-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-server
  927. client = 35-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-client
  928. [35-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-server]
  929. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  930. CipherString = DEFAULT
  931. MaxProtocol = TLSv1.3
  932. MinProtocol = TLSv1.3
  933. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  934. [35-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-client]
  935. CipherString = DEFAULT
  936. SignatureAlgorithms = ECDSA+SHA256
  937. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  938. VerifyMode = Peer
  939. [test-35]
  940. ExpectedResult = ServerFail
  941. # ===========================================================
  942. [36-TLS 1.3 RSA Signature Algorithm Selection, no PSS]
  943. ssl_conf = 36-TLS 1.3 RSA Signature Algorithm Selection, no PSS-ssl
  944. [36-TLS 1.3 RSA Signature Algorithm Selection, no PSS-ssl]
  945. server = 36-TLS 1.3 RSA Signature Algorithm Selection, no PSS-server
  946. client = 36-TLS 1.3 RSA Signature Algorithm Selection, no PSS-client
  947. [36-TLS 1.3 RSA Signature Algorithm Selection, no PSS-server]
  948. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  949. CipherString = DEFAULT
  950. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  951. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  952. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  953. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  954. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  955. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  956. MaxProtocol = TLSv1.3
  957. MinProtocol = TLSv1.3
  958. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  959. [36-TLS 1.3 RSA Signature Algorithm Selection, no PSS-client]
  960. CipherString = DEFAULT
  961. SignatureAlgorithms = RSA+SHA256
  962. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  963. VerifyMode = Peer
  964. [test-36]
  965. ExpectedResult = ServerFail
  966. # ===========================================================
  967. [37-TLS 1.3 RSA-PSS Signature Algorithm Selection]
  968. ssl_conf = 37-TLS 1.3 RSA-PSS Signature Algorithm Selection-ssl
  969. [37-TLS 1.3 RSA-PSS Signature Algorithm Selection-ssl]
  970. server = 37-TLS 1.3 RSA-PSS Signature Algorithm Selection-server
  971. client = 37-TLS 1.3 RSA-PSS Signature Algorithm Selection-client
  972. [37-TLS 1.3 RSA-PSS Signature Algorithm Selection-server]
  973. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  974. CipherString = DEFAULT
  975. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  976. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  977. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  978. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  979. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  980. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  981. MaxProtocol = TLSv1.3
  982. MinProtocol = TLSv1.3
  983. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  984. [37-TLS 1.3 RSA-PSS Signature Algorithm Selection-client]
  985. CipherString = DEFAULT
  986. SignatureAlgorithms = RSA-PSS+SHA256
  987. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  988. VerifyMode = Peer
  989. [test-37]
  990. ExpectedResult = Success
  991. ExpectedServerCertType = RSA
  992. ExpectedServerSignHash = SHA256
  993. ExpectedServerSignType = RSA-PSS
  994. # ===========================================================
  995. [38-TLS 1.3 Ed25519 Signature Algorithm Selection]
  996. ssl_conf = 38-TLS 1.3 Ed25519 Signature Algorithm Selection-ssl
  997. [38-TLS 1.3 Ed25519 Signature Algorithm Selection-ssl]
  998. server = 38-TLS 1.3 Ed25519 Signature Algorithm Selection-server
  999. client = 38-TLS 1.3 Ed25519 Signature Algorithm Selection-client
  1000. [38-TLS 1.3 Ed25519 Signature Algorithm Selection-server]
  1001. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1002. CipherString = DEFAULT
  1003. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  1004. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  1005. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  1006. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  1007. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  1008. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  1009. MaxProtocol = TLSv1.3
  1010. MinProtocol = TLSv1.3
  1011. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1012. [38-TLS 1.3 Ed25519 Signature Algorithm Selection-client]
  1013. CipherString = DEFAULT
  1014. SignatureAlgorithms = ed25519
  1015. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1016. VerifyMode = Peer
  1017. [test-38]
  1018. ExpectedResult = Success
  1019. ExpectedServerCertType = Ed25519
  1020. ExpectedServerSignType = Ed25519
  1021. # ===========================================================
  1022. [39-TLS 1.3 Ed448 Signature Algorithm Selection]
  1023. ssl_conf = 39-TLS 1.3 Ed448 Signature Algorithm Selection-ssl
  1024. [39-TLS 1.3 Ed448 Signature Algorithm Selection-ssl]
  1025. server = 39-TLS 1.3 Ed448 Signature Algorithm Selection-server
  1026. client = 39-TLS 1.3 Ed448 Signature Algorithm Selection-client
  1027. [39-TLS 1.3 Ed448 Signature Algorithm Selection-server]
  1028. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1029. CipherString = DEFAULT
  1030. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  1031. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  1032. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  1033. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  1034. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  1035. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  1036. MaxProtocol = TLSv1.3
  1037. MinProtocol = TLSv1.3
  1038. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1039. [39-TLS 1.3 Ed448 Signature Algorithm Selection-client]
  1040. CipherString = DEFAULT
  1041. SignatureAlgorithms = ed448
  1042. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1043. VerifyMode = Peer
  1044. [test-39]
  1045. ExpectedResult = Success
  1046. ExpectedServerCertType = Ed448
  1047. ExpectedServerSignType = Ed448
  1048. # ===========================================================
  1049. [40-TLS 1.3 Ed25519 CipherString and Groups Selection]
  1050. ssl_conf = 40-TLS 1.3 Ed25519 CipherString and Groups Selection-ssl
  1051. [40-TLS 1.3 Ed25519 CipherString and Groups Selection-ssl]
  1052. server = 40-TLS 1.3 Ed25519 CipherString and Groups Selection-server
  1053. client = 40-TLS 1.3 Ed25519 CipherString and Groups Selection-client
  1054. [40-TLS 1.3 Ed25519 CipherString and Groups Selection-server]
  1055. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1056. CipherString = DEFAULT
  1057. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  1058. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  1059. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  1060. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  1061. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  1062. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  1063. MaxProtocol = TLSv1.3
  1064. MinProtocol = TLSv1.3
  1065. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1066. [40-TLS 1.3 Ed25519 CipherString and Groups Selection-client]
  1067. CipherString = DEFAULT
  1068. Groups = X25519
  1069. SignatureAlgorithms = ECDSA+SHA256:ed25519
  1070. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1071. VerifyMode = Peer
  1072. [test-40]
  1073. ExpectedResult = Success
  1074. ExpectedServerCertType = P-256
  1075. ExpectedServerSignType = EC
  1076. # ===========================================================
  1077. [41-TLS 1.3 Ed448 CipherString and Groups Selection]
  1078. ssl_conf = 41-TLS 1.3 Ed448 CipherString and Groups Selection-ssl
  1079. [41-TLS 1.3 Ed448 CipherString and Groups Selection-ssl]
  1080. server = 41-TLS 1.3 Ed448 CipherString and Groups Selection-server
  1081. client = 41-TLS 1.3 Ed448 CipherString and Groups Selection-client
  1082. [41-TLS 1.3 Ed448 CipherString and Groups Selection-server]
  1083. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1084. CipherString = DEFAULT
  1085. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
  1086. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
  1087. Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
  1088. Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
  1089. Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
  1090. Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
  1091. MaxProtocol = TLSv1.3
  1092. MinProtocol = TLSv1.3
  1093. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1094. [41-TLS 1.3 Ed448 CipherString and Groups Selection-client]
  1095. CipherString = DEFAULT
  1096. Groups = X448
  1097. SignatureAlgorithms = ECDSA+SHA256:ed448
  1098. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1099. VerifyMode = Peer
  1100. [test-41]
  1101. ExpectedResult = Success
  1102. ExpectedServerCertType = P-256
  1103. ExpectedServerSignType = EC
  1104. # ===========================================================
  1105. [42-TLS 1.3 RSA Client Auth Signature Algorithm Selection]
  1106. ssl_conf = 42-TLS 1.3 RSA Client Auth Signature Algorithm Selection-ssl
  1107. [42-TLS 1.3 RSA Client Auth Signature Algorithm Selection-ssl]
  1108. server = 42-TLS 1.3 RSA Client Auth Signature Algorithm Selection-server
  1109. client = 42-TLS 1.3 RSA Client Auth Signature Algorithm Selection-client
  1110. [42-TLS 1.3 RSA Client Auth Signature Algorithm Selection-server]
  1111. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1112. CipherString = DEFAULT
  1113. ClientSignatureAlgorithms = PSS+SHA256
  1114. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1115. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1116. VerifyMode = Require
  1117. [42-TLS 1.3 RSA Client Auth Signature Algorithm Selection-client]
  1118. CipherString = DEFAULT
  1119. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-client-chain.pem
  1120. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-key.pem
  1121. MaxProtocol = TLSv1.3
  1122. MinProtocol = TLSv1.3
  1123. RSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
  1124. RSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
  1125. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1126. VerifyMode = Peer
  1127. [test-42]
  1128. ExpectedClientCANames = empty
  1129. ExpectedClientCertType = RSA
  1130. ExpectedClientSignHash = SHA256
  1131. ExpectedClientSignType = RSA-PSS
  1132. ExpectedResult = Success
  1133. # ===========================================================
  1134. [43-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names]
  1135. ssl_conf = 43-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-ssl
  1136. [43-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-ssl]
  1137. server = 43-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-server
  1138. client = 43-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-client
  1139. [43-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-server]
  1140. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1141. CipherString = DEFAULT
  1142. ClientSignatureAlgorithms = PSS+SHA256
  1143. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1144. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1145. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1146. VerifyMode = Require
  1147. [43-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-client]
  1148. CipherString = DEFAULT
  1149. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-client-chain.pem
  1150. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-key.pem
  1151. MaxProtocol = TLSv1.3
  1152. MinProtocol = TLSv1.3
  1153. RSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
  1154. RSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
  1155. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1156. VerifyMode = Peer
  1157. [test-43]
  1158. ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1159. ExpectedClientCertType = RSA
  1160. ExpectedClientSignHash = SHA256
  1161. ExpectedClientSignType = RSA-PSS
  1162. ExpectedResult = Success
  1163. # ===========================================================
  1164. [44-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection]
  1165. ssl_conf = 44-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-ssl
  1166. [44-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-ssl]
  1167. server = 44-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-server
  1168. client = 44-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-client
  1169. [44-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-server]
  1170. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1171. CipherString = DEFAULT
  1172. ClientSignatureAlgorithms = ECDSA+SHA256
  1173. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1174. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1175. VerifyMode = Require
  1176. [44-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-client]
  1177. CipherString = DEFAULT
  1178. ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-client-chain.pem
  1179. ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-key.pem
  1180. MaxProtocol = TLSv1.3
  1181. MinProtocol = TLSv1.3
  1182. RSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
  1183. RSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
  1184. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1185. VerifyMode = Peer
  1186. [test-44]
  1187. ExpectedClientCertType = P-256
  1188. ExpectedClientSignHash = SHA256
  1189. ExpectedClientSignType = EC
  1190. ExpectedResult = Success
  1191. # ===========================================================
  1192. [45-TLS 1.3 Ed25519 Client Auth]
  1193. ssl_conf = 45-TLS 1.3 Ed25519 Client Auth-ssl
  1194. [45-TLS 1.3 Ed25519 Client Auth-ssl]
  1195. server = 45-TLS 1.3 Ed25519 Client Auth-server
  1196. client = 45-TLS 1.3 Ed25519 Client Auth-client
  1197. [45-TLS 1.3 Ed25519 Client Auth-server]
  1198. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1199. CipherString = DEFAULT
  1200. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1201. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1202. VerifyMode = Require
  1203. [45-TLS 1.3 Ed25519 Client Auth-client]
  1204. CipherString = DEFAULT
  1205. EdDSA.Certificate = ${ENV::TEST_CERTS_DIR}/client-ed25519-cert.pem
  1206. EdDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/client-ed25519-key.pem
  1207. MaxProtocol = TLSv1.3
  1208. MinProtocol = TLSv1.3
  1209. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1210. VerifyMode = Peer
  1211. [test-45]
  1212. ExpectedClientCertType = Ed25519
  1213. ExpectedClientSignType = Ed25519
  1214. ExpectedResult = Success
  1215. # ===========================================================
  1216. [46-TLS 1.3 Ed448 Client Auth]
  1217. ssl_conf = 46-TLS 1.3 Ed448 Client Auth-ssl
  1218. [46-TLS 1.3 Ed448 Client Auth-ssl]
  1219. server = 46-TLS 1.3 Ed448 Client Auth-server
  1220. client = 46-TLS 1.3 Ed448 Client Auth-client
  1221. [46-TLS 1.3 Ed448 Client Auth-server]
  1222. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1223. CipherString = DEFAULT
  1224. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1225. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1226. VerifyMode = Require
  1227. [46-TLS 1.3 Ed448 Client Auth-client]
  1228. CipherString = DEFAULT
  1229. EdDSA.Certificate = ${ENV::TEST_CERTS_DIR}/client-ed448-cert.pem
  1230. EdDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/client-ed448-key.pem
  1231. MaxProtocol = TLSv1.3
  1232. MinProtocol = TLSv1.3
  1233. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1234. VerifyMode = Peer
  1235. [test-46]
  1236. ExpectedClientCertType = Ed448
  1237. ExpectedClientSignType = Ed448
  1238. ExpectedResult = Success
  1239. # ===========================================================
  1240. [47-TLS 1.3 ECDSA with brainpool]
  1241. ssl_conf = 47-TLS 1.3 ECDSA with brainpool-ssl
  1242. [47-TLS 1.3 ECDSA with brainpool-ssl]
  1243. server = 47-TLS 1.3 ECDSA with brainpool-server
  1244. client = 47-TLS 1.3 ECDSA with brainpool-client
  1245. [47-TLS 1.3 ECDSA with brainpool-server]
  1246. Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-cert.pem
  1247. CipherString = DEFAULT
  1248. Groups = brainpoolP256r1
  1249. PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-key.pem
  1250. [47-TLS 1.3 ECDSA with brainpool-client]
  1251. CipherString = DEFAULT
  1252. Groups = brainpoolP256r1
  1253. MaxProtocol = TLSv1.3
  1254. MinProtocol = TLSv1.3
  1255. RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1256. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1257. VerifyMode = Peer
  1258. [test-47]
  1259. ExpectedResult = ServerFail
  1260. # ===========================================================
  1261. [48-TLS 1.2 DSA Certificate Test]
  1262. ssl_conf = 48-TLS 1.2 DSA Certificate Test-ssl
  1263. [48-TLS 1.2 DSA Certificate Test-ssl]
  1264. server = 48-TLS 1.2 DSA Certificate Test-server
  1265. client = 48-TLS 1.2 DSA Certificate Test-client
  1266. [48-TLS 1.2 DSA Certificate Test-server]
  1267. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1268. CipherString = ALL
  1269. DHParameters = ${ENV::TEST_CERTS_DIR}/dhp2048.pem
  1270. DSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-dsa-cert.pem
  1271. DSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-dsa-key.pem
  1272. MaxProtocol = TLSv1.2
  1273. MinProtocol = TLSv1.2
  1274. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1275. [48-TLS 1.2 DSA Certificate Test-client]
  1276. CipherString = ALL
  1277. SignatureAlgorithms = DSA+SHA256:DSA+SHA1
  1278. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1279. VerifyMode = Peer
  1280. [test-48]
  1281. ExpectedResult = Success
  1282. # ===========================================================
  1283. [49-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms]
  1284. ssl_conf = 49-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-ssl
  1285. [49-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-ssl]
  1286. server = 49-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-server
  1287. client = 49-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-client
  1288. [49-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-server]
  1289. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1290. CipherString = DEFAULT
  1291. ClientSignatureAlgorithms = ECDSA+SHA1:DSA+SHA256:RSA+SHA256
  1292. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1293. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  1294. VerifyMode = Request
  1295. [49-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-client]
  1296. CipherString = DEFAULT
  1297. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1298. VerifyMode = Peer
  1299. [test-49]
  1300. ExpectedResult = ServerFail
  1301. # ===========================================================
  1302. [50-TLS 1.3 DSA Certificate Test]
  1303. ssl_conf = 50-TLS 1.3 DSA Certificate Test-ssl
  1304. [50-TLS 1.3 DSA Certificate Test-ssl]
  1305. server = 50-TLS 1.3 DSA Certificate Test-server
  1306. client = 50-TLS 1.3 DSA Certificate Test-client
  1307. [50-TLS 1.3 DSA Certificate Test-server]
  1308. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  1309. CipherString = ALL
  1310. DSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-dsa-cert.pem
  1311. DSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-dsa-key.pem
  1312. MaxProtocol = TLSv1.3
  1313. MinProtocol = TLSv1.3
  1314. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  1315. [50-TLS 1.3 DSA Certificate Test-client]
  1316. CipherString = ALL
  1317. SignatureAlgorithms = DSA+SHA1:DSA+SHA256:ECDSA+SHA256
  1318. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  1319. VerifyMode = Peer
  1320. [test-50]
  1321. ExpectedResult = ServerFail