Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to Use w/ Self Signed SSL #17

Open
j01011010 opened this issue Feb 26, 2013 · 2 comments
Open

Need to Use w/ Self Signed SSL #17

j01011010 opened this issue Feb 26, 2013 · 2 comments

Comments

@j01011010
Copy link

I've been told it's impossible by a vendor who manages my MongoDB remote server, but I was wondering if it's possible to use RMongo with SSL? Thanks!

@tc
Copy link
Owner

tc commented Feb 26, 2013

hey, it is possible to setup mongodb with an SSL connection.

The feature hasn't been added to RMongo yet.

@spgolden
Copy link

Hey there, I was browsing for SSL support and noticed in the MongoDB documentation, they show that you can add the following code for optional SSL support:

MongoClientOptions o = new MongoClientOptions.Builder()
                .socketFactory(SSLSocketFactory.getDefault())
                .build();
MongoClient m = new MongoClient("localhost", o);

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

No branches or pull requests

3 participants