Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello there,
I have a problem with my report and the postgresql database (hosted on Kinsta).
With Power BI Desktop no problem, the remote database is correctly reached, and all the indicators are displayed.
After publishing it I'm not able to reach the database with the error :The PostgreSQL source doesn't support encrypted connections.
There are a lot of solutions available (gateways or others) but everythins seems to be OK in my report:
Connexion succesfull:
Database used in the report:
Connexion visible and available:
Authentification not crypted (this might be a problem and will be fixed later)
But the error is still present.
Any idea?
Have a good day!
Solved! Go to Solution.
Well I finally found a solution:
Hi @Kenmare ,
If you encounter the error “The PostgreSQL source doesn't support encrypted connections” for the PostgreSQL database in Power BI Service, but everything is fine in Power BI Desktop.
Please follow the steps below to troubleshoot:
1. Check the encryption settings of the PostgreSQL server.
Verify that the PostgreSQL server requires SSL (Secure Socket Layer) encrypted connections. If the server requires SSL, ensure that the connection configuration of Power BI matches the encryption settings of the PostgreSQL server.
If the server does not have encryption enabled, but the Power BI Service requires encryption by default, this will result in an error.
2. Enable SSL settings in Power BI Desktop
Update the data source settings in Power BI Desktop to enable SSL:
Open Power BI Desktop and go to Data Source Settings.
Locate the PostgreSQL connection and click Edit Permissions.
Ensure that the SSL/TLS encryption settings are configured in the connection string (e.g. add Encrypt=True or Ssl Mode=Require).
After confirming that there are no errors, republish the report to the Power BI Service.
3. Modify the PostgreSQL Configuration (if allowed to disable SSL)
If you have access to the server configuration file for PostgreSQL and do not need to enforce encryption in the short term, you can temporarily disable SSL connections:
4. Check Firewall or Hosting Restrictions
Verify that the hosting provider enforces SSL encrypted connections.
If required, ensure that the IP address of the Power BI Service is allowed to access the PostgreSQL database by configuring firewall rules.
Hope it helps!
Best regards,
Community Support Team_ Tom Shen
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Thank you so much for these info.
If I set to true in PBI Desktop I have an error that the datasource can't connect with an encrypted connexion (which is relevant if ssl is set to false on the server)
What looks strange is that ssl is off, data source not encrypted on PBI Desktop (and works well) but PBI service try an encrypted connexion after the rapport been published.
Maybe should I try to add Encrypt=False in the connection string but I don't know where to put it.
Well I finally found a solution:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
56 | |
27 | |
26 | |
23 | |
21 |
User | Count |
---|---|
57 | |
41 | |
24 | |
24 | |
21 |