Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-467

Impossible to connect with ssl=true without specifying mongoc_ssl_opt_t

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      RS with ssl enabled
    • Sprint:
      Platform 00 2/20/15

      Description

      It is really frustrating that I can't get SSL to work "out-of-the-box", because it is required to explicitly specify:

          mongoc_ssl_opt_t opts = *mongoc_ssl_opt_get_default();
          opts.weak_cert_validation = true;

      And set those on the client:

      mongoc_client_set_ssl_opts(client, &opts);

      It should be changed/documented and meaningful error should be reported if something is wrong.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jason.carey Jason Carey
              Reporter:
              alex.komyagin Alexander Komyagin
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: