31-05-19 12:21 PM
Answered! Go to Answer.
03-06-19 02:15 PM
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls
| SecurityProtocolType.Tls11
| SecurityProtocolType.Tls12
| SecurityProtocolType.Ssl3;
03-06-19 05:52 AM
03-06-19 02:15 PM
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls
| SecurityProtocolType.Tls11
| SecurityProtocolType.Tls12
| SecurityProtocolType.Ssl3;
04-06-19 02:44 PM
Hi Astrid,
Blue Prism is configured to only use TLS 1.2 protocol by default. In your scenario it appears SharePoint is not configured to utilise the TLS 1.2 protocol and when the TLS/SSL handshake takes place between Blue Prism and SharePoint they cannot find a mutual TLS version to use for the communication. This results in the error you are seeing.
The code you have placed into the code stage is forcing Blue Prism to allow older versions of TLS and SSL protocols, I wouldn't recommend enabling all protocol versions but the ones you need, you can see how to determine what TLS version is being used by following this stack overflow article: https://security.stackexchange.com/questions/19096/how-to-determine-if-a-browser-is-using-an-ssl-or-tls-connection e.g.
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11
| SecurityProtocolType.Tls12
Further information can be found here:
Regards,
------------------------------
James Marsh
Technical Consultant
Blue Prism
Europe/London
------------------------------
04-06-19 03:00 PM
Thanks a lot for the explanation, James!
Cheers,
Astrid
Hi Astrid,
Blue Prism is configured to only use TLS 1.2 protocol by default. In your scenario it appears SharePoint is not configured to utilise the TLS 1.2 protocol and when the TLS/SSL handshake takes place between Blue Prism and SharePoint they cannot find a mutual TLS version to use for the communication. This results in the error you are seeing.
The code you have placed into the code stage is forcing Blue Prism to allow older versions of TLS and SSL protocols, I wouldn't recommend enabling all protocol versions but the ones you need, you can see how to determine what TLS version is being used by following this stack overflow article: https://security.stackexchange.com/questions/19096/how-to-determine-if-a-browser-is-using-an-ssl-or-tls-connection e.g.
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11
| SecurityProtocolType.Tls12
Further information can be found here:
http://portal.blueprism.com/customer-support/support-center#/path/1150114562
Regards,
25-11-19 02:34 PM
25-11-19 02:50 PM
Are you trying to communicate out of Blue Prism to a SOAP web service or are you communicating externally into a Blue Prism process or object?
25-11-19 02:57 PM
23-12-19 12:29 PM
resultData=""; try { ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Ssl3; ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback ( delegate { return true; } ); WebClient client = new WebClient(); client.UseDefaultCredentials = true; String htmlCode = client.DownloadString(addressURL); resultData = htmlCode; Success=true; Message=""; } catch(Exception e) { Success=false; Message=e.GetBaseException().Message; }I also tried removing ServerCertificateValidationCallback, still no luck.
18-10-21 07:00 AM