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

Windows CA stores should be opened with read-only flag

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.5.2
    • Affects Version/s: 1.5.1
    • Component/s: libmongoc
    • None
    • Environment:
      OpenSSL on Windows

      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.

      bjori 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.

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

              Created:
              Updated:
              Resolved: