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
Dodzik
Frequent Visitor

The remote certificate is invalid according to the validation procedure - Postgres on Linux EC2 VM

I have trouble connecting to the PostgreSQL database which is being hosted on Linux Virtual Machine in Amazon intrastructure.

I am using lastest (Feb 2021, also tried Nov 2020 and Dec 2020) version of Power BI and I am connecting from Windows VM that is located in the same network as the Linux VM is. Database is fully accessible from Windows VM using any kind of third party database tool.

Error I encounter:

The remote certificate is invalid according to the validation procedure.

Dodzik_0-1614958959285.png

 

As a mitigation I tried setting up and using ODBC connector for PostgreSQL and it works without issues reading data from the same database as I tried native connector on. 

 

Since I am not the first person encountering similar problem on AWS infrastructure, I already tried:

None of above solutions yields any sings of improvements or possible success.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Dodzik , I faced this issue because I did not convert the certificate and did not import it in the right manner.

 

Make sure you followed the last 2 steps correctly (second on your list)

https://community.powerbi.com/t5/Desktop/The-remote-certificate-is-invalid-according-to-the-validati...

 

or

https://community.powerbi.com/t5/Power-Query/Connecting-to-PostgresSQL-hosted-on-AWS-RDS/td-p/135666

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

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Dodzik , I faced this issue because I did not convert the certificate and did not import it in the right manner.

 

Make sure you followed the last 2 steps correctly (second on your list)

https://community.powerbi.com/t5/Desktop/The-remote-certificate-is-invalid-according-to-the-validati...

 

or

https://community.powerbi.com/t5/Power-Query/Connecting-to-PostgresSQL-hosted-on-AWS-RDS/td-p/135666

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