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