07-05-25 08:12 AM - edited 07-05-25 08:13 AM
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.
Can any one please help me to resolve this?
Thanks,
Dipin Dev P
Answered! Go to Answer.
07-05-25 10:03 AM
@DipinDevP - just responded to you on another thread
https://community.blueprism.com/t5/Product-Forum/Utility-Http-how-to-turn-off-SSL/td-p/114511
07-05-25 01:35 PM
@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
07-05-25 08:20 AM
@ewilson
Can you please help me on this?
07-05-25 10:03 AM
@DipinDevP - just responded to you on another thread
https://community.blueprism.com/t5/Product-Forum/Utility-Http-how-to-turn-off-SSL/td-p/114511
07-05-25 01:35 PM
@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