Verify server certificates by default when ssl=true.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      The Ruby driver appears to only verify the server's certificate if ssl_verify is true.

      https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/socket/ssl.rb#L111-L114

      This enhancement request is to make certificate verification the default if only ssl=true is passed. This includes both verifying the server's cert against the system CA bundle, as well as doing RFC 2818/6125 hostname matching.

            Assignee:
            Emily Stolfo (Inactive)
            Reporter:
            Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: