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
dmagos
Regular Visitor

Data Source change

Hello, 
I recently moved from a local sever to an AWS Lightsail one.

I am trying to change the source of my reports' data (tables) to my new AWS database and it keeps on showing 

DataSource.Error: An error happened while reading data from the provider: 'The remote certificate is invalid according to the validation procedure.'
Details:
DataSourceKind=PostgreSQL
DataSourcePath= (the path of my AWS Endpoint)

Any suggestions ?

 

(both of the databases are postgres the local and the AWS)

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @dmagos 

Thanks for rajendraongole1's reply. The documentation states that you need to Configure the public availability of your PostgreSQL database in order to increase accessibility for external users, for details you can check the following documentation.

vyaningymsft_1-1732519327011.png


https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-connecting-to-your-postgres-...

Best Regards,
Yang

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi, @dmagos 

Thanks for rajendraongole1's reply. The documentation states that you need to Configure the public availability of your PostgreSQL database in order to increase accessibility for external users, for details you can check the following documentation.

vyaningymsft_1-1732519327011.png


https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-connecting-to-your-postgres-...

Best Regards,
Yang

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

 

rajendraongole1
Super User
Super User

Hi @dmagos - as per above information, power bi is rejecting the SSL certificate provided by your AWS Lightsail PostgreSQL instance because it cannot validate it. This usually happens when the database uses a self-signed certificate or an invalid/expired certificate.

The AWS security group allows inbound traffic from your Power BI client IP address on the PostgreSQL port (default is 5432).

The hostname in your connection string matches the Common Name (CN) or Subject Alternative Name (SAN) of the SSL certificate.

ref:

PowerBI Web does not trust AWS RDS certificate aut... - Microsoft Fabric Community

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html

 

Hope this helps.

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





it kind of reolved but now there is a different problem...

when it asks me for the credentials i input them and it does not accept them. it gives me this error

dmagos_0-1732280369861.png

fyi i am 1000% sure that the User name and password are correct

any ideas ?

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.