Impossible to connect with ssl=true without specifying mongoc_ssl_opt_t

XMLWordPrintableJSON

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

      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
              Reporter:
              Alexander Komyagin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: