I don't know why I need to provide CA certificate and account/password to CockroachDB when I access via SSH, but Python only need account/password no need CA certificate? Why is that?
Python APP and CockroachDB are on different LINUX machine.
DB version: CockroachDB CCL v21.2.14 (x86_64-unknown-linux-gnu)
python version: 3.9.13
python package: sqlalchemy-cockroachdb==1.4.4
I have been searching for a day, but could not find the answer
Which parameters are you using with cockroach start
?
Here are instructions for starting a secure cluster
https://www.cockroachlabs.com/docs/v21.2/secure-a-cluster
and an insecure cluster
https://www.cockroachlabs.com/docs/v21.2/start-a-local-cluster
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.