yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame] | 1 | # Generated with generate_ssl_tests.pl |
| 2 | |
| 3 | num_tests = 19 |
| 4 | |
| 5 | test-0 = 0-resumption |
| 6 | test-1 = 1-resumption |
| 7 | test-2 = 2-resumption |
| 8 | test-3 = 3-resumption |
| 9 | test-4 = 4-resumption |
| 10 | test-5 = 5-resumption |
| 11 | test-6 = 6-resumption |
| 12 | test-7 = 7-resumption |
| 13 | test-8 = 8-resumption |
| 14 | test-9 = 9-resumption |
| 15 | test-10 = 10-resumption |
| 16 | test-11 = 11-resumption |
| 17 | test-12 = 12-resumption |
| 18 | test-13 = 13-resumption |
| 19 | test-14 = 14-resumption |
| 20 | test-15 = 15-resumption |
| 21 | test-16 = 16-resumption-when-mfl-ext-is-missing |
| 22 | test-17 = 17-resumption-when-mfl-ext-is-different |
| 23 | test-18 = 18-resumption-when-mfl-ext-is-correct |
| 24 | # =========================================================== |
| 25 | |
| 26 | [0-resumption] |
| 27 | ssl_conf = 0-resumption-ssl |
| 28 | |
| 29 | [0-resumption-ssl] |
| 30 | server = 0-resumption-server |
| 31 | client = 0-resumption-client |
| 32 | resume-server = 0-resumption-resume-server |
| 33 | resume-client = 0-resumption-client |
| 34 | |
| 35 | [0-resumption-server] |
| 36 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 37 | CipherString = DEFAULT |
| 38 | MaxProtocol = DTLSv1 |
| 39 | MinProtocol = DTLSv1 |
| 40 | Options = SessionTicket |
| 41 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 42 | |
| 43 | [0-resumption-resume-server] |
| 44 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 45 | CipherString = DEFAULT |
| 46 | MaxProtocol = DTLSv1 |
| 47 | Options = SessionTicket |
| 48 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 49 | |
| 50 | [0-resumption-client] |
| 51 | CipherString = DEFAULT |
| 52 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 53 | VerifyMode = Peer |
| 54 | |
| 55 | [test-0] |
| 56 | ExpectedProtocol = DTLSv1 |
| 57 | HandshakeMode = Resume |
| 58 | Method = DTLS |
| 59 | ResumptionExpected = Yes |
| 60 | |
| 61 | |
| 62 | # =========================================================== |
| 63 | |
| 64 | [1-resumption] |
| 65 | ssl_conf = 1-resumption-ssl |
| 66 | |
| 67 | [1-resumption-ssl] |
| 68 | server = 1-resumption-server |
| 69 | client = 1-resumption-client |
| 70 | resume-server = 1-resumption-resume-server |
| 71 | resume-client = 1-resumption-client |
| 72 | |
| 73 | [1-resumption-server] |
| 74 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 75 | CipherString = DEFAULT |
| 76 | MaxProtocol = DTLSv1 |
| 77 | MinProtocol = DTLSv1 |
| 78 | Options = -SessionTicket |
| 79 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 80 | |
| 81 | [1-resumption-resume-server] |
| 82 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 83 | CipherString = DEFAULT |
| 84 | MaxProtocol = DTLSv1 |
| 85 | Options = -SessionTicket |
| 86 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 87 | |
| 88 | [1-resumption-client] |
| 89 | CipherString = DEFAULT |
| 90 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 91 | VerifyMode = Peer |
| 92 | |
| 93 | [test-1] |
| 94 | ExpectedProtocol = DTLSv1 |
| 95 | HandshakeMode = Resume |
| 96 | Method = DTLS |
| 97 | ResumptionExpected = Yes |
| 98 | |
| 99 | |
| 100 | # =========================================================== |
| 101 | |
| 102 | [2-resumption] |
| 103 | ssl_conf = 2-resumption-ssl |
| 104 | |
| 105 | [2-resumption-ssl] |
| 106 | server = 2-resumption-server |
| 107 | client = 2-resumption-client |
| 108 | resume-server = 2-resumption-resume-server |
| 109 | resume-client = 2-resumption-client |
| 110 | |
| 111 | [2-resumption-server] |
| 112 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 113 | CipherString = DEFAULT |
| 114 | MaxProtocol = DTLSv1 |
| 115 | MinProtocol = DTLSv1 |
| 116 | Options = SessionTicket |
| 117 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 118 | |
| 119 | [2-resumption-resume-server] |
| 120 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 121 | CipherString = DEFAULT |
| 122 | MaxProtocol = DTLSv1.2 |
| 123 | Options = SessionTicket |
| 124 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 125 | |
| 126 | [2-resumption-client] |
| 127 | CipherString = DEFAULT |
| 128 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 129 | VerifyMode = Peer |
| 130 | |
| 131 | [test-2] |
| 132 | ExpectedProtocol = DTLSv1.2 |
| 133 | HandshakeMode = Resume |
| 134 | Method = DTLS |
| 135 | ResumptionExpected = No |
| 136 | |
| 137 | |
| 138 | # =========================================================== |
| 139 | |
| 140 | [3-resumption] |
| 141 | ssl_conf = 3-resumption-ssl |
| 142 | |
| 143 | [3-resumption-ssl] |
| 144 | server = 3-resumption-server |
| 145 | client = 3-resumption-client |
| 146 | resume-server = 3-resumption-resume-server |
| 147 | resume-client = 3-resumption-client |
| 148 | |
| 149 | [3-resumption-server] |
| 150 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 151 | CipherString = DEFAULT |
| 152 | MaxProtocol = DTLSv1 |
| 153 | MinProtocol = DTLSv1 |
| 154 | Options = -SessionTicket |
| 155 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 156 | |
| 157 | [3-resumption-resume-server] |
| 158 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 159 | CipherString = DEFAULT |
| 160 | MaxProtocol = DTLSv1.2 |
| 161 | Options = -SessionTicket |
| 162 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 163 | |
| 164 | [3-resumption-client] |
| 165 | CipherString = DEFAULT |
| 166 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 167 | VerifyMode = Peer |
| 168 | |
| 169 | [test-3] |
| 170 | ExpectedProtocol = DTLSv1.2 |
| 171 | HandshakeMode = Resume |
| 172 | Method = DTLS |
| 173 | ResumptionExpected = No |
| 174 | |
| 175 | |
| 176 | # =========================================================== |
| 177 | |
| 178 | [4-resumption] |
| 179 | ssl_conf = 4-resumption-ssl |
| 180 | |
| 181 | [4-resumption-ssl] |
| 182 | server = 4-resumption-server |
| 183 | client = 4-resumption-client |
| 184 | resume-server = 4-resumption-resume-server |
| 185 | resume-client = 4-resumption-client |
| 186 | |
| 187 | [4-resumption-server] |
| 188 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 189 | CipherString = DEFAULT |
| 190 | MaxProtocol = DTLSv1.2 |
| 191 | MinProtocol = DTLSv1.2 |
| 192 | Options = SessionTicket |
| 193 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 194 | |
| 195 | [4-resumption-resume-server] |
| 196 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 197 | CipherString = DEFAULT |
| 198 | MaxProtocol = DTLSv1 |
| 199 | Options = SessionTicket |
| 200 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 201 | |
| 202 | [4-resumption-client] |
| 203 | CipherString = DEFAULT |
| 204 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 205 | VerifyMode = Peer |
| 206 | |
| 207 | [test-4] |
| 208 | ExpectedProtocol = DTLSv1 |
| 209 | HandshakeMode = Resume |
| 210 | Method = DTLS |
| 211 | ResumptionExpected = No |
| 212 | |
| 213 | |
| 214 | # =========================================================== |
| 215 | |
| 216 | [5-resumption] |
| 217 | ssl_conf = 5-resumption-ssl |
| 218 | |
| 219 | [5-resumption-ssl] |
| 220 | server = 5-resumption-server |
| 221 | client = 5-resumption-client |
| 222 | resume-server = 5-resumption-resume-server |
| 223 | resume-client = 5-resumption-client |
| 224 | |
| 225 | [5-resumption-server] |
| 226 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 227 | CipherString = DEFAULT |
| 228 | MaxProtocol = DTLSv1.2 |
| 229 | MinProtocol = DTLSv1.2 |
| 230 | Options = -SessionTicket |
| 231 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 232 | |
| 233 | [5-resumption-resume-server] |
| 234 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 235 | CipherString = DEFAULT |
| 236 | MaxProtocol = DTLSv1 |
| 237 | Options = -SessionTicket |
| 238 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 239 | |
| 240 | [5-resumption-client] |
| 241 | CipherString = DEFAULT |
| 242 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 243 | VerifyMode = Peer |
| 244 | |
| 245 | [test-5] |
| 246 | ExpectedProtocol = DTLSv1 |
| 247 | HandshakeMode = Resume |
| 248 | Method = DTLS |
| 249 | ResumptionExpected = No |
| 250 | |
| 251 | |
| 252 | # =========================================================== |
| 253 | |
| 254 | [6-resumption] |
| 255 | ssl_conf = 6-resumption-ssl |
| 256 | |
| 257 | [6-resumption-ssl] |
| 258 | server = 6-resumption-server |
| 259 | client = 6-resumption-client |
| 260 | resume-server = 6-resumption-resume-server |
| 261 | resume-client = 6-resumption-client |
| 262 | |
| 263 | [6-resumption-server] |
| 264 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 265 | CipherString = DEFAULT |
| 266 | MaxProtocol = DTLSv1.2 |
| 267 | MinProtocol = DTLSv1.2 |
| 268 | Options = SessionTicket |
| 269 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 270 | |
| 271 | [6-resumption-resume-server] |
| 272 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 273 | CipherString = DEFAULT |
| 274 | MaxProtocol = DTLSv1.2 |
| 275 | Options = SessionTicket |
| 276 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 277 | |
| 278 | [6-resumption-client] |
| 279 | CipherString = DEFAULT |
| 280 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 281 | VerifyMode = Peer |
| 282 | |
| 283 | [test-6] |
| 284 | ExpectedProtocol = DTLSv1.2 |
| 285 | HandshakeMode = Resume |
| 286 | Method = DTLS |
| 287 | ResumptionExpected = Yes |
| 288 | |
| 289 | |
| 290 | # =========================================================== |
| 291 | |
| 292 | [7-resumption] |
| 293 | ssl_conf = 7-resumption-ssl |
| 294 | |
| 295 | [7-resumption-ssl] |
| 296 | server = 7-resumption-server |
| 297 | client = 7-resumption-client |
| 298 | resume-server = 7-resumption-resume-server |
| 299 | resume-client = 7-resumption-client |
| 300 | |
| 301 | [7-resumption-server] |
| 302 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 303 | CipherString = DEFAULT |
| 304 | MaxProtocol = DTLSv1.2 |
| 305 | MinProtocol = DTLSv1.2 |
| 306 | Options = -SessionTicket |
| 307 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 308 | |
| 309 | [7-resumption-resume-server] |
| 310 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 311 | CipherString = DEFAULT |
| 312 | MaxProtocol = DTLSv1.2 |
| 313 | Options = -SessionTicket |
| 314 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 315 | |
| 316 | [7-resumption-client] |
| 317 | CipherString = DEFAULT |
| 318 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 319 | VerifyMode = Peer |
| 320 | |
| 321 | [test-7] |
| 322 | ExpectedProtocol = DTLSv1.2 |
| 323 | HandshakeMode = Resume |
| 324 | Method = DTLS |
| 325 | ResumptionExpected = Yes |
| 326 | |
| 327 | |
| 328 | # =========================================================== |
| 329 | |
| 330 | [8-resumption] |
| 331 | ssl_conf = 8-resumption-ssl |
| 332 | |
| 333 | [8-resumption-ssl] |
| 334 | server = 8-resumption-server |
| 335 | client = 8-resumption-client |
| 336 | resume-server = 8-resumption-server |
| 337 | resume-client = 8-resumption-resume-client |
| 338 | |
| 339 | [8-resumption-server] |
| 340 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 341 | CipherString = DEFAULT |
| 342 | Options = SessionTicket |
| 343 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 344 | |
| 345 | [8-resumption-client] |
| 346 | CipherString = DEFAULT |
| 347 | MaxProtocol = DTLSv1 |
| 348 | MinProtocol = DTLSv1 |
| 349 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 350 | VerifyMode = Peer |
| 351 | |
| 352 | [8-resumption-resume-client] |
| 353 | CipherString = DEFAULT |
| 354 | MaxProtocol = DTLSv1 |
| 355 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 356 | VerifyMode = Peer |
| 357 | |
| 358 | [test-8] |
| 359 | ExpectedProtocol = DTLSv1 |
| 360 | HandshakeMode = Resume |
| 361 | Method = DTLS |
| 362 | ResumptionExpected = Yes |
| 363 | |
| 364 | |
| 365 | # =========================================================== |
| 366 | |
| 367 | [9-resumption] |
| 368 | ssl_conf = 9-resumption-ssl |
| 369 | |
| 370 | [9-resumption-ssl] |
| 371 | server = 9-resumption-server |
| 372 | client = 9-resumption-client |
| 373 | resume-server = 9-resumption-server |
| 374 | resume-client = 9-resumption-resume-client |
| 375 | |
| 376 | [9-resumption-server] |
| 377 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 378 | CipherString = DEFAULT |
| 379 | Options = -SessionTicket |
| 380 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 381 | |
| 382 | [9-resumption-client] |
| 383 | CipherString = DEFAULT |
| 384 | MaxProtocol = DTLSv1 |
| 385 | MinProtocol = DTLSv1 |
| 386 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 387 | VerifyMode = Peer |
| 388 | |
| 389 | [9-resumption-resume-client] |
| 390 | CipherString = DEFAULT |
| 391 | MaxProtocol = DTLSv1 |
| 392 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 393 | VerifyMode = Peer |
| 394 | |
| 395 | [test-9] |
| 396 | ExpectedProtocol = DTLSv1 |
| 397 | HandshakeMode = Resume |
| 398 | Method = DTLS |
| 399 | ResumptionExpected = Yes |
| 400 | |
| 401 | |
| 402 | # =========================================================== |
| 403 | |
| 404 | [10-resumption] |
| 405 | ssl_conf = 10-resumption-ssl |
| 406 | |
| 407 | [10-resumption-ssl] |
| 408 | server = 10-resumption-server |
| 409 | client = 10-resumption-client |
| 410 | resume-server = 10-resumption-server |
| 411 | resume-client = 10-resumption-resume-client |
| 412 | |
| 413 | [10-resumption-server] |
| 414 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 415 | CipherString = DEFAULT |
| 416 | Options = SessionTicket |
| 417 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 418 | |
| 419 | [10-resumption-client] |
| 420 | CipherString = DEFAULT |
| 421 | MaxProtocol = DTLSv1 |
| 422 | MinProtocol = DTLSv1 |
| 423 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 424 | VerifyMode = Peer |
| 425 | |
| 426 | [10-resumption-resume-client] |
| 427 | CipherString = DEFAULT |
| 428 | MaxProtocol = DTLSv1.2 |
| 429 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 430 | VerifyMode = Peer |
| 431 | |
| 432 | [test-10] |
| 433 | ExpectedProtocol = DTLSv1.2 |
| 434 | HandshakeMode = Resume |
| 435 | Method = DTLS |
| 436 | ResumptionExpected = No |
| 437 | |
| 438 | |
| 439 | # =========================================================== |
| 440 | |
| 441 | [11-resumption] |
| 442 | ssl_conf = 11-resumption-ssl |
| 443 | |
| 444 | [11-resumption-ssl] |
| 445 | server = 11-resumption-server |
| 446 | client = 11-resumption-client |
| 447 | resume-server = 11-resumption-server |
| 448 | resume-client = 11-resumption-resume-client |
| 449 | |
| 450 | [11-resumption-server] |
| 451 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 452 | CipherString = DEFAULT |
| 453 | Options = -SessionTicket |
| 454 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 455 | |
| 456 | [11-resumption-client] |
| 457 | CipherString = DEFAULT |
| 458 | MaxProtocol = DTLSv1 |
| 459 | MinProtocol = DTLSv1 |
| 460 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 461 | VerifyMode = Peer |
| 462 | |
| 463 | [11-resumption-resume-client] |
| 464 | CipherString = DEFAULT |
| 465 | MaxProtocol = DTLSv1.2 |
| 466 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 467 | VerifyMode = Peer |
| 468 | |
| 469 | [test-11] |
| 470 | ExpectedProtocol = DTLSv1.2 |
| 471 | HandshakeMode = Resume |
| 472 | Method = DTLS |
| 473 | ResumptionExpected = No |
| 474 | |
| 475 | |
| 476 | # =========================================================== |
| 477 | |
| 478 | [12-resumption] |
| 479 | ssl_conf = 12-resumption-ssl |
| 480 | |
| 481 | [12-resumption-ssl] |
| 482 | server = 12-resumption-server |
| 483 | client = 12-resumption-client |
| 484 | resume-server = 12-resumption-server |
| 485 | resume-client = 12-resumption-resume-client |
| 486 | |
| 487 | [12-resumption-server] |
| 488 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 489 | CipherString = DEFAULT |
| 490 | Options = SessionTicket |
| 491 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 492 | |
| 493 | [12-resumption-client] |
| 494 | CipherString = DEFAULT |
| 495 | MaxProtocol = DTLSv1.2 |
| 496 | MinProtocol = DTLSv1.2 |
| 497 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 498 | VerifyMode = Peer |
| 499 | |
| 500 | [12-resumption-resume-client] |
| 501 | CipherString = DEFAULT |
| 502 | MaxProtocol = DTLSv1 |
| 503 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 504 | VerifyMode = Peer |
| 505 | |
| 506 | [test-12] |
| 507 | ExpectedProtocol = DTLSv1 |
| 508 | HandshakeMode = Resume |
| 509 | Method = DTLS |
| 510 | ResumptionExpected = No |
| 511 | |
| 512 | |
| 513 | # =========================================================== |
| 514 | |
| 515 | [13-resumption] |
| 516 | ssl_conf = 13-resumption-ssl |
| 517 | |
| 518 | [13-resumption-ssl] |
| 519 | server = 13-resumption-server |
| 520 | client = 13-resumption-client |
| 521 | resume-server = 13-resumption-server |
| 522 | resume-client = 13-resumption-resume-client |
| 523 | |
| 524 | [13-resumption-server] |
| 525 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 526 | CipherString = DEFAULT |
| 527 | Options = -SessionTicket |
| 528 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 529 | |
| 530 | [13-resumption-client] |
| 531 | CipherString = DEFAULT |
| 532 | MaxProtocol = DTLSv1.2 |
| 533 | MinProtocol = DTLSv1.2 |
| 534 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 535 | VerifyMode = Peer |
| 536 | |
| 537 | [13-resumption-resume-client] |
| 538 | CipherString = DEFAULT |
| 539 | MaxProtocol = DTLSv1 |
| 540 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 541 | VerifyMode = Peer |
| 542 | |
| 543 | [test-13] |
| 544 | ExpectedProtocol = DTLSv1 |
| 545 | HandshakeMode = Resume |
| 546 | Method = DTLS |
| 547 | ResumptionExpected = No |
| 548 | |
| 549 | |
| 550 | # =========================================================== |
| 551 | |
| 552 | [14-resumption] |
| 553 | ssl_conf = 14-resumption-ssl |
| 554 | |
| 555 | [14-resumption-ssl] |
| 556 | server = 14-resumption-server |
| 557 | client = 14-resumption-client |
| 558 | resume-server = 14-resumption-server |
| 559 | resume-client = 14-resumption-resume-client |
| 560 | |
| 561 | [14-resumption-server] |
| 562 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 563 | CipherString = DEFAULT |
| 564 | Options = SessionTicket |
| 565 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 566 | |
| 567 | [14-resumption-client] |
| 568 | CipherString = DEFAULT |
| 569 | MaxProtocol = DTLSv1.2 |
| 570 | MinProtocol = DTLSv1.2 |
| 571 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 572 | VerifyMode = Peer |
| 573 | |
| 574 | [14-resumption-resume-client] |
| 575 | CipherString = DEFAULT |
| 576 | MaxProtocol = DTLSv1.2 |
| 577 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 578 | VerifyMode = Peer |
| 579 | |
| 580 | [test-14] |
| 581 | ExpectedProtocol = DTLSv1.2 |
| 582 | HandshakeMode = Resume |
| 583 | Method = DTLS |
| 584 | ResumptionExpected = Yes |
| 585 | |
| 586 | |
| 587 | # =========================================================== |
| 588 | |
| 589 | [15-resumption] |
| 590 | ssl_conf = 15-resumption-ssl |
| 591 | |
| 592 | [15-resumption-ssl] |
| 593 | server = 15-resumption-server |
| 594 | client = 15-resumption-client |
| 595 | resume-server = 15-resumption-server |
| 596 | resume-client = 15-resumption-resume-client |
| 597 | |
| 598 | [15-resumption-server] |
| 599 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 600 | CipherString = DEFAULT |
| 601 | Options = -SessionTicket |
| 602 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 603 | |
| 604 | [15-resumption-client] |
| 605 | CipherString = DEFAULT |
| 606 | MaxProtocol = DTLSv1.2 |
| 607 | MinProtocol = DTLSv1.2 |
| 608 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 609 | VerifyMode = Peer |
| 610 | |
| 611 | [15-resumption-resume-client] |
| 612 | CipherString = DEFAULT |
| 613 | MaxProtocol = DTLSv1.2 |
| 614 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 615 | VerifyMode = Peer |
| 616 | |
| 617 | [test-15] |
| 618 | ExpectedProtocol = DTLSv1.2 |
| 619 | HandshakeMode = Resume |
| 620 | Method = DTLS |
| 621 | ResumptionExpected = Yes |
| 622 | |
| 623 | |
| 624 | # =========================================================== |
| 625 | |
| 626 | [16-resumption-when-mfl-ext-is-missing] |
| 627 | ssl_conf = 16-resumption-when-mfl-ext-is-missing-ssl |
| 628 | |
| 629 | [16-resumption-when-mfl-ext-is-missing-ssl] |
| 630 | server = 16-resumption-when-mfl-ext-is-missing-server |
| 631 | client = 16-resumption-when-mfl-ext-is-missing-client |
| 632 | resume-server = 16-resumption-when-mfl-ext-is-missing-server |
| 633 | resume-client = 16-resumption-when-mfl-ext-is-missing-resume-client |
| 634 | |
| 635 | [16-resumption-when-mfl-ext-is-missing-server] |
| 636 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 637 | CipherString = DEFAULT |
| 638 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 639 | |
| 640 | [16-resumption-when-mfl-ext-is-missing-client] |
| 641 | CipherString = DEFAULT |
| 642 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 643 | VerifyMode = Peer |
| 644 | |
| 645 | [16-resumption-when-mfl-ext-is-missing-resume-client] |
| 646 | CipherString = DEFAULT |
| 647 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 648 | VerifyMode = Peer |
| 649 | |
| 650 | [test-16] |
| 651 | ExpectedResult = ServerFail |
| 652 | HandshakeMode = Resume |
| 653 | Method = DTLS |
| 654 | ResumptionExpected = No |
| 655 | client = 16-resumption-when-mfl-ext-is-missing-client-extra |
| 656 | |
| 657 | [16-resumption-when-mfl-ext-is-missing-client-extra] |
| 658 | MaxFragmentLenExt = 512 |
| 659 | |
| 660 | |
| 661 | # =========================================================== |
| 662 | |
| 663 | [17-resumption-when-mfl-ext-is-different] |
| 664 | ssl_conf = 17-resumption-when-mfl-ext-is-different-ssl |
| 665 | |
| 666 | [17-resumption-when-mfl-ext-is-different-ssl] |
| 667 | server = 17-resumption-when-mfl-ext-is-different-server |
| 668 | client = 17-resumption-when-mfl-ext-is-different-client |
| 669 | resume-server = 17-resumption-when-mfl-ext-is-different-server |
| 670 | resume-client = 17-resumption-when-mfl-ext-is-different-resume-client |
| 671 | |
| 672 | [17-resumption-when-mfl-ext-is-different-server] |
| 673 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 674 | CipherString = DEFAULT |
| 675 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 676 | |
| 677 | [17-resumption-when-mfl-ext-is-different-client] |
| 678 | CipherString = DEFAULT |
| 679 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 680 | VerifyMode = Peer |
| 681 | |
| 682 | [17-resumption-when-mfl-ext-is-different-resume-client] |
| 683 | CipherString = DEFAULT |
| 684 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 685 | VerifyMode = Peer |
| 686 | |
| 687 | [test-17] |
| 688 | ExpectedResult = ServerFail |
| 689 | HandshakeMode = Resume |
| 690 | Method = DTLS |
| 691 | ResumptionExpected = No |
| 692 | client = 17-resumption-when-mfl-ext-is-different-client-extra |
| 693 | resume-client = 17-resumption-when-mfl-ext-is-different-resume-client-extra |
| 694 | |
| 695 | [17-resumption-when-mfl-ext-is-different-client-extra] |
| 696 | MaxFragmentLenExt = 512 |
| 697 | |
| 698 | [17-resumption-when-mfl-ext-is-different-resume-client-extra] |
| 699 | MaxFragmentLenExt = 1024 |
| 700 | |
| 701 | |
| 702 | # =========================================================== |
| 703 | |
| 704 | [18-resumption-when-mfl-ext-is-correct] |
| 705 | ssl_conf = 18-resumption-when-mfl-ext-is-correct-ssl |
| 706 | |
| 707 | [18-resumption-when-mfl-ext-is-correct-ssl] |
| 708 | server = 18-resumption-when-mfl-ext-is-correct-server |
| 709 | client = 18-resumption-when-mfl-ext-is-correct-client |
| 710 | resume-server = 18-resumption-when-mfl-ext-is-correct-server |
| 711 | resume-client = 18-resumption-when-mfl-ext-is-correct-resume-client |
| 712 | |
| 713 | [18-resumption-when-mfl-ext-is-correct-server] |
| 714 | Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem |
| 715 | CipherString = DEFAULT |
| 716 | PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem |
| 717 | |
| 718 | [18-resumption-when-mfl-ext-is-correct-client] |
| 719 | CipherString = DEFAULT |
| 720 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 721 | VerifyMode = Peer |
| 722 | |
| 723 | [18-resumption-when-mfl-ext-is-correct-resume-client] |
| 724 | CipherString = DEFAULT |
| 725 | VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem |
| 726 | VerifyMode = Peer |
| 727 | |
| 728 | [test-18] |
| 729 | ExpectedResult = Success |
| 730 | HandshakeMode = Resume |
| 731 | Method = DTLS |
| 732 | ResumptionExpected = Yes |
| 733 | client = 18-resumption-when-mfl-ext-is-correct-client-extra |
| 734 | resume-client = 18-resumption-when-mfl-ext-is-correct-resume-client-extra |
| 735 | |
| 736 | [18-resumption-when-mfl-ext-is-correct-client-extra] |
| 737 | MaxFragmentLenExt = 512 |
| 738 | |
| 739 | [18-resumption-when-mfl-ext-is-correct-resume-client-extra] |
| 740 | MaxFragmentLenExt = 512 |
| 741 | |
| 742 | |