I am trying to do a REST API call to one of the endpoint URL using HTTP request. Here the certificate is not signed , hence am not able to make the connection.
is there a way i can disable SSL verification/validation while making the call ?
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
I had the same problem, writing this code (in a InvokeCode activity) before the HTTP request activity it works for me
System.Net.ServicePointManager.ServerCertificateValidationCallback =
Function(se As Object,
cert As System.Security.Cryptography.X509Certificates.X509Certificate,
chain As System.Security.Cryptography.X509Certificates.X509Chain,
sslerror As System.Net.Security.SslPolicyErrors) True
Dear all,
The code invoke didn’t work for me on UiPath robot version 2019.10.4.
I’m still getting either timeout or if I increase the timeout status code 0 with blank result from the API call.
Has someone faced such issue and managed to fix it?
UiPath.WebAPI.Activities 1.7.0