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?

Feb 28 in Power BI by Evanjalin
• 19,000 points
103 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 Feb 28 by anonymous
• 19,000 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,919 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
• 16,780 points
166 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,520 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,868 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,649 views
+1 vote
1 answer

Connect power bi desktop to dataset and create custom reports

Open power bi report nd sign in ...READ MORE

answered Oct 10, 2023 in Power BI by Monika kale

edited 6 days ago 1,795 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 Feb 27 in Power BI by anonymous
• 19,000 points
109 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 Feb 28 in Power BI by anonymous
• 19,000 points
54 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