Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I'm trying to connect to a local REST API installed on my machine. When I try to connect to:
https://localhost:5000/v1/api/
I get an error as:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel
Any clues on how to solve this, since this is only a local server address?
Regards,
Ash
How do I manage to solve this? I'm having the same problem, in my case I have something like this:
https://mi_certificado/module/list
but I'm getting this error:
DataSource.Error: Connection terminated: Unable to establish trust relationship for ssl/TLS secure channel.
try changing to "File->Options and Settings->Options->Security->Certificate >None (option selected)"
but nothing.
Hi @ashrafkotb
I'd expect your internet security/anti-virus/anti-malware to be intercepting and checking HTTP traffic and they often insert their own self signed SSL certificates. If PBI doesn't like this it may throw an error. Try turning off the security software just to test. You may need to configure the security software firewall to ignore connections from local sources and/or to port 5000 on your PC.
regards
Phil
Proud to be a Super User!
Hi @ashrafkotb ,
Did you add the cerrificate of REST API to trusted root store on the server or it is is self-signed? Please follow the steps in https://success.outsystems.com/Support/Enterprise_Customers/Installation/Add_self_signed_certificate... to Add certificate to trusted root store.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Hi Dedmon,
Yes, this was the first thing I tried. However, still getting the same error. I suspect it might be something related to Kaspersky Internet Security.
use a http connection, not https . Note that this is not a good idea in general.
I tried that. Didn't connect at all.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.