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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ldroguett
Frequent Visitor

Consumir una api con certificado de autofirma

Tengo que consultar una api que por el momento tiene el certificado ssl con autofirma...
Tengo el siguente error:

"DataSource.Error: Se ha terminado la conexión: No se puede establecer una relación de confianza para el canal seguro SSL/TLS."

Asi llamo a la api:

let
url= "https://ejemploapi?parametro1=123&parametro2=456&api_key=abcde",
access_token = "Bearer  abcde",
Respuesta_API = Json.Document(Web.Contents(url, [Headers=[#"Content-type"="application/json", #"Authorization"= access_token ]])),
#"Convertida en tabla" = Table.FromList(Respuesta_API, Splitter.SplitByNothing(), null, null, ExtraValues.Error)
in
#"Convertida en tabla"

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@ldroguett 

Based on my searching, it looks like that it is a problem of the REST API, please refer to this blog: https://blog.ukotic.net/2017/08/15/could-not-establish-trust-relationship-for-the-ssltls-invoke-webr...

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

@ldroguett 

Based on my searching, it looks like that it is a problem of the REST API, please refer to this blog: https://blog.ukotic.net/2017/08/15/could-not-establish-trust-relationship-for-the-ssltls-invoke-webr...

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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