In my case I had to enable SchUseStrongCrypto
for .Net
This forces the server to make connection by using TLS 1.0, 1.1 or 1.2. Without SchUseStrongCrypto
enabled the connection was trying to use SSL 3.0, which was disabled at my remote endpoint.
Registry keys to enable use of strong crypto:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319]
"SchUseStrongCrypto"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]
"SchUseStrongCrypto"=dword:00000001