cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Error:

ChrisBrook
Level 4
Hi,

I'm trying to call a SOAP API using the HTTP Utility. I keep getting hit with the below error which is frustrating me!

"Exception: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Inner Exception: The remote certificate is invalid according to the validation procedure."

The annoying aspect is that if I use SOAP UI I can call the API absolutely fine!

Blue Prism Steps:
  1. Load the certificate (Utility - HTTP -> Load Certificate)
  2. Generate the SOAP Body (dynamic based on the case being worked)
  3. Call the API as per the below setup
23864.png

Any ideas would be much appreciated!

Chris

------------------------------
Chris Brook
Intelligent Automation Specialist
------------------------------
3 REPLIES 3

AndreyKudinov
Level 10
You can disable certificate validation and look at what you are actually getting in response.
Often it is your corporate proxy telling you that you need to authenticate, so check if you need proxy settings too.

------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------

Hi @AndreyKudinov

Thanks for your reply.
Couple of questions on that:
  1. How?
  2. How would that work when the API service requires 2 way authentication via a certificate?
Regards​

------------------------------
Chris Brook
Business Delivery Consultant
Lloyds Banking Group
Europe/London
------------------------------

1) https://digitalexchange.blueprism.com/dx/entry/3439/solution/disable-certificate-vbo
2) Service authentication has nothing to do with SSL error.

------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------