Why am I getting an SSL Certificate Chain Not Trusted error when connecting SQL Server to Power BI and how do I resolve it

0 votes

Why am I getting an "SSL Certificate Chain Not Trusted" error when connecting SQL Server to Power BI, and how do I resolve it?
When connecting SQL Server to Power BI, you may encounter an "SSL Certificate Chain Not Trusted" error due to issues with the certificate authority (CA), an expired or self-signed certificate, or misconfigured encryption settings. How can I diagnose the root cause of this error and resolve it? What steps should I take to install or update the necessary certificates, configure trust settings, or modify encryption requirements to establish a secure connection?

3 hours ago in Power BI by Evanjalin
• 15,820 points
15 views

1 answer to this question.

0 votes

The "SSL Certificate Chain Not Trusted" error when connecting SQL Server to Power BI typically occurs due to:

  1. Untrusted or Expired SSL Certificate – Power BI may reject self-signed or expired certificates because they are not issued by a trusted Certificate Authority (CA).
  2. Incomplete Certificate Chain – The intermediate certificates required to establish trust may be missing on the SQL Server or the client machine.
  3. Encryption and Trust Settings – The connection settings may require SSL/TLS encryption, but the certificate is either not configured properly or not recognized.

How to Fix It

1. Verify the SSL Certificate

  • Open SQL Server Configuration Manager → Navigate to SQL Server Network Configuration → Check if a valid SSL certificate is assigned.
  • Use the command:
openssl s_client -connect your_sql_server:1433 -showcerts
  • This helps check certificate details, including the issuing authority and expiration date.

2. Install the Trusted Certificate

  • If the certificate is self-signed, install it on the client machine’s Trusted Root Certification Authorities store.
  • If using a CA-signed certificate, ensure the intermediate CA is also installed.

3. Modify Power BI Connection Settings

  • In Power BI Desktop, while connecting to SQL Server, select Advanced Options → Set Encrypt Connection = False if encryption is not required.
  • If encryption is necessary, ensure Trust Server Certificate = True to bypass certificate validation issues.

4. Update SQL Server Settings

  • Ensure SQL Server is configured to support TLS 1.2 or later for secure connections.
  • If using Azure SQL, check that firewall and security settings allow certificate validation.
answered 3 hours ago by anonymous
• 15,820 points

Related Questions In Power BI

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

I have a web API with basic authorisation and username and password. How do i connect to it in Power BI?

Hey, @There, I found your query is quite ...READ MORE

answered Oct 29, 2020 in Power BI by Gitika
• 65,770 points
3,884 views
+1 vote
1 answer

Why do I get a "Cannot resolve ambiguity" error when trying to join multiple tables with bi-directional filters?

The “Cannot resolve ambiguity” message in Power ...READ MORE

answered Nov 6, 2024 in Power BI by pooja
• 14,980 points
157 views
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,497 views
+1 vote
1 answer

Unable to install connector for Power Bi and PostgreSQL

I think the problem is not at ...READ MORE

answered Aug 22, 2018 in Power BI by nirvana
• 3,130 points
2,855 views
+2 votes
2 answers

Migrate power bi collection to power bi embedded

I agree with Kalgi, this method is ...READ MORE

answered Oct 11, 2018 in Power BI by Hannah
• 18,520 points
1,632 views
+1 vote
1 answer

Connect power bi desktop to dataset and create custom reports

Yes using Power BI REST API to ...READ MORE

answered Sep 18, 2018 in Power BI by Kalgi
• 52,350 points
1,771 views
0 votes
1 answer

Why am I getting a 401 Unauthorized error when renaming a Power BI dataflow using the Power BI REST API, and how can I fix it?

A 401 Unauthorized error when renaming a ...READ MORE

answered 1 day ago in Power BI by anonymous
• 15,820 points
60 views
0 votes
1 answer

Why am I unable to set refresh for a web-based anonymous connection in Power BI Server, and how can I resolve it?

Scheduled refresh for web-based data sources that ...READ MORE

answered 4 hours ago in Power BI by anonymous
• 15,820 points
14 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP