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

Windows CA stores should be opened with read-only flag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2
    • Component/s: libmongoc
    • Labels:
      None
    • Environment:
      OpenSSL on Windows

      Description

      In the absence of a ca_file or ca_dir, libmongoc falls back to loading the system CA store on Windows via _mongoc_openssl_import_cert_stores(). This should incorporate CERT_STORE_READONLY_FLAG in case the current user does not have full access to the store.

      Hannes Magnusson already has a patch for this in mongodb/mongo-php-library#313, which also improves error reporting should the CA store still fail to open properly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bjori Hannes Magnusson
              Reporter:
              jmikola Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: