This issue can't be edited

Because it belongs to an archived project. Jira admins can restore projects from the archive.

It's not possible to set a SocketFactory for the MongoClient

Description

We should provide the user a way to set properties that are not primitives to the MongoDBClient.

An example in the documentation would be nice.

Environment

None

Attachments

1

relates to

Activity

Show:

Emmanuel BernardFebruary 8, 2016 at 12:42 PM

As for the why

Our application needs to communicate with MongoDB over SSL. We're planning on deploying in Docker containers and I want our images to be non-environment specific so would like the ability to provide a reference to the SSL certificates when the container is started and for the application to programmatically retrieve the certificates and install them in a trust store. In order to use these certificates for connecting to MongoDB we'd need to use an instance of an SSLSocketFactory which used this specific trust store rather than the default one.

Details

Assignee

Reporter

Participants

Davide D'Alto
Emmanuel Bernard

Components

Fix versions

Priority

Created January 27, 2016 at 10:26 AM
Updated September 6, 2017 at 10:41 AM