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
Anonymous
Not applicable

powerbi postgres connector - remote certificate is invalid

Hello,

 

I keep getting errors trying to connect to a postgres SQL rds.amazonaws.com.
I have looked all around the places and tested but none seem to work. The only way i can get it working is by edit permission - untick encrypt connection and reconnect it again. The only issue with this is that not all the data/tables are shown. I been spending the last week trying to connect, restart PC , and installed drivers but nothing work. 

 

I can connect this on tableau postgres connector without any issues in less than 10 seconds - I just don't understand why it's so difficult with powerbi postgres connector. The only thing i noticed is that powerbi postgres connector doesn't require a port number so this might be the problem it causing? But i have no idea how to insert a port number if there is no box for this within powerbi progres connector.

 


Untitled.png

 

 

Now through odbc driver.

 

Untitled.png

3 REPLIES 3
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

Please refer to the following link, hope it can help you.

https://community.powerbi.com/t5/Desktop/How-to-fix-Invalid-Certificate-on-postgresql-server/m-p/2170911 

https://community.powerbi.com/t5/Desktop/The-remote-certificate-is-invalid-according-to-the-validation/m-p/531475#M249069 

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • But when we published in bi service it is considering that odbc rdbms is local connection not cloud 
amitchandak
Super User
Super User

@Anonymous , please refer to the steps in these solutions. do not miss any steps

 

https://community.powerbi.com/t5/Power-Query/Connecting-to-PostgresSQL-hosted-on-AWS-RDS/td-p/135666
https://dataintoresults.com/post/powerbi-and-postgresql-ssl-lets-encrypt-and-gateway/
https://niftit.com/connecting-power-bi-to-postgresql/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.