Connecting to CockroachDB from DataGrip

Viewed 331

Trying to make Postgres connection to CockroachDB with DataGrip but getting this error:

[08006] The SSLSocketFactory class provided com.intellij.execution.rmi.ssl.SslSocketFactory could not be instantiated. signed overrun, bytes = 919.

From the DataGrip connection interface:

URL:

jdbc:postgresql://localhost:26257/postgres

with port 26257 and with SSL enable

CA File

/cert/ca.key

Client Certificate File:

/certs/client.root.crt

Client key file:

/client.root.key

This setup above doesn't work with DataGrip, but the same certs works with the CLI:

cockroach cert create-client root --certs-dir=certs --ca-key=/ca.key

cockroach start --certs-dir=certs --store=node1 --listen-addr=localhost:26257 --http-addr=localhost:8080 --join=localhost:26257,localhost:26258,localhost:26259 --background

What could be wrong with the DataGrip configuration?

1 Answers
Related