A third party vendor is adding authentication (yay!), but it doesn't always work for us (boo!).
When the C# application is run "as administrator" it works fine. However, when the application is run as a normal (non-administrator) user it fails with the message
"Authentication failed because the remote party has closed the transport stream"
We are explicitly setting to TLS 1.2
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
We are
- executing a 4.6 .NET C# WCF client
- that consumes an HTTPS web service
- using TLS1.2
- on a Windows Server 2012 platform