|
238 | 238 | "options": {}
|
239 | 239 | },
|
240 | 240 | {
|
241 |
| - "description": "tlsDisableOCSPEndpointCheck defaults to false", |
242 |
| - "uri": "mongodb://example.com/?tls=true", |
| 241 | + "description": "tlsDisableCertificateRevocationCheck can be set to true", |
| 242 | + "uri": "mongodb://example.com/?tls=true&tlsDisableCertificateRevocationCheck=true", |
243 | 243 | "valid": true,
|
244 | 244 | "warning": false,
|
245 | 245 | "hosts": null,
|
246 | 246 | "auth": null,
|
247 | 247 | "options": {
|
248 | 248 | "tls": true,
|
249 |
| - "tlsDisableOCSPEndpointCheck": false |
| 249 | + "tlsDisableCertificateRevocationCheck": true |
250 | 250 | }
|
251 | 251 | },
|
| 252 | + { |
| 253 | + "description": "tlsDisableCertificateRevocationCheck can be set to false", |
| 254 | + "uri": "mongodb://example.com/?tls=true&tlsDisableCertificateRevocationCheck=false", |
| 255 | + "valid": true, |
| 256 | + "warning": false, |
| 257 | + "hosts": null, |
| 258 | + "auth": null, |
| 259 | + "options": { |
| 260 | + "tls": true, |
| 261 | + "tlsDisableCertificateRevocationCheck": false |
| 262 | + } |
| 263 | + }, |
| 264 | + { |
| 265 | + "description": "tlsAllowInvalidCertificates and tlsDisableCertificateRevocationCheck both present (and true) raises an error", |
| 266 | + "uri": "mongodb://example.com/?tlsAllowInvalidCertificates=true&tlsDisableCertificateRevocationCheck=true", |
| 267 | + "valid": false, |
| 268 | + "warning": false, |
| 269 | + "hosts": null, |
| 270 | + "auth": null, |
| 271 | + "options": {} |
| 272 | + }, |
| 273 | + { |
| 274 | + "description": "tlsAllowInvalidCertificates=true and tlsDisableCertificateRevocationCheck=false raises an error", |
| 275 | + "uri": "mongodb://example.com/?tlsAllowInvalidCertificates=true&tlsDisableCertificateRevocationCheck=false", |
| 276 | + "valid": false, |
| 277 | + "warning": false, |
| 278 | + "hosts": null, |
| 279 | + "auth": null, |
| 280 | + "options": {} |
| 281 | + }, |
| 282 | + { |
| 283 | + "description": "tlsAllowInvalidCertificates=false and tlsDisableCertificateRevocationCheck=true raises an error", |
| 284 | + "uri": "mongodb://example.com/?tlsAllowInvalidCertificates=false&tlsDisableCertificateRevocationCheck=true", |
| 285 | + "valid": false, |
| 286 | + "warning": false, |
| 287 | + "hosts": null, |
| 288 | + "auth": null, |
| 289 | + "options": {} |
| 290 | + }, |
| 291 | + { |
| 292 | + "description": "tlsAllowInvalidCertificates and tlsDisableCertificateRevocationCheck both present (and false) raises an error", |
| 293 | + "uri": "mongodb://example.com/?tlsAllowInvalidCertificates=false&tlsDisableCertificateRevocationCheck=false", |
| 294 | + "valid": false, |
| 295 | + "warning": false, |
| 296 | + "hosts": null, |
| 297 | + "auth": null, |
| 298 | + "options": {} |
| 299 | + }, |
| 300 | + { |
| 301 | + "description": "tlsDisableCertificateRevocationCheck and tlsAllowInvalidCertificates both present (and true) raises an error", |
| 302 | + "uri": "mongodb://example.com/?tlsDisableCertificateRevocationCheck=true&tlsAllowInvalidCertificates=true", |
| 303 | + "valid": false, |
| 304 | + "warning": false, |
| 305 | + "hosts": null, |
| 306 | + "auth": null, |
| 307 | + "options": {} |
| 308 | + }, |
| 309 | + { |
| 310 | + "description": "tlsDisableCertificateRevocationCheck=true and tlsAllowInvalidCertificates=false raises an error", |
| 311 | + "uri": "mongodb://example.com/?tlsDisableCertificateRevocationCheck=true&tlsAllowInvalidCertificates=false", |
| 312 | + "valid": false, |
| 313 | + "warning": false, |
| 314 | + "hosts": null, |
| 315 | + "auth": null, |
| 316 | + "options": {} |
| 317 | + }, |
| 318 | + { |
| 319 | + "description": "tlsDisableCertificateRevocationCheck=false and tlsAllowInvalidCertificates=true raises an error", |
| 320 | + "uri": "mongodb://example.com/?tlsDisableCertificateRevocationCheck=false&tlsAllowInvalidCertificates=true", |
| 321 | + "valid": false, |
| 322 | + "warning": false, |
| 323 | + "hosts": null, |
| 324 | + "auth": null, |
| 325 | + "options": {} |
| 326 | + }, |
| 327 | + { |
| 328 | + "description": "tlsDisableCertificateRevocationCheck and tlsAllowInvalidCertificates both present (and false) raises an error", |
| 329 | + "uri": "mongodb://example.com/?tlsDisableCertificateRevocationCheck=false&tlsAllowInvalidCertificates=false", |
| 330 | + "valid": false, |
| 331 | + "warning": false, |
| 332 | + "hosts": null, |
| 333 | + "auth": null, |
| 334 | + "options": {} |
| 335 | + }, |
| 336 | + { |
| 337 | + "description": "tlsInsecure and tlsDisableCertificateRevocationCheck both present (and true) raises an error", |
| 338 | + "uri": "mongodb://example.com/?tlsInsecure=true&tlsDisableCertificateRevocationCheck=true", |
| 339 | + "valid": false, |
| 340 | + "warning": false, |
| 341 | + "hosts": null, |
| 342 | + "auth": null, |
| 343 | + "options": {} |
| 344 | + }, |
| 345 | + { |
| 346 | + "description": "tlsInsecure=true and tlsDisableCertificateRevocationCheck=false raises an error", |
| 347 | + "uri": "mongodb://example.com/?tlsInsecure=true&tlsDisableCertificateRevocationCheck=false", |
| 348 | + "valid": false, |
| 349 | + "warning": false, |
| 350 | + "hosts": null, |
| 351 | + "auth": null, |
| 352 | + "options": {} |
| 353 | + }, |
| 354 | + { |
| 355 | + "description": "tlsInsecure=false and tlsDisableCertificateRevocationCheck=true raises an error", |
| 356 | + "uri": "mongodb://example.com/?tlsInsecure=false&tlsDisableCertificateRevocationCheck=true", |
| 357 | + "valid": false, |
| 358 | + "warning": false, |
| 359 | + "hosts": null, |
| 360 | + "auth": null, |
| 361 | + "options": {} |
| 362 | + }, |
| 363 | + { |
| 364 | + "description": "tlsInsecure and tlsDisableCertificateRevocationCheck both present (and false) raises an error", |
| 365 | + "uri": "mongodb://example.com/?tlsInsecure=false&tlsDisableCertificateRevocationCheck=false", |
| 366 | + "valid": false, |
| 367 | + "warning": false, |
| 368 | + "hosts": null, |
| 369 | + "auth": null, |
| 370 | + "options": {} |
| 371 | + }, |
| 372 | + { |
| 373 | + "description": "tlsDisableCertificateRevocationCheck and tlsInsecure both present (and true) raises an error", |
| 374 | + "uri": "mongodb://example.com/?tlsDisableCertificateRevocationCheck=true&tlsInsecure=true", |
| 375 | + "valid": false, |
| 376 | + "warning": false, |
| 377 | + "hosts": null, |
| 378 | + "auth": null, |
| 379 | + "options": {} |
| 380 | + }, |
| 381 | + { |
| 382 | + "description": "tlsDisableCertificateRevocationCheck=true and tlsInsecure=false raises an error", |
| 383 | + "uri": "mongodb://example.com/?tlsDisableCertificateRevocationCheck=true&tlsInsecure=false", |
| 384 | + "valid": false, |
| 385 | + "warning": false, |
| 386 | + "hosts": null, |
| 387 | + "auth": null, |
| 388 | + "options": {} |
| 389 | + }, |
| 390 | + { |
| 391 | + "description": "tlsDisableCertificateRevocationCheck=false and tlsInsecure=true raises an error", |
| 392 | + "uri": "mongodb://example.com/?tlsDisableCertificateRevocationCheck=false&tlsInsecure=true", |
| 393 | + "valid": false, |
| 394 | + "warning": false, |
| 395 | + "hosts": null, |
| 396 | + "auth": null, |
| 397 | + "options": {} |
| 398 | + }, |
| 399 | + { |
| 400 | + "description": "tlsDisableCertificateRevocationCheck and tlsInsecure both present (and false) raises an error", |
| 401 | + "uri": "mongodb://example.com/?tlsDisableCertificateRevocationCheck=false&tlsInsecure=false", |
| 402 | + "valid": false, |
| 403 | + "warning": false, |
| 404 | + "hosts": null, |
| 405 | + "auth": null, |
| 406 | + "options": {} |
| 407 | + }, |
| 408 | + { |
| 409 | + "description": "tlsDisableCertificateRevocationCheck and tlsDisableOCSPEndpointCheck both present (and true) raises an error", |
| 410 | + "uri": "mongodb://example.com/?tlsDisableCertificateRevocationCheck=true&tlsDisableOCSPEndpointCheck=true", |
| 411 | + "valid": false, |
| 412 | + "warning": false, |
| 413 | + "hosts": null, |
| 414 | + "auth": null, |
| 415 | + "options": {} |
| 416 | + }, |
| 417 | + { |
| 418 | + "description": "tlsDisableCertificateRevocationCheck=true and tlsDisableOCSPEndpointCheck=false raises an error", |
| 419 | + "uri": "mongodb://example.com/?tlsDisableCertificateRevocationCheck=true&tlsDisableOCSPEndpointCheck=false", |
| 420 | + "valid": false, |
| 421 | + "warning": false, |
| 422 | + "hosts": null, |
| 423 | + "auth": null, |
| 424 | + "options": {} |
| 425 | + }, |
| 426 | + { |
| 427 | + "description": "tlsDisableCertificateRevocationCheck=false and tlsDisableOCSPEndpointCheck=true raises an error", |
| 428 | + "uri": "mongodb://example.com/?tlsDisableCertificateRevocationCheck=false&tlsDisableOCSPEndpointCheck=true", |
| 429 | + "valid": false, |
| 430 | + "warning": false, |
| 431 | + "hosts": null, |
| 432 | + "auth": null, |
| 433 | + "options": {} |
| 434 | + }, |
| 435 | + { |
| 436 | + "description": "tlsDisableCertificateRevocationCheck and tlsDisableOCSPEndpointCheck both present (and false) raises an error", |
| 437 | + "uri": "mongodb://example.com/?tlsDisableCertificateRevocationCheck=false&tlsDisableOCSPEndpointCheck=false", |
| 438 | + "valid": false, |
| 439 | + "warning": false, |
| 440 | + "hosts": null, |
| 441 | + "auth": null, |
| 442 | + "options": {} |
| 443 | + }, |
| 444 | + { |
| 445 | + "description": "tlsDisableOCSPEndpointCheck and tlsDisableCertificateRevocationCheck both present (and true) raises an error", |
| 446 | + "uri": "mongodb://example.com/?tlsDisableOCSPEndpointCheck=true&tlsDisableCertificateRevocationCheck=true", |
| 447 | + "valid": false, |
| 448 | + "warning": false, |
| 449 | + "hosts": null, |
| 450 | + "auth": null, |
| 451 | + "options": {} |
| 452 | + }, |
| 453 | + { |
| 454 | + "description": "tlsDisableOCSPEndpointCheck=true and tlsDisableCertificateRevocationCheck=false raises an error", |
| 455 | + "uri": "mongodb://example.com/?tlsDisableOCSPEndpointCheck=true&tlsDisableCertificateRevocationCheck=false", |
| 456 | + "valid": false, |
| 457 | + "warning": false, |
| 458 | + "hosts": null, |
| 459 | + "auth": null, |
| 460 | + "options": {} |
| 461 | + }, |
| 462 | + { |
| 463 | + "description": "tlsDisableOCSPEndpointCheck=false and tlsDisableCertificateRevocationCheck=true raises an error", |
| 464 | + "uri": "mongodb://example.com/?tlsDisableOCSPEndpointCheck=false&tlsDisableCertificateRevocationCheck=true", |
| 465 | + "valid": false, |
| 466 | + "warning": false, |
| 467 | + "hosts": null, |
| 468 | + "auth": null, |
| 469 | + "options": {} |
| 470 | + }, |
| 471 | + { |
| 472 | + "description": "tlsDisableOCSPEndpointCheck and tlsDisableCertificateRevocationCheck both present (and false) raises an error", |
| 473 | + "uri": "mongodb://example.com/?tlsDisableOCSPEndpointCheck=false&tlsDisableCertificateRevocationCheck=false", |
| 474 | + "valid": false, |
| 475 | + "warning": false, |
| 476 | + "hosts": null, |
| 477 | + "auth": null, |
| 478 | + "options": {} |
| 479 | + }, |
252 | 480 | {
|
253 | 481 | "description": "tlsDisableOCSPEndpointCheck can be set to true",
|
254 | 482 | "uri": "mongodb://example.com/?tls=true&tlsDisableOCSPEndpointCheck=true",
|
|
344 | 572 | "hosts": null,
|
345 | 573 | "auth": null,
|
346 | 574 | "options": {}
|
| 575 | + }, |
| 576 | + { |
| 577 | + "description": "tlsAllowInvalidCertificates and tlsDisableOCSPEndpointCheck both present (and true) raises an error", |
| 578 | + "uri": "mongodb://example.com/?tlsAllowInvalidCertificates=true&tlsDisableOCSPEndpointCheck=true", |
| 579 | + "valid": false, |
| 580 | + "warning": false, |
| 581 | + "hosts": null, |
| 582 | + "auth": null, |
| 583 | + "options": {} |
| 584 | + }, |
| 585 | + { |
| 586 | + "description": "tlsAllowInvalidCertificates=true and tlsDisableOCSPEndpointCheck=false raises an error", |
| 587 | + "uri": "mongodb://example.com/?tlsAllowInvalidCertificates=true&tlsDisableOCSPEndpointCheck=false", |
| 588 | + "valid": false, |
| 589 | + "warning": false, |
| 590 | + "hosts": null, |
| 591 | + "auth": null, |
| 592 | + "options": {} |
| 593 | + }, |
| 594 | + { |
| 595 | + "description": "tlsAllowInvalidCertificates=false and tlsDisableOCSPEndpointCheck=true raises an error", |
| 596 | + "uri": "mongodb://example.com/?tlsAllowInvalidCertificates=false&tlsDisableOCSPEndpointCheck=true", |
| 597 | + "valid": false, |
| 598 | + "warning": false, |
| 599 | + "hosts": null, |
| 600 | + "auth": null, |
| 601 | + "options": {} |
| 602 | + }, |
| 603 | + { |
| 604 | + "description": "tlsAllowInvalidCertificates and tlsDisableOCSPEndpointCheck both present (and false) raises an error", |
| 605 | + "uri": "mongodb://example.com/?tlsAllowInvalidCertificates=false&tlsDisableOCSPEndpointCheck=false", |
| 606 | + "valid": false, |
| 607 | + "warning": false, |
| 608 | + "hosts": null, |
| 609 | + "auth": null, |
| 610 | + "options": {} |
| 611 | + }, |
| 612 | + { |
| 613 | + "description": "tlsDisableOCSPEndpointCheck and tlsAllowInvalidCertificates both present (and true) raises an error", |
| 614 | + "uri": "mongodb://example.com/?tlsDisableOCSPEndpointCheck=true&tlsAllowInvalidCertificates=true", |
| 615 | + "valid": false, |
| 616 | + "warning": false, |
| 617 | + "hosts": null, |
| 618 | + "auth": null, |
| 619 | + "options": {} |
| 620 | + }, |
| 621 | + { |
| 622 | + "description": "tlsDisableOCSPEndpointCheck=true and tlsAllowInvalidCertificates=false raises an error", |
| 623 | + "uri": "mongodb://example.com/?tlsDisableOCSPEndpointCheck=true&tlsAllowInvalidCertificates=false", |
| 624 | + "valid": false, |
| 625 | + "warning": false, |
| 626 | + "hosts": null, |
| 627 | + "auth": null, |
| 628 | + "options": {} |
| 629 | + }, |
| 630 | + { |
| 631 | + "description": "tlsDisableOCSPEndpointCheck=false and tlsAllowInvalidCertificates=true raises an error", |
| 632 | + "uri": "mongodb://example.com/?tlsDisableOCSPEndpointCheck=false&tlsAllowInvalidCertificates=true", |
| 633 | + "valid": false, |
| 634 | + "warning": false, |
| 635 | + "hosts": null, |
| 636 | + "auth": null, |
| 637 | + "options": {} |
| 638 | + }, |
| 639 | + { |
| 640 | + "description": "tlsDisableOCSPEndpointCheck and tlsAllowInvalidCertificates both present (and false) raises an error", |
| 641 | + "uri": "mongodb://example.com/?tlsDisableOCSPEndpointCheck=false&tlsAllowInvalidCertificates=false", |
| 642 | + "valid": false, |
| 643 | + "warning": false, |
| 644 | + "hosts": null, |
| 645 | + "auth": null, |
| 646 | + "options": {} |
347 | 647 | }
|
348 | 648 | ]
|
349 | 649 | }
|
0 commit comments