从DataGrip连接到CockroachDB

3

尝试使用DataGrip连接CockroachDB的Postgres连接时出现以下错误:

[08006] 无法实例化提供的SSLSocketFactory类com.intellij.execution.rmi.ssl.SslSocketFactory。签名超限,字节=919。

DataGrip连接界面提示:

URL:

jdbc:postgresql://localhost:26257/postgres

带有端口26257且启用SSL

CA文件

/cert/ca.key

客户端证书文件:

/certs/client.root.crt

客户端密钥文件:

/client.root.key

这个设置在DataGrip中不起作用,但是相同的证书可以在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

数据锤配置可能存在哪些问题?

你能在DataGrip问题跟踪器中提交一个问题,并附上完整的IDE日志吗? - Vasilii Chernov
1个回答

1

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接