Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODBC: ERROR [HY000] Certificate validation error: Failed to verify certificate chain: CA not trusted #443

Open
kleinmantara opened this issue Jun 19, 2024 · 5 comments

Comments

@kleinmantara
Copy link

kleinmantara commented Jun 19, 2024

Hello, I have the following error on a Power BI Gateway:

ODBC: ERROR [HY000] Certificate validation error: Failed to verify certificate chain: CA not trusted

We installed the both drivers:

The PowerBI Gateway ist connected to the Power BI Web. The Status is online.
image

The Clickhouse driver is added as "User-configured data connectors" and is also displayed as a connection type in Power BI Web. When I then try to add a new "Connection" in Power BI Web, I get the same error message as above:

image

Details: ClickhousePowerBI_Gateway1: ODBC: ERROR [HY000] Certificate validation error: Failed to verify certificate chain: CA not trusted

image

I have already added the same in the issue SSL error in the Repo power-bi-clickhouse. But I think this is the better place

@carelesssava
Copy link

+1, any updates on this issue?

@kleinmantara
Copy link
Author

@carelesssava Unfortunately, no. It might not be the 'actual' error message but rather the result of a previous error.

@carelesssava
Copy link

I solved this problem by installing the cloud certificates in 2 places at once on Windows local machine with Power BI:

  • Trusted Root Certification Authorities
  • Intermediate Certification Authorities

Environment:
I'm not using a Power BI Gateway like you, instead I'm editing the dashboard and using the "Publish" button.

I'm using a cloud platform for ClickHouse deploying (Managed Service), this cloud platform provides certificates for connection to its Managed Services.

@kleinmantara
Copy link
Author

Hello @carelesssava , that sounds interesting, thanks for the feedback. Which certificates (and from where) did you take exactly?

@carelesssava
Copy link

Hello @carelesssava , that sounds interesting, thanks for the feedback. Which certificates (and from where) did you take exactly?

Hello! I'm using Managed service for ClickHouse in the Yandex Cloud environment. According to the Yandex Cloud documentation, it is required to have special certificates installed to connect to the cluster.

Resource - https://yandex.cloud/en/docs/managed-clickhouse/operations/connect/#get-ssl-cert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants