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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors