Forum Discussion

JoshuaOD's avatar
JoshuaOD
Regular Visitor
2 years ago
Solved

DirectQuery with PostgreSQL Connector Failing Due to Certificate Validation Error

I'm working with a PostgreSQL database to import data into Power BI. Currently, I'm using an ODBC connector which defaults to importing entire datasets from the database. However, for my current project, I need to use the DirectQuery option.

When attempting to use the PostgreSQL connector provided by Power BI, I consistently encounter the following error:

 

Error Details:
"An error happened while reading data from the provider: 'The remote certificate is invalid according to the validation procedure.'"

I have attached screenshots showing the error message and the ODBC configuration I am using.

 

Does anyone have any suggestions on how to resolve this issue? My goal is to use DirectQuery with PostgreSQL instead of relying on ODBC connectors which default to Import Mode.

 

Default ODBCFailing Postgres Connector

 

Thank you in advance for your help!

1 Reply