tulip / oplogtoredis

Publish MongoDB oplog entries to Redis
Apache License 2.0
38 stars 9 forks source link

Specifying SSL/TLS certificates for MongoDB Encrypted connections #33

Open vlasky opened 3 years ago

vlasky commented 3 years ago

Hello,

I have requireTLS enabled in /etc/mongo.cnf. Does oplogtoredis support a method for specifying the SSL/TLS certificate files needed to connect to my MongoDB instance?

vlasky commented 3 years ago

I'm not a Go programmer, but I've looked the current code. It appears that specifying SSL certificate files is not currently supported, but it can be easily added based on this code snippet I found:

https://gist.github.com/kevinadi/e33913f89def391e6a2c6a9d41cc0d66