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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
jtelovaa
New Member

Could not establish trust relationship for the SSL/TLS secure channel with self-signed certificates

Hi

 

I am trying to fetch data to Power BI from a system that mainly uses client cert authentication with self-signed certificates. Since Power BI does not support client cert authentication, we are using api keys to the same endpoint. Despite disabling ssl verification from the server, I am still receiving the SSL trust relationship error with Power BI. However postman and other http clients can fetch the data from the same endpoint with api keys just fine, so the issue is with Power BI. There have been previous questions about the same thing here, and most seem to suggests two things:


1. Clear SSL state from internet options

2. Disable certificate revocation from Power BI options

 

I have done both of these things and still get the same error. The nginx server to which the requests are made simply logs a generic error: "client closed connection while waiting for request". Any ideas what might cause this?

1 ACCEPTED SOLUTION
jtelovaa
New Member

In case anyone runs into this and has the exact same problem than I did, here is a solution I have not found elsewhere.

 

I raised a ticket from power platform admin center. We installed Fiddler Classic to collect trace logs. From Fiddler settings (tools -> options -> HTTPS) enabled "decrypt HTTPS traffic" and trusted the cert (not sure if this is a necessary step). With Fiddler running I tried to connect Power BI again, and got an error from Fiddler that said: "The server <ip> presented a certificate that did not validate, because it was issued to a different host". After clicking yes from the error dialog, power bi connected and the issue was fixed. Apparently Fiddler changed some windows wide setting to trust the cert, which power bi by itself couldn't handle (even though certificate revocation was turned off).

So if you are using self-signed certs and haven't paid attention to the common name of the cert, that might be the issue.

View solution in original post

2 REPLIES 2
jtelovaa
New Member

In case anyone runs into this and has the exact same problem than I did, here is a solution I have not found elsewhere.

 

I raised a ticket from power platform admin center. We installed Fiddler Classic to collect trace logs. From Fiddler settings (tools -> options -> HTTPS) enabled "decrypt HTTPS traffic" and trusted the cert (not sure if this is a necessary step). With Fiddler running I tried to connect Power BI again, and got an error from Fiddler that said: "The server <ip> presented a certificate that did not validate, because it was issued to a different host". After clicking yes from the error dialog, power bi connected and the issue was fixed. Apparently Fiddler changed some windows wide setting to trust the cert, which power bi by itself couldn't handle (even though certificate revocation was turned off).

So if you are using self-signed certs and haven't paid attention to the common name of the cert, that might be the issue.

lbendlin
Super User
Super User

yeah, this keeps cropping up.

You can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues . If you have a Pro license you can consider raising a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.