cancel
Showing results for 
Search instead for 
Did you mean: 

REST API Calls - Could not establish trust relationship for the SSL/TLS secure channel

DipinDevP
Level 6

Hi,

I am getting below error message while I am trying to make API calls using Utility-HTTP object.

Internal : Could not execute code stage because exception thrown by code stage: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

DipinDevP_1-1746601913698.png

Can any one please help me to resolve this?

Thanks,
Dipin Dev P

 

2 BEST ANSWERS

Helpful Answers

ewilson
Staff
Staff

@DipinDevP it looks like @Neel1 has pointed you to the utility VBO on the DX that can be used to disable certificate checking. That might work for you here, but it's generally something you'd only want to use internally or for testing. If you're connecting to an outside service/site, you want to retain certificate checking as it's important for ensuring you're connecting to the correct/valid site.

The error you're experiencing could be caused by a couple things including the server's certificate is invalid (possibly expired?) or it could be mismatch in the TLS versions used by the client and server.

Is this an internal service/site you're trying to connect to? If so, I'd reach out to whoever's responsible for it and verify their certificate is valid.

Cheers,
Eric

View answer in original post

3 REPLIES 3

DipinDevP
Level 6

@ewilson 
Can you please help me on this?

ewilson
Staff
Staff

@DipinDevP it looks like @Neel1 has pointed you to the utility VBO on the DX that can be used to disable certificate checking. That might work for you here, but it's generally something you'd only want to use internally or for testing. If you're connecting to an outside service/site, you want to retain certificate checking as it's important for ensuring you're connecting to the correct/valid site.

The error you're experiencing could be caused by a couple things including the server's certificate is invalid (possibly expired?) or it could be mismatch in the TLS versions used by the client and server.

Is this an internal service/site you're trying to connect to? If so, I'd reach out to whoever's responsible for it and verify their certificate is valid.

Cheers,
Eric