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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Maciek_1000
Frequent Visitor

Power BI cannot establish secure connection to the PostgreSQL database

Hi,

I'm trying to establish secure connection to the database (PostgreSQL). However when I try to do this, I'm getting back info that 

Power BI can't connect to the data source using secure connection and instead of that it will do this using non-encrypted one. It's crucial for me to have it secure.

 

How can I manage this? This is not MS SQL database but PostgreSQL.

 

And the second one - what does it exactly mean that this connecction is not encrypted?

 

Thank you for your help

1 ACCEPTED SOLUTION
Maciek_1000
Frequent Visitor

I've manage to connect securely with the server using certificate generated from the server. I've installed it on my computer following this instructions.

https://www.sonicwall.com/support/knowledge-base/how-can-i-import-certificates-into-the-ms-windows-l...

 

In my case it had to be a Trusted Root Certification Authorities.

View solution in original post

4 REPLIES 4
Maciek_1000
Frequent Visitor

I've manage to connect securely with the server using certificate generated from the server. I've installed it on my computer following this instructions.

https://www.sonicwall.com/support/knowledge-base/how-can-i-import-certificates-into-the-ms-windows-l...

 

In my case it had to be a Trusted Root Certification Authorities.

This worked for me, thanks!

amitchandak
Super User
Super User

@Maciek_1000 , Power bi will connect only SSL enabled Postgresql.

 

Please do not miss any of the steps mentioned in the solutions

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/

 

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

Thank you @amitchandak  for your suggestion. I've managed to connect to the database with Power BI connector. But I wanted to connect securely. That means that it's not impossible to connect without encryption.

 

I'm trying to get through the solution to import certificate to windows. I'm waiting for the certificate to be provided from my PostgreSQL database administrator and I'll see if it's capable.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.