I am trying to create a webrequest to optimile soap services to gather some data. I have this all running perfectly on my laptop, but when i tried to push it to the server suddenly it started giving me "The request was aborted: Could not create SSL/TLS secure channel" errors.
I tried it on 3 different servers, all the same result. Tried it on my colleagues laptop and it worked as well. We both have visual studio installed so we might have some .net thingy installed the servers do not, but i cannot pinpoint what it is.
my code already contains these lines:
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Ssl3;
and it finally errors on:
var response = (HttpWebResponse)request.GetResponse();
Again, it works perfectly on 2 laptops out of 2 tested (both visual studio installed) and doesn't work on 3 servers, out of 3 tested.
anyone got any pointers on what we can test?