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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
tonyk86
Helper I
Helper I

Postgres OBDC SSL Issue

Hi,

  I'm having an issue with an OBDC connection. I've created (through PBI Desktop) and published to PBI service using various flat files and an external OBDC connection to a postgres database. For my OBDC connection, I just use the following OBDC connection string: 

 

Driver={PostgreSQL Unicode(x64)}; Server=XX.XX.XX.XX; Port=5432; Database=XXXX

 

The connection has worked perfectly fine for a few months until I received a connection error today.

tonyk86_0-1696524880052.png

After researching, I was just told by my one of the admins that they switched over to SSL recently for that database. With that information, I figured I would just add ";sslmode=require" to the end of the string

Driver={PostgreSQL Unicode(x64)}; Server=XX.XX.XX.XX; Port=5432; Database=XXXX;;sslmode=require;

 

However adding this string gives me a FATAL: connection requires a valid client certificate error message. How do I fix this issue? Any help is appreciated. Thanks!

 

tonyk86_1-1696525067910.png

 

1 REPLY 1
amitchandak
Super User
Super User

@tonyk86 , Please check and do not miss any step. Or create  a dataflow on power bi service and use that as source

 

postgresql
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
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.

Top Solution Authors