alibaba / MongoShake

MongoShake is a universal data replication platform based on MongoDB's oplog. Redundant replication and active-active replication are two most important functions. 基于mongodb oplog的集群复制工具,可以满足迁移和同步的需求,进一步实现灾备和多活功能。
GNU General Public License v3.0
1.72k stars 441 forks source link

SSL connection using tlsInsecure #817

Open sannithisubbarao opened 1 year ago

sannithisubbarao commented 1 year ago

Hi, We are using below connection string to migrate ssl clusters. However, process getting stopped. Can someone guide me on this? Thanks in advance.

mongodb://Username>:XXXX@<Hostnames:27017/admin?authMechanism=DEFAULT&tls=true&tlsInsecure=true&replicaSet=&authSource=admin"

zhangst commented 1 year ago

to enable in shake, you need to configuration parameter mongo_ssl_root_ca_file = /root/mongo-shake-v2.8.1/ssl.pem,which is certificate file.

If you still encounter problems, please refer to https://github.com/alibaba/MongoShake/issues/700 to supplement relevant information.