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

Impossible to connect with ssl=true without specifying mongoc_ssl_opt_t

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.0.0
    • Component/s: None
    • None
    • Environment:
      RS with ssl enabled

      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.

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            alex.komyagin@mongodb.com Alexander Komyagin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: