You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`poolSize`| {Number, default: 5} | Number of connections in the connection pool for each server instance, set to 5 as default for legacy reasons. |
183
183
|`ssl`| {Boolean, default: false} | Use ssl connection (needs to have a mongod server with ssl support). |
184
184
|`sslValidate`| {Boolean, default: true} | Validate mongod server certificate against ca (needs to have a mongod server with ssl support, 2.4 or higher). |
185
-
| `checkServerIdentity` | {Boolean
186
-
\|Function, default: true} | Ensure we check server identify during SSL, set to false to disable checking. Only works for Node 0.12.x or higher. You can pass in a boolean or your own checkServerIdentity override function. |
185
+
|`checkServerIdentity`| {Boolean\|Function, default: true} | Ensure we check server identify during SSL, set to false to disable checking. Only works for Node 0.12.x or higher. You can pass in a boolean or your own checkServerIdentity override function. |
187
186
|`sslCA`| {Buffer[]\|string[], default: null} | Array of valid certificates either as Buffers or Strings (needs to have a mongod server with ssl support, 2.4 or higher). |
188
187
|`sslCert`| {Buffer\|string, default: null} | String or buffer containing the certificate we wish to present (needs to have a mongod server with ssl support, 2.4 or higher). |
189
188
|`sslKey`| {Buffer\|string, default: null} | String or buffer containing the certificate private key we wish to present (needs to have a mongod server with ssl support, 2.4 or higher). |
|`poolSize`| {Number, default: 5} | Number of connections in the connection pool for each server instance, set to 5 as default for legacy reasons. |
226
225
|`ssl`| {Boolean, default: false} | Use ssl connection (needs to have a mongod server with ssl support). |
227
226
|`sslValidate`| {Boolean, default: true} | Validate mongod server certificate against ca (needs to have a mongod server with ssl support, 2.4 or higher). |
228
-
| `checkServerIdentity` | {Boolean
229
-
\|Function, default: true} | Ensure we check server identify during SSL, set to false to disable checking. Only works for Node 0.12.x or higher. You can pass in a boolean or your own checkServerIdentity override function. |
227
+
|`checkServerIdentity`| {Boolean\|Function, default: true} | Ensure we check server identify during SSL, set to false to disable checking. Only works for Node 0.12.x or higher. You can pass in a boolean or your own checkServerIdentity override function. |
230
228
|`sslCA`| {Buffer[]\|string[], default: null} | Array of valid certificates either as Buffers or Strings (needs to have a mongod server with ssl support, 2.4 or higher). |
231
229
|`sslCert`| {Buffer\|string, default: null} | String or buffer containing the certificate we wish to present (needs to have a mongod server with ssl support, 2.4 or higher). |
232
230
|`sslKey`| {Buffer\|string, default: null} | String or buffer containing the certificate private key we wish to present (needs to have a mongod server with ssl support, 2.4 or higher). |
|`poolSize`| {Number, default: 5} | Number of connections in the connection pool for each server instance, set to 5 as default for legacy reasons. |
266
264
|`ssl`| {Boolean, default: false} | Use ssl connection (needs to have a mongod server with ssl support). |
267
265
|`sslValidate`| {Boolean, default: true} | Validate mongod server certificate against ca (needs to have a mongod server with ssl support, 2.4 or higher). |
268
-
| `checkServerIdentity` | {Boolean
269
-
\|Function, default: true} | Ensure we check server identify during SSL, set to false to disable checking. Only works for Node 0.12.x or higher. You can pass in a boolean or your own checkServerIdentity override function. |
266
+
|`checkServerIdentity`| {Boolean\|Function, default: true} | Ensure we check server identify during SSL, set to false to disable checking. Only works for Node 0.12.x or higher. You can pass in a boolean or your own checkServerIdentity override function. |
270
267
|`sslCA`| {Buffer[]\|string[], default: null} | Array of valid certificates either as Buffers or Strings (needs to have a mongod server with ssl support, 2.4 or higher). |
271
268
|`sslCert`| {Buffer\|string, default: null} | String or buffer containing the certificate we wish to present (needs to have a mongod server with ssl support, 2.4 or higher). |
272
269
|`sslKey`| {Buffer\|string, default: null} | String or buffer containing the certificate private key we wish to present (needs to have a mongod server with ssl support, 2.4 or higher). |
0 commit comments