02-01-20 05:50 AM
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.
Protocol version being used by server: TLS 1.2, AES with 256 bit encryption (High); DH with 1024 bit exchange (looked up in IE)
Also, the same code works on a VDI, however this doesn't work in a VSI.
Any idea what might help??
14-01-20 07:23 AM
15-04-24 04:23 PM
Hello, I would like to know if you managed to solve the problem. I am facing the same and the link shared above does not work for me, nothing opens in the link
15-04-24 08:10 PM
Hi Jaqueline.souza,
Below are the KB articles discussing about this issues. to access the KB article once you click any of the below link you need to select as customer and enter the blue prism portal credential to access the KB article.
1) https://support.blueprism.com/en/support/solutions/articles/7000078621-bpe-process-fails-with-error-the-request-was-aborted-could-not-create-ssl-tls-secure-channel-after
2) https://support.blueprism.com/en/support/solutions/articles/7000077648-troubleshooting-certificates
3) https://support.blueprism.com/en/support/solutions/articles/7000076691-bpe-error-the-request-was-aborted-could-not-create-ssl-tls-secure-channel-when-automating-using-en
4) https://support.blueprism.com/en/support/solutions/articles/7000078563-bpe-error-could-not-establish-trust-relationship-for-the-ssl-tls-secure-channel-when-a-certificate-
5) https://support.blueprism.com/en/support/solutions/articles/7000077239-are-the-basic-http-authentication-credentials-used-by-blue-prism-web-services-encrypted-
15-04-24 08:33 PM
Harish, Thanks for the answer, however none of the links address the problem I'm having.
My problem in this case is that I can't make the mTLS connection.
I'm using the object Utility - HTTP available in the latest version and it doesn't have a step to make the TLS connection.
I even found some forums suggesting including the excerpt:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
but that didn't work either.
15-04-24 08:40 PM
To complement, here are the parameters I am using in the request: