HTTPREQUEST - Could not create SSL/TLS secure channel

Hi, everyone.
I’m having an issue with httprequest.
It was working fine for a few a months, but something changed in TLS (at url destination i suppose) and it began throwing:
“Could not create SSL/TLS)”

I solved it using “INVOKE CODE” and using System.NET.Webclient BUT! with this options:
System.Net.ServicePointManager.Expect100Continue = True
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Ssl3 Or System.Net.SecurityProtocolType.Tls Or System.Net.SecurityProtocolType.Tls11 Or System.Net.SecurityProtocolType.Tls12

Is there a way to FORCE the UIPATH activity “HTTPRequest” to use the above config?.. In the IE options i have all SLL and TLS Checked… But i repeat, nothing changed in my enviroments (all are failing now)…

Thanks in advance.


Another issue with HTTPREQ Activity is that it does not pass through proxy…
Again, used the WEBCLIENT with this aditional lines:

webClient.UseDefaultCredentials = True
webClient.Proxy =System.Net.WebRequest.GetSystemWebProxy()
webClient.Proxy.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials

And worked.