HttpClient fails to establish SSL connection with server configured with RSA 4096 key.

Rajeev Pradhan 0 Reputation points

I am using .net framework 4.7 in WinForms application and using HttpClient for SSO login, When I call server url with using HttpClient then initial handshaking fails with following error.

The request was aborted: Could not create SSL/TLS secure channel.

It seems .net supports RSA 2048 key but not the RSA 4096 key.

I have already tried by setting TLS1.2 as ServiceProtocol, but same error.

Microsoft Technologies based on the .NET software framework.
3,153 questions
{count} votes