22-compression.cnf 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. # Generated with generate_ssl_tests.pl
  2. num_tests = 8
  3. test-0 = 0-tlsv1_3-both-compress
  4. test-1 = 1-tlsv1_3-client-compress
  5. test-2 = 2-tlsv1_3-server-compress
  6. test-3 = 3-tlsv1_3-neither-compress
  7. test-4 = 4-tlsv1_2-both-compress
  8. test-5 = 5-tlsv1_2-client-compress
  9. test-6 = 6-tlsv1_2-server-compress
  10. test-7 = 7-tlsv1_2-neither-compress
  11. # ===========================================================
  12. [0-tlsv1_3-both-compress]
  13. ssl_conf = 0-tlsv1_3-both-compress-ssl
  14. [0-tlsv1_3-both-compress-ssl]
  15. server = 0-tlsv1_3-both-compress-server
  16. client = 0-tlsv1_3-both-compress-client
  17. [0-tlsv1_3-both-compress-server]
  18. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  19. CipherString = DEFAULT@SECLEVEL=1
  20. Options = Compression
  21. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  22. [0-tlsv1_3-both-compress-client]
  23. CipherString = DEFAULT@SECLEVEL=1
  24. Options = Compression
  25. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  26. VerifyMode = Peer
  27. [test-0]
  28. CompressionExpected = No
  29. ExpectedResult = Success
  30. # ===========================================================
  31. [1-tlsv1_3-client-compress]
  32. ssl_conf = 1-tlsv1_3-client-compress-ssl
  33. [1-tlsv1_3-client-compress-ssl]
  34. server = 1-tlsv1_3-client-compress-server
  35. client = 1-tlsv1_3-client-compress-client
  36. [1-tlsv1_3-client-compress-server]
  37. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  38. CipherString = DEFAULT@SECLEVEL=1
  39. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  40. [1-tlsv1_3-client-compress-client]
  41. CipherString = DEFAULT@SECLEVEL=1
  42. Options = Compression
  43. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  44. VerifyMode = Peer
  45. [test-1]
  46. CompressionExpected = No
  47. ExpectedResult = Success
  48. # ===========================================================
  49. [2-tlsv1_3-server-compress]
  50. ssl_conf = 2-tlsv1_3-server-compress-ssl
  51. [2-tlsv1_3-server-compress-ssl]
  52. server = 2-tlsv1_3-server-compress-server
  53. client = 2-tlsv1_3-server-compress-client
  54. [2-tlsv1_3-server-compress-server]
  55. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  56. CipherString = DEFAULT@SECLEVEL=1
  57. Options = Compression
  58. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  59. [2-tlsv1_3-server-compress-client]
  60. CipherString = DEFAULT@SECLEVEL=1
  61. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  62. VerifyMode = Peer
  63. [test-2]
  64. CompressionExpected = No
  65. ExpectedResult = Success
  66. # ===========================================================
  67. [3-tlsv1_3-neither-compress]
  68. ssl_conf = 3-tlsv1_3-neither-compress-ssl
  69. [3-tlsv1_3-neither-compress-ssl]
  70. server = 3-tlsv1_3-neither-compress-server
  71. client = 3-tlsv1_3-neither-compress-client
  72. [3-tlsv1_3-neither-compress-server]
  73. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  74. CipherString = DEFAULT@SECLEVEL=1
  75. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  76. [3-tlsv1_3-neither-compress-client]
  77. CipherString = DEFAULT@SECLEVEL=1
  78. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  79. VerifyMode = Peer
  80. [test-3]
  81. CompressionExpected = No
  82. ExpectedResult = Success
  83. # ===========================================================
  84. [4-tlsv1_2-both-compress]
  85. ssl_conf = 4-tlsv1_2-both-compress-ssl
  86. [4-tlsv1_2-both-compress-ssl]
  87. server = 4-tlsv1_2-both-compress-server
  88. client = 4-tlsv1_2-both-compress-client
  89. [4-tlsv1_2-both-compress-server]
  90. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  91. CipherString = DEFAULT@SECLEVEL=1
  92. Options = Compression
  93. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  94. [4-tlsv1_2-both-compress-client]
  95. CipherString = DEFAULT@SECLEVEL=1
  96. MaxProtocol = TLSv1.2
  97. Options = Compression
  98. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  99. VerifyMode = Peer
  100. [test-4]
  101. CompressionExpected = Yes
  102. ExpectedResult = Success
  103. # ===========================================================
  104. [5-tlsv1_2-client-compress]
  105. ssl_conf = 5-tlsv1_2-client-compress-ssl
  106. [5-tlsv1_2-client-compress-ssl]
  107. server = 5-tlsv1_2-client-compress-server
  108. client = 5-tlsv1_2-client-compress-client
  109. [5-tlsv1_2-client-compress-server]
  110. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  111. CipherString = DEFAULT@SECLEVEL=1
  112. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  113. [5-tlsv1_2-client-compress-client]
  114. CipherString = DEFAULT@SECLEVEL=1
  115. MaxProtocol = TLSv1.2
  116. Options = Compression
  117. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  118. VerifyMode = Peer
  119. [test-5]
  120. CompressionExpected = No
  121. ExpectedResult = Success
  122. # ===========================================================
  123. [6-tlsv1_2-server-compress]
  124. ssl_conf = 6-tlsv1_2-server-compress-ssl
  125. [6-tlsv1_2-server-compress-ssl]
  126. server = 6-tlsv1_2-server-compress-server
  127. client = 6-tlsv1_2-server-compress-client
  128. [6-tlsv1_2-server-compress-server]
  129. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  130. CipherString = DEFAULT@SECLEVEL=1
  131. Options = Compression
  132. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  133. [6-tlsv1_2-server-compress-client]
  134. CipherString = DEFAULT@SECLEVEL=1
  135. MaxProtocol = TLSv1.2
  136. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  137. VerifyMode = Peer
  138. [test-6]
  139. CompressionExpected = No
  140. ExpectedResult = Success
  141. # ===========================================================
  142. [7-tlsv1_2-neither-compress]
  143. ssl_conf = 7-tlsv1_2-neither-compress-ssl
  144. [7-tlsv1_2-neither-compress-ssl]
  145. server = 7-tlsv1_2-neither-compress-server
  146. client = 7-tlsv1_2-neither-compress-client
  147. [7-tlsv1_2-neither-compress-server]
  148. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  149. CipherString = DEFAULT@SECLEVEL=1
  150. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  151. [7-tlsv1_2-neither-compress-client]
  152. CipherString = DEFAULT@SECLEVEL=1
  153. MaxProtocol = TLSv1.2
  154. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  155. VerifyMode = Peer
  156. [test-7]
  157. CompressionExpected = No
  158. ExpectedResult = Success