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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.