dtm-labs / dtm

A distributed transaction framework, supports workflow, saga, tcc, xa, 2-phase message, outbox patterns, supports many languages.
http://d.dtm.pub
BSD 3-Clause "New" or "Revised" License
10.55k stars 986 forks source link

How to configure DTM to connect when etcd has certificate mode enabled #557

Open RAVER0306 opened 1 month ago

RAVER0306 commented 1 month ago

MicroService: Driver: 'dtm-driver-gozero' Target: 'etcd://127.0.0.1:2379/dtmservice' EndPoint: '127.0.0.1:36790'

LogLevel: "debug"

RAVER0306 commented 1 month ago

./etcd \ --name etcd-node \ --data-dir /usr/local/etcd/data \ --listen-client-urls https://0.0.0.0:2379 \ --advertise-client-urls https://127.0.0.1:2379 \ --cert-file=/usr/local/etcd/cert/server.crt \ --key-file=/usr/local/etcd/cert/server.key \ --trusted-ca-file=/usr/local/etcd/cert/ca.crt \ --client-cert-auth=true \ --auto-tls=false