I'm being told that the following ciphers are supported for an https endpoint:
TLS 1.2 (suites in server-preferred order)
- TLS1.2_ECDHE_RSA_AES_128_GCM_SHA256
- TLS1.2_DHE_RSA_AES_256_GCM_SHA384
- TLS1.2_DHE_RSA_AES_128_GCM_SHA256
I have a Windows service in C# (.Net Framework 4.7.2) running on a Windows Server 2008R2 which will try to reach the https endpoint via a HttpClient PostAsync call.
How can I tell if any of the ciphers are enabled on Win2008r2 and which will be used?
The weird thing I must state is that on my dev machine (Win10 x64) I can reach the https endpoint without a problem. I have the appropriate Firewall exceptions in place on the Win2008r2 server.
I've been around the horn on this, checking various registry keys on the Win2008r2 and trying various settings for the ServicePointManager.SecurityProtocol (default, Tls12 etc.) in my codebase.
This is another ditch effort to try and figure out why my Win10 dev machine works and the Win2008R2 doesn't.
BTW here is the error I get from the Win2008r2 server:
No connection could be made because the target machine actively refused it xxx.xxx.xx.xxx:443