Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Lena85
Helper I
Helper I

Connecting Power BI to PostreSQL managed by Heroku - certificate issue P7B

Hello,

 

I need to build a direct query connection to PostreSQL db managed by Heroku. The error I get is:

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

I have received the attached certificates from my IT. 

Lena85_0-1634049924510.png

These work on ODBC connection, therefore we know they are ok. However, we do not want to work with ODBC because it does not have the direct query function. We assume that  that the connection doesn’t work since the provided certificates only work when we can also change the following settings:

 

sslmode=Require;Trust Server Certificate=true

 

Since this is not possible in PowerBi we will need a P7B version of the certificate which should not need these properties.
We tried to generate the P7B file based on the files above, but we did not succeed. To our knowledge it is not possible to obtain P7B format directly from Heroku. Can you recommend how to obtain working P7B format or any feasible workaround for this issue?

 

Thank you!

Lena

 

 

 

 

 

1 REPLY 1
V-lianl-msft
Community Support
Community Support

Unfortunately, I haven't experienced this, but I found a thread that can help you. Please refer to:https://community.powerbi.com/t5/Issues/PostgreSQL-heroku-database-with-PowerBI/idi-p/380470 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors