Forum Discussion
Unable to Connect Power BI to AWS RDS PostgreSQL – Certificate Validation Error
Issue:
I'm trying to connect my AWS RDS PostgreSQL instance to Power BI Desktop, but I'm encountering a certificate validation error.
Steps Taken So Far:
Security Group Configurations Updated
- I have modified the AWS security group settings to allow inbound connections on port 5432 from all sources (0.0.0.0/0), as shown in the attached screenshot.
- Despite this, I still cannot establish a connection.
Disabled force_ssl in RDS
- I set rds.force_ssl=0 in the parameter group, ensuring that SSL is not mandatory for connections.
- However, Power BI still throws a certificate-related error.
Persistent Certificate Validation Error
- The error message states:
"The remote certificate is invalid according to the validation procedure." - Even after disabling SSL enforcement and allowing connections in the security group, this error persists.
- Screenshots of the error are attached for reference.
- The error message states:
Questions:
- Does Power BI require additional configurations for connecting to AWS RDS PostgreSQL?
- How can I bypass or resolve the certificate validation issue in Power BI?
- Do I need to provide a custom SSL certificate, and if so, how should it be configured?
Any guidance on this would be greatly appreciated!
4 Replies
- AnonymousNot applicable
Hi, nimitb
Thanks for reaching out to the Microsoft fabric community forum.
Regarding the issue you raised, my solution is as follows:1.Based on the information we currently have, you need to download Npgsql to establish a connection. Npgsql is an open-source .NET data provider for PostgreSQL. It allows you to connect to and interact with PostgreSQL servers using .NET.
For more details, please refer to:
2.Secondly, at present, we have not found a solution to bypass the certificate verification issue in Power BI. However, you might try disabling encryption.
For more details, please refer to:
AWS Postgres: 'The remote certificate is invalid' - Microsoft Fabric Community
3.Lastly, regarding custom SSL certificates, the following answer should help you resolve part of the issue:
Solved: Connecting to PostgresSQL hosted on AWS RDS? - Microsoft Fabric Community
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.
- v-menakakota
Community Support
Hi nimitb ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
- v-menakakota
Community Support
Hi nimitb ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.- v-menakakota
Community Support
Hi nimitb ,
I hope the provided information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you