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

Impossible to connect with ssl=true without specifying mongoc_ssl_opt_t

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 1.0.0
    • None
    • None
    • RS with ssl enabled

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: