cancel
Showing results for 
Search instead for 
Did you mean: 

How to turn off SSL checking for connecting via API with on premise database

Onefamily_Simon
Level 2
​​Hi,

This question comes from my I.S. department who have been assisting me in setting up a API connection to on premise database to help with a Blue Prism process I am building.

They want to know if there is a way of turning off SSL checking within Blue Prism, or with a single Blue Prism API service?

If someone knows about this or could point me to the relevant guide that explains how he could enable this, that would be great.

thanks
Simon​
2 REPLIES 2

ewilson
Staff
Staff
@Onefamily_Simon,

Check out this VBO on the DX. It may be what you're looking for.

https://digitalexchange.blueprism.com/dx/entry/3439/solution/disable-certificate-vbo

In a nutshell, the only way to disable certificate checking for web requests is via a code stage. This VBO does it for you.

Cheers,

bruce.liu
Staff
Staff
Hi Simon,

There is no way to disable the SSL checking via Web API Services. As Eric has said, VBO is the only option you have. If VBO is not an option, you must discuss with your IT department in getting this to work for your runtime resources where the web service calls are being made.

Check the below URL if you wish to get more information on this topic via code stages. 
http://stackoverflow.com/questions/22627977/the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send-w

As I have found out, it essentially involves adding the following line (VB.NET) before sending out your web request.

System.Net.ServicePointManager.SecurityProtocol = Net.SecurityProtocolType.Tls12