[01:08:01] <jeff__> Hello, I'm trying to setup MongoDB's SSL. I've compiled a MongoDB and created my self-signed certificate with a private key. However, when I start the mongoDB with the sslMode = requireSSL, sslPEMKeyFile = /etc/ssl/mongodb.pem, it shows that I need to have a CA
[01:08:30] <jeff__> However, I'm not using any validate certificate at this point, and only have a self-signed certificate.
[01:09:20] <jeff__> I read through many articles about SSL with MongoDB, but most of the use CA, and the official guideline on the mongodb website does not work
[01:10:25] <jeff__> Hope you guys can help me on this -- Question summary: Can I use self-signed certificate with MongoDB (SSL)? If so, how to configure Mongo, given I already have a SSL-version Mongo and the keys.
[09:25:52] <_NiC> I have a user that looks like this: { "_id" : ObjectId("508a86ec2e5d5e01ccbbf1ee"), "user" : "admin", "readOnly" : false, "pwd" : "passwordhash" } but I'm confused ... what privileges does this user have?
[09:29:08] <rspijker> that’s not really a valid user document then...
[09:29:21] <_NiC> rspijker, I'm setting up the mikoomi zabbix plugin, and trying to figure out what user to create for it to read the stats.. that user above is from a dev environment
[09:29:31] <rspijker> that looks like a 2.2 formatted document
[09:29:46] <rspijker> in 2.2 there was a readOnly field iirc
[09:29:46] <_NiC> could be. that environment might've been upgraded from 2.2 at some point
[09:30:01] <rspijker> in 2.4 it looks like this: http://docs.mongodb.org/v2.4/reference/method/db.addUser/
[09:30:36] <rspijker> o, there’s actually a bit htere about legacy documents
[09:30:41] <_NiC> yeah, that's how I've added my current users. I guess what I'm looking for is the role needed for a monitoring user to fetch what it needs
[11:24:21] <_NiC> When restoring a database, I get "Error creating index mycollection.users: 16548 not authorized to create index on mycollection.users
[11:24:48] <_NiC> the user has readWrite and dbAdmin in the database
[11:26:43] <_NiC> dbAdmin should provide ensureIndex() which allows it to create an index..
[13:13:29] <jatt> hi, I imported a csv file using mongoimport but when I check the collection the number of objects (got with .count()) is different than the number of rows in the file. what could be the reason of this?
[13:14:49] <jatt> I'm using mongodb version v2.4.9.
[14:15:56] <_NiC> MathiasM, I count 371 nicknames, so I'd say... yes.
[14:36:50] <jeff__> Hello, I'm trying to setup MongoDB's SSL. I've compiled a MongoDB and created my self-signed certificate with a private key. However, when I start the mongoDB with the sslMode = requireSSL, sslPEMKeyFile = /etc/ssl/mongodb.pem, it shows that I need to have a CA. However, I'm not using any validate certificate at this point, and only have a self-signed certificate. Hope you guys can help me on this -- Question summary: Can I use self-signed
[14:36:51] <jeff__> certificate with MongoDB (SSL)? If so, how to configure Mongo, given I already have a SSL-version Mongo and the keys.
[14:37:14] <jeff__> (I asked this question yesterday but I leave the chat room…. not sure if someone answered that already. Thanks.)
[14:42:23] <rspijker> jeff__: hmmm, according to the docs it should be fine if you just don’t specify the CA file
[14:43:28] <jeff__> No SSL certificate validation can be performed since no CA file has been provided; please specify an sslCAFile parameter
[14:43:57] <jeff__> this is the warning msg if I don’t have a CA file
[14:44:12] <jeff__> Although it’s only a warning msg, mongodb does not start.
[14:46:19] <rspijker> which version of mongodb is this jeff__ ?
[14:46:43] <jeff__> db version v2.6.3 (sorry, I should mention this earilier)
[14:53:37] <includex> hi guys, what's de difference between mongodb-10gen and mongodb-org packages? (can I read it somewhere?)
[21:22:10] <BigOrangeSU> Had a quick question about mongo oplog, I wanted to know the recommended practice for iterating through collections then ETL'ing to a different system, then tailing the oplog. How can I ensure that while I am doing the first import of the collections, then I start tailing the oplog, I don't process duplicate data?