Skip to content

Possible to pass options to db connection - allowing for ssl support in replicaSet#70

Open
EmentoDev wants to merge 17 commits intoafloyd:masterfrom
EmentoDev:master
Open

Possible to pass options to db connection - allowing for ssl support in replicaSet#70
EmentoDev wants to merge 17 commits intoafloyd:masterfrom
EmentoDev:master

Conversation

@EmentoDev
Copy link

Example configfile:

{
connectionString: "",
options = {
ssl: true,
sslCA: ca,
sslCert: certKey,
sslKey: certKey,
};
}

Options will be parsed to Mongo.connection(url, options, cb)

EmentoDev added 3 commits February 14, 2018 13:15
…ort with replicaSet

{
    connectionString: "",
    options = {
                ssl: true,
                sslCA: ca,
                sslCert: certKey,
                sslKey: certKey,
            };
}
now possible to pass options to db connection - allowing for ssl support with replicaSet
Copy link

@nbcraft nbcraft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In need of this as well to up the timeouts with connectTimeoutMS and socketTimeoutMS.
Code looks good imho.

@nbcraft
Copy link

nbcraft commented May 6, 2020

Should not merge now with those package.json changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants