20-cert-select.cnf 64 KB

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