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

Verify server certificates by default when ssl=true.

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

      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 Emily Stolfo
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: