-
Notifications
You must be signed in to change notification settings - Fork 333
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
connecting pump to mongodb running ssl #1003
Comments
do you mean ssl for the mongoDB server? by default the mongoDB Server only listen to localhost (127.0.0.1). Do you have a Database on another Server? Is
activated? |
no mongodb and pump.io are on the same server. mongodb is running on 127.0.0.1:27017 - but I've set it to only accept ssl connections. I can connect to it via terminal just fine. I can't get pump to connect - It seems to be an issue with the driver. If I'm reading this correctly the driver needs to be told to connect via ssl: http://docs.mongodb.org/master/tutorial/configure-ssl/#node-js-node-mongodb-native. |
This is what I've got in my conf file currently: dbpath=/var/lib/mongodb |
and here is my pump.io.json: { } |
I'm not sure if there's a way to tell pump.io to connect to mongodb via ssl using the param line - or if it has to be specified in the driver itself (and if that's the case how is the next question). |
Are the SSL-Certificates self-signed? With sslWeakCertificateValidation = false is the same? |
No they are valid StartSSL certs. |
I've moved this to e14n/databank-mongodb#5. |
I want to run mongodb using ssl - I've compiled and installed - mongod is running but pump.io cannot connect:
2014-03-20T23:42:52.189-0400 [initandlisten] connection accepted from 127.0.0.1:39264 #13 (2 connections now open)
2014-03-20T23:42:52.193-0400 [conn13] User Assertion: 17189:The server is configured to only allow SSL connections
2014-03-20T23:42:52.193-0400 [conn13] AssertionException handling request, closing client connection: 17189 The server is configured to only allow SSL connections
How do I tell pump.io I want it to connect to mongodb using ssl?
The text was updated successfully, but these errors were encountered: