Hi Guys, is there a document about how to communicate SSL enabled MongoDB using self-signed client certificate ?
Have you checked the MongoDB docs on this?
Note that you can use Let’s Encrypt certificates, which are CA signed and free.
@robfallows Yes, I checked MongoDB docs, and enabled SSL on MongoDB already. I tested my NodeJS code and verified my Mongodb SSL configuration is correct.
Now I want to connect to Mongodb using a client.pem and ca.pem from my meteor app. I searched a little bit, and found out this ticket What MONGO_URL to connect to MongoDB Server with SSL?
so my question is: to connect to mongodb with SSL, what should I do on Meteor app side, is it sufficient I only do following:
How do I tell Meteor where my client.pem and ca.pem are?
Maybe. If you’re using a replica set with oplog tailing, it’s a little more complicated.
If you put these into
/etc/ssl/ (or equivalent system CA store) you should be ok.