2
0

32-compressed-certificate.cnf 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. # Generated with generate_ssl_tests.pl
  2. num_tests = 8
  3. test-0 = 0-no-compressed-certificates
  4. test-1 = 1-server-compressed-certificates
  5. test-2 = 2-client-compressed-certificates
  6. test-3 = 3-both-compressed-certificates
  7. test-4 = 4-no-compressed-certificates-mtls
  8. test-5 = 5-server-compressed-certificates-mtls
  9. test-6 = 6-client-compressed-certificates-mtls
  10. test-7 = 7-both-compressed-certificates-mtls
  11. # ===========================================================
  12. [0-no-compressed-certificates]
  13. ssl_conf = 0-no-compressed-certificates-ssl
  14. [0-no-compressed-certificates-ssl]
  15. server = 0-no-compressed-certificates-server
  16. client = 0-no-compressed-certificates-client
  17. [0-no-compressed-certificates-server]
  18. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  19. CipherString = DEFAULT
  20. Options = -TxCertificateCompression,-RxCertificateCompression
  21. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  22. [0-no-compressed-certificates-client]
  23. CipherString = DEFAULT
  24. MinProtocol = TLSv1.3
  25. Options = -TxCertificateCompression,-RxCertificateCompression
  26. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  27. VerifyMode = Peer
  28. [test-0]
  29. CompressCertificates = Yes
  30. ExpectedResult = Success
  31. # ===========================================================
  32. [1-server-compressed-certificates]
  33. ssl_conf = 1-server-compressed-certificates-ssl
  34. [1-server-compressed-certificates-ssl]
  35. server = 1-server-compressed-certificates-server
  36. client = 1-server-compressed-certificates-client
  37. [1-server-compressed-certificates-server]
  38. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  39. CipherString = DEFAULT
  40. Options = TxCertificateCompression,RxCertificateCompression
  41. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  42. [1-server-compressed-certificates-client]
  43. CipherString = DEFAULT
  44. MinProtocol = TLSv1.3
  45. Options = -TxCertificateCompression,-RxCertificateCompression
  46. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  47. VerifyMode = Peer
  48. [test-1]
  49. CompressCertificates = Yes
  50. ExpectedResult = Success
  51. # ===========================================================
  52. [2-client-compressed-certificates]
  53. ssl_conf = 2-client-compressed-certificates-ssl
  54. [2-client-compressed-certificates-ssl]
  55. server = 2-client-compressed-certificates-server
  56. client = 2-client-compressed-certificates-client
  57. [2-client-compressed-certificates-server]
  58. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  59. CipherString = DEFAULT
  60. Options = -TxCertificateCompression,-RxCertificateCompression
  61. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  62. [2-client-compressed-certificates-client]
  63. CipherString = DEFAULT
  64. MinProtocol = TLSv1.3
  65. Options = TxCertificateCompression,RxCertificateCompression
  66. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  67. VerifyMode = Peer
  68. [test-2]
  69. CompressCertificates = Yes
  70. ExpectedResult = Success
  71. # ===========================================================
  72. [3-both-compressed-certificates]
  73. ssl_conf = 3-both-compressed-certificates-ssl
  74. [3-both-compressed-certificates-ssl]
  75. server = 3-both-compressed-certificates-server
  76. client = 3-both-compressed-certificates-client
  77. [3-both-compressed-certificates-server]
  78. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  79. CipherString = DEFAULT
  80. Options = TxCertificateCompression,RxCertificateCompression
  81. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  82. [3-both-compressed-certificates-client]
  83. CipherString = DEFAULT
  84. MinProtocol = TLSv1.3
  85. Options = TxCertificateCompression,RxCertificateCompression
  86. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  87. VerifyMode = Peer
  88. [test-3]
  89. CompressCertificates = Yes
  90. ExpectedResult = Success
  91. # ===========================================================
  92. [4-no-compressed-certificates-mtls]
  93. ssl_conf = 4-no-compressed-certificates-mtls-ssl
  94. [4-no-compressed-certificates-mtls-ssl]
  95. server = 4-no-compressed-certificates-mtls-server
  96. client = 4-no-compressed-certificates-mtls-client
  97. [4-no-compressed-certificates-mtls-server]
  98. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  99. CipherString = DEFAULT
  100. Options = -TxCertificateCompression,-RxCertificateCompression
  101. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  102. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  103. VerifyMode = Request
  104. [4-no-compressed-certificates-mtls-client]
  105. Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
  106. CipherString = DEFAULT
  107. MinProtocol = TLSv1.3
  108. Options = -TxCertificateCompression,-RxCertificateCompression
  109. PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
  110. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  111. VerifyMode = Peer
  112. [test-4]
  113. CompressCertificates = Yes
  114. ExpectedResult = Success
  115. # ===========================================================
  116. [5-server-compressed-certificates-mtls]
  117. ssl_conf = 5-server-compressed-certificates-mtls-ssl
  118. [5-server-compressed-certificates-mtls-ssl]
  119. server = 5-server-compressed-certificates-mtls-server
  120. client = 5-server-compressed-certificates-mtls-client
  121. [5-server-compressed-certificates-mtls-server]
  122. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  123. CipherString = DEFAULT
  124. Options = TxCertificateCompression,RxCertificateCompression
  125. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  126. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  127. VerifyMode = Request
  128. [5-server-compressed-certificates-mtls-client]
  129. Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
  130. CipherString = DEFAULT
  131. MinProtocol = TLSv1.3
  132. Options = -TxCertificateCompression,-RxCertificateCompression
  133. PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
  134. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  135. VerifyMode = Peer
  136. [test-5]
  137. CompressCertificates = Yes
  138. ExpectedResult = Success
  139. # ===========================================================
  140. [6-client-compressed-certificates-mtls]
  141. ssl_conf = 6-client-compressed-certificates-mtls-ssl
  142. [6-client-compressed-certificates-mtls-ssl]
  143. server = 6-client-compressed-certificates-mtls-server
  144. client = 6-client-compressed-certificates-mtls-client
  145. [6-client-compressed-certificates-mtls-server]
  146. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  147. CipherString = DEFAULT
  148. Options = -TxCertificateCompression,-RxCertificateCompression
  149. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  150. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  151. VerifyMode = Request
  152. [6-client-compressed-certificates-mtls-client]
  153. Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
  154. CipherString = DEFAULT
  155. MinProtocol = TLSv1.3
  156. Options = TxCertificateCompression,RxCertificateCompression
  157. PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
  158. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  159. VerifyMode = Peer
  160. [test-6]
  161. CompressCertificates = Yes
  162. ExpectedResult = Success
  163. # ===========================================================
  164. [7-both-compressed-certificates-mtls]
  165. ssl_conf = 7-both-compressed-certificates-mtls-ssl
  166. [7-both-compressed-certificates-mtls-ssl]
  167. server = 7-both-compressed-certificates-mtls-server
  168. client = 7-both-compressed-certificates-mtls-client
  169. [7-both-compressed-certificates-mtls-server]
  170. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  171. CipherString = DEFAULT
  172. Options = TxCertificateCompression,RxCertificateCompression
  173. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  174. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  175. VerifyMode = Request
  176. [7-both-compressed-certificates-mtls-client]
  177. Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
  178. CipherString = DEFAULT
  179. MinProtocol = TLSv1.3
  180. Options = TxCertificateCompression,RxCertificateCompression
  181. PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
  182. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  183. VerifyMode = Peer
  184. [test-7]
  185. CompressCertificates = Yes
  186. ExpectedResult = Success