Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Database
Created by Guest
Created on Dec 12, 2022

Make consistent use of system-wide CA certificate store

Please make the use of system-wide CA certificate store the same in all tool/commands. - If ```tls.CAFile``` is not specified in ```mongod/mongos``` configuration then the system-wide CA certificate store will be used. - If ```--sslCAFile``` is not specified in ```mongoimport/mongoexport``` tool then the system-wide CA certificate store will be used - but this behavior is not documented. - For ```mongosh``` you have to specify option ```--tlsUseSystemCA``` is you like to use the system-wide CA certificate store. I did not check how it is/was working in legacy ```mongo``` shell. - For command ```Mongo()``` (https://www.mongodb.com/docs/v6.0/reference/method/Mongo/), I was not able to find out, how to use the system-wide CA certificate store - If you add ```tlsUseSystemCA=true``` to connection string URI, then you get an error So, there are several ways for doing that. There should be a consistent way across all tools
  • Attach files
  • Guest
    Jan 31, 2025
    this is my store