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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
FernandoJMM
Regular Visitor

Failed to directquery / Live connection to Postgresql Amazon RDS

Hello everyone,

I have a Postgresql database on Amazon RDS. Unfortunately a few months ago there was no possibility to create reports with Power BI having a direct connection or live connection with Postgresql as the data source.


Then create a Postgresql replica on Amazon Redshift. In this way I was able to create wonderful reports with Power BI.

It is a good solution but expensive !!!

 

Now I have seen that Power BI has included Postgresql within the list of supported data sources for direct or live connection, see in:
https://docs.microsoft.com/en-us/power-bi/power-bi-data-sources.

 

But I enter Power BI I try to connect directly to my Postgresql that is in Amazon RDS and I get this error:

 

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

 

It seems that it is necessary to install or configure something additionally?

But I don't understand it because when I connect to Redshift I don't need anything else.

 

Thanks for your help,

 

Good,

I have solved the problem !!!

If the same thing happens to any of you, you only have to do this:

Download Amazon AWS RDS Trusted Authority Root Certificates available at:
https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.p7b

Then you install it on your Windows computer (with MMC).

And solved, you can now connect to Postgresql with Directquery.

Cheers

1 REPLY 1
v-lid-msft
Community Support
Community Support

Hi @FernandoJMM ,

 

Glad to hear that you have resolved your problem. Thank you for sharing this. We can also disable the "Encrypt connections" for data source to solve it, but it not safe enough for connection. The solution you provided is proper and great when using encrypted connections.

 

By the way, could you please post your solution in single reply so that others can find it more easier?

 

3.jpg2.jpg4.jpg5.jpg

 

If you have any other questions, please kindly ask here and we will try to resolve it.


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.