Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1766

Typo in tlsAllowInvalidCertificates and tlsAllowInvalidHostnames

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.7.2, 2.8.0, 2.9.0.rc0
    • Affects Version/s: None
    • Component/s: None
    • None

      https://docs.mongodb.com/ruby-driver/master/tutorials/ruby-driver-create-client/#uri-options-conversions says:

      > Because tlsAllowInvalidCertificates uses true to signify that verification should be disabled and ssl_verify_certificate uses false to signify that verification should be disabled, the boolean is inverted before being used to set ssl_verify_certificate.

      One of the "disabled" should be "enabled".

      tlsAllowInvalidHostnames has the same issue.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: