1 # Generated with generate_ssl_tests.pl 2 3 num_tests = 9 4 5 test-0 = 0-disable-encrypt-then-mac-server-sha 6 test-1 = 1-disable-encrypt-then-mac-client-sha 7 test-2 = 2-disable-encrypt-then-mac-both-sha 8 test-3 = 3-disable-encrypt-then-mac-server-sha2 9 test-4 = 4-disable-encrypt-then-mac-client-sha2 10 test-5 = 5-disable-encrypt-then-mac-both-sha2 11 test-6 = 6-disable-encrypt-then-mac-server-sha-tls1 12 test-7 = 7-disable-encrypt-then-mac-client-sha-tls1 13 test-8 = 8-disable-encrypt-then-mac-both-sha-tls1 14 # =========================================================== 15 16 [0-disable-encrypt-then-mac-server-sha] 17 ssl_conf = 0-disable-encrypt-then-mac-server-sha-ssl 18 19 [0-disable-encrypt-then-mac-server-sha-ssl] 20 server = 0-disable-encrypt-then-mac-server-sha-server 21 client = 0-disable-encrypt-then-mac-server-sha-client 22 23 [0-disable-encrypt-then-mac-server-sha-server] 24 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 25 CipherString = DEFAULT 26 Options = -EncryptThenMac 27 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 28 29 [0-disable-encrypt-then-mac-server-sha-client] 30 CipherString = AES128-SHA 31 MaxProtocol = TLSv1.2 32 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 33 VerifyMode = Peer 34 35 [test-0] 36 ExpectedResult = Success 37 38 39 # =========================================================== 40 41 [1-disable-encrypt-then-mac-client-sha] 42 ssl_conf = 1-disable-encrypt-then-mac-client-sha-ssl 43 44 [1-disable-encrypt-then-mac-client-sha-ssl] 45 server = 1-disable-encrypt-then-mac-client-sha-server 46 client = 1-disable-encrypt-then-mac-client-sha-client 47 48 [1-disable-encrypt-then-mac-client-sha-server] 49 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 50 CipherString = DEFAULT 51 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 52 53 [1-disable-encrypt-then-mac-client-sha-client] 54 CipherString = AES128-SHA 55 MaxProtocol = TLSv1.2 56 Options = -EncryptThenMac 57 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 58 VerifyMode = Peer 59 60 [test-1] 61 ExpectedResult = Success 62 63 64 # =========================================================== 65 66 [2-disable-encrypt-then-mac-both-sha] 67 ssl_conf = 2-disable-encrypt-then-mac-both-sha-ssl 68 69 [2-disable-encrypt-then-mac-both-sha-ssl] 70 server = 2-disable-encrypt-then-mac-both-sha-server 71 client = 2-disable-encrypt-then-mac-both-sha-client 72 73 [2-disable-encrypt-then-mac-both-sha-server] 74 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 75 CipherString = DEFAULT 76 Options = -EncryptThenMac 77 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 78 79 [2-disable-encrypt-then-mac-both-sha-client] 80 CipherString = AES128-SHA 81 MaxProtocol = TLSv1.2 82 Options = -EncryptThenMac 83 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 84 VerifyMode = Peer 85 86 [test-2] 87 ExpectedResult = Success 88 89 90 # =========================================================== 91 92 [3-disable-encrypt-then-mac-server-sha2] 93 ssl_conf = 3-disable-encrypt-then-mac-server-sha2-ssl 94 95 [3-disable-encrypt-then-mac-server-sha2-ssl] 96 server = 3-disable-encrypt-then-mac-server-sha2-server 97 client = 3-disable-encrypt-then-mac-server-sha2-client 98 99 [3-disable-encrypt-then-mac-server-sha2-server] 100 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 101 CipherString = DEFAULT 102 Options = -EncryptThenMac 103 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 104 105 [3-disable-encrypt-then-mac-server-sha2-client] 106 CipherString = AES128-SHA256 107 MaxProtocol = TLSv1.2 108 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 109 VerifyMode = Peer 110 111 [test-3] 112 ExpectedResult = Success 113 114 115 # =========================================================== 116 117 [4-disable-encrypt-then-mac-client-sha2] 118 ssl_conf = 4-disable-encrypt-then-mac-client-sha2-ssl 119 120 [4-disable-encrypt-then-mac-client-sha2-ssl] 121 server = 4-disable-encrypt-then-mac-client-sha2-server 122 client = 4-disable-encrypt-then-mac-client-sha2-client 123 124 [4-disable-encrypt-then-mac-client-sha2-server] 125 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 126 CipherString = DEFAULT 127 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 128 129 [4-disable-encrypt-then-mac-client-sha2-client] 130 CipherString = AES128-SHA256 131 MaxProtocol = TLSv1.2 132 Options = -EncryptThenMac 133 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 134 VerifyMode = Peer 135 136 [test-4] 137 ExpectedResult = Success 138 139 140 # =========================================================== 141 142 [5-disable-encrypt-then-mac-both-sha2] 143 ssl_conf = 5-disable-encrypt-then-mac-both-sha2-ssl 144 145 [5-disable-encrypt-then-mac-both-sha2-ssl] 146 server = 5-disable-encrypt-then-mac-both-sha2-server 147 client = 5-disable-encrypt-then-mac-both-sha2-client 148 149 [5-disable-encrypt-then-mac-both-sha2-server] 150 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 151 CipherString = DEFAULT 152 Options = -EncryptThenMac 153 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 154 155 [5-disable-encrypt-then-mac-both-sha2-client] 156 CipherString = AES128-SHA256 157 MaxProtocol = TLSv1.2 158 Options = -EncryptThenMac 159 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 160 VerifyMode = Peer 161 162 [test-5] 163 ExpectedResult = Success 164 165 166 # =========================================================== 167 168 [6-disable-encrypt-then-mac-server-sha-tls1] 169 ssl_conf = 6-disable-encrypt-then-mac-server-sha-tls1-ssl 170 171 [6-disable-encrypt-then-mac-server-sha-tls1-ssl] 172 server = 6-disable-encrypt-then-mac-server-sha-tls1-server 173 client = 6-disable-encrypt-then-mac-server-sha-tls1-client 174 175 [6-disable-encrypt-then-mac-server-sha-tls1-server] 176 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 177 CipherString = DEFAULT:@SECLEVEL=0 178 Options = -EncryptThenMac 179 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 180 181 [6-disable-encrypt-then-mac-server-sha-tls1-client] 182 CipherString = AES128-SHA@SECLEVEL=0 183 MaxProtocol = TLSv1 184 MinProtocol = TLSv1 185 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 186 VerifyMode = Peer 187 188 [test-6] 189 ExpectedResult = Success 190 191 192 # =========================================================== 193 194 [7-disable-encrypt-then-mac-client-sha-tls1] 195 ssl_conf = 7-disable-encrypt-then-mac-client-sha-tls1-ssl 196 197 [7-disable-encrypt-then-mac-client-sha-tls1-ssl] 198 server = 7-disable-encrypt-then-mac-client-sha-tls1-server 199 client = 7-disable-encrypt-then-mac-client-sha-tls1-client 200 201 [7-disable-encrypt-then-mac-client-sha-tls1-server] 202 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 203 CipherString = DEFAULT:@SECLEVEL=0 204 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 205 206 [7-disable-encrypt-then-mac-client-sha-tls1-client] 207 CipherString = AES128-SHA@SECLEVEL=0 208 MaxProtocol = TLSv1 209 MinProtocol = TLSv1 210 Options = -EncryptThenMac 211 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 212 VerifyMode = Peer 213 214 [test-7] 215 ExpectedResult = Success 216 217 218 # =========================================================== 219 220 [8-disable-encrypt-then-mac-both-sha-tls1] 221 ssl_conf = 8-disable-encrypt-then-mac-both-sha-tls1-ssl 222 223 [8-disable-encrypt-then-mac-both-sha-tls1-ssl] 224 server = 8-disable-encrypt-then-mac-both-sha-tls1-server 225 client = 8-disable-encrypt-then-mac-both-sha-tls1-client 226 227 [8-disable-encrypt-then-mac-both-sha-tls1-server] 228 Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 229 CipherString = DEFAULT:@SECLEVEL=0 230 Options = -EncryptThenMac 231 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 232 233 [8-disable-encrypt-then-mac-both-sha-tls1-client] 234 CipherString = AES128-SHA@SECLEVEL=0 235 MaxProtocol = TLSv1 236 MinProtocol = TLSv1 237 Options = -EncryptThenMac 238 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 239 VerifyMode = Peer 240 241 [test-8] 242 ExpectedResult = Success 243 244 245