-
Type: Improvement
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
How are you using Mongo? What version of the server and driver are you using?
See this Mongoose issue: https://github.com/Automattic/mongoose/issues/10705 and comments on this commit: https://github.com/mongodb/node-mongodb-native/commit/b573fe159605f0a8e3d52a330de6699534b48a90
I figured I would bring this back up because a user brought up a good point on Mongoose's GitHub (https://github.com/Automattic/mongoose/issues/10705#issuecomment-1249089350). Now that you need to pass a file path to `sslCA`, rather than the contents of a CA file, that makes things tricky for serverless functions, where some users want to specify the CA file contents as an environment variable.
What is the feature/improvement you would like?
A `sslCAContents` option or something similar. That should behave like the `sslCA` option, except treat the `sslCAContents` option as the raw contents of a CA file.