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

Windows CA stores should be opened with read-only flag

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • 1.5.1
    • 1.5.2
    • libmongoc
    • None
    • 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.

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: