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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
walidb
Frequent Visitor

I can't Connect PostgresSQL db with PBI SERVICE ( Web version ) remote certificate invalid

Hi everyone,

I am currently experiencing some issues connecting my Power BI Service with my Postgres SQL database hosted on an EC2 Ubuntu machine on AWS.

While the database works fine on PGAdmin and also works with ODBC Power BI desktop, I am unable to use Power BI Dataflows due to the following error message: "the remote certificate is invalid"

walidb_0-1681749306360.png

 

I suspect that the issue might be related to encryption settings, but I'm not sure how to proceed., and I am using the correct username and password to authenticate to the database. is there a way to upload certificate to PBI Service?

walidb_1-1681749414096.png

 

 

If anyone has any experience with this issue, I would appreciate your help and suggestions. Thank you in advance!

2 REPLIES 2
GilbertQ
Super User
Super User

Hi @walidb 

 

I think you need to ensure that the SSL Cert is installed on the Power BI Gateway server.

 

It appears that you also do not have a Gateway server installed and as far as I am aware you will need to have the data refreshed via a Power BI Gatway.

 

You will have to install the client on the Gateway server as described below when using it on Power BI Desktop Configuring Power BI Connectivity to PostgreSQL Database - oxcrx34285





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi there @GilbertQ,

Thank you for the clarification. Just to confirm, even if the database is accessible online through PGAdmin or PBI Desktop ODBC using my own machine & i want to connect the PBI SERVICE (Web ) to the DB, would I still require a data gateway?

 

Additionally, if a data gateway is needed, does it have to be installed on a Windows VM? As the database server and most servers in the cluster are Ubuntu machines.

 

Lastly, if we install the gateway on a Windows machine and only run it for 1-2 hours every 2 days, and schedule the PBI Dataflow refresh for the same time, would it work?

 

Please let me know if you need any further information or clarification.

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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