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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
johnsquared
Frequent Visitor

Postgresql SSL Issues

Hi,

 

I am struggling to get my report refreshing on the live service. It works perfectly in desktop.

 

I am hosting a postgresql database on a remote linux server.

When attempting to refresh I used to get this error. The PostgreSQL source doesn't support encrypted connections.

I tried to use a self signed SSL certificate and now I am getting this error. The remote certificate is invalid according to the validation procedure.

 

On a side note I am hosting a website using letsencrypt SSL that works perfectly fine, can I somehow use the certificate for that website for my database as well?

 

Any help will be much appreciated. 

 

1 ACCEPTED SOLUTION
johnsquared
Frequent Visitor

None of the solutions I looked up including the one above worked but I did get it resolved.

 

Firstly you need to host a website on the same remote server. 

Then use letsencrypt to create ssl certificate for it.

Reuse the same certificates and point to them in your postgres install - you will need ensure the permission are correct. If using a docker container then include the folder of the certificates in your volume.

Connect in Power Bi using yourdomain.com:5432 instead of the server IP.
Then everything works as intended 🙂

View solution in original post

3 REPLIES 3
johnsquared
Frequent Visitor

None of the solutions I looked up including the one above worked but I did get it resolved.

 

Firstly you need to host a website on the same remote server. 

Then use letsencrypt to create ssl certificate for it.

Reuse the same certificates and point to them in your postgres install - you will need ensure the permission are correct. If using a docker container then include the folder of the certificates in your volume.

Connect in Power Bi using yourdomain.com:5432 instead of the server IP.
Then everything works as intended 🙂

v-yinliw-msft
Community Support
Community Support

Hi @johnsquared ,

 

I think you can refer this thread, they had the same question with you.

There is a complete solution process inside:

Solved: The remote certificate is invalid according to the... - Microsoft Power BI Community

 

Hope this helps you.

 

Best Regards,

Community Support Team _Yinliw

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

johnsquared
Frequent Visitor

Bump

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.