stripe-archive / mosql

MongoDB → PostgreSQL streaming replication
MIT License
1.62k stars 224 forks source link

Allow mongodb ssl connections by adding missing parameters for cert, … #105

Open taxilian opened 9 years ago

taxilian commented 9 years ago

As the project is, SSL connections were not fully supported. Most people who don't use ssl connections to mongodb servers think all you need is to set the ssl parameter in the connection string, but if you follow the best practices you need to provide your own SSL client certificates for connecting to the servers as well.

This PR adds three command line arguments which resolve this issue:

I have tested this code and it works to connect to our replicaset over SSL

CLAassistant commented 4 years ago

CLA assistant check
All committers have signed the CLA.