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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
MiguelDLR
New Member

ERROR: The remote certificate is invalid according to the validation procedure

Good day.

 

I have been working with Power BI for 1 year consulting a PostgreSQL database in AWS RDS, today out of nowhere I started getting the following error when I wanted to update both in Desktop and in Services: The remote certificate is invalid according to the validation procedure, and nothing has changed in the server configuration.

 

I also already performed these steps and nothing:

 

You need to connect over SSL to AWS which isn't setup by default

1. Install Npgsql which allows .NET access to PostgresSQL. I installed it using the Pakagae Manager Console in Visual Studio; detailed instructions are here: https://www.nuget.org/packages/Npgsql/

2. Download the AWS public key from here https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem

3. Convert that to a certificate using https://www.sslshopper.com/ssl-converter.html (convert to PKCS#7/P7B)

4. Import that certificate to the Trusted Room Certificate described here http://www.cs.virginia.edu/~gsw2c/GridToolsDir/Documentation/ImportTrustedCertificates.htm

5. Test access from Power BI desktop using the PostgresSQL connector and it should work

 

Do you know any other solution?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,@MiguelDLR 

Regarding the issue you raised, my solution is as follows:

1.First, you can disable encryption:

vlinyulumsft_0-1721288642848.png

Here are links to similar issues:

AWS Postgres: 'The remote certificate is invalid' - Microsoft Fabric Community

 

2.Second, you can check if the certificate on the server is updated and update the key..For PostgreSQL DB hosted on AWS RDS, it necessitates an on-premises data gateway for refreshing from PBI Service, as the AWS public key needs to be installed on the gateway machine.

 

Here are links to the relevant documentation:

Solved: PostgreSQL Connector - The remote certificate is i... - Microsoft Fabric Community

Solved: Invalid Remote Certificate - Microsoft Fabric Community

 

Here are links to the relevant documentation:

Solved: Invalid Remote Certificate - Microsoft Fabric Community

 

3.Finally, you can try setting up an ODBC connection.

vlinyulumsft_1-1721288642849.png

 

How to Connect to an ODBC Data Source From Power B... - Microsoft Fabric Community

 

Here are links to similar issues:

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

 

If you have any new discoveries, please share them with us

 

Best Regards,

Leroy Lu

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

View solution in original post

2 REPLIES 2

Hi, I created a video to solve this problem.

Video link: https://youtu.be/a641lOBoqUw

Anonymous
Not applicable

Hi,@MiguelDLR 

Regarding the issue you raised, my solution is as follows:

1.First, you can disable encryption:

vlinyulumsft_0-1721288642848.png

Here are links to similar issues:

AWS Postgres: 'The remote certificate is invalid' - Microsoft Fabric Community

 

2.Second, you can check if the certificate on the server is updated and update the key..For PostgreSQL DB hosted on AWS RDS, it necessitates an on-premises data gateway for refreshing from PBI Service, as the AWS public key needs to be installed on the gateway machine.

 

Here are links to the relevant documentation:

Solved: PostgreSQL Connector - The remote certificate is i... - Microsoft Fabric Community

Solved: Invalid Remote Certificate - Microsoft Fabric Community

 

Here are links to the relevant documentation:

Solved: Invalid Remote Certificate - Microsoft Fabric Community

 

3.Finally, you can try setting up an ODBC connection.

vlinyulumsft_1-1721288642849.png

 

How to Connect to an ODBC Data Source From Power B... - Microsoft Fabric Community

 

Here are links to similar issues:

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

 

If you have any new discoveries, please share them with us

 

Best Regards,

Leroy Lu

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

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.