I have a .net client application (on Windows Server 2022) trying to connect to a web API on a server over https, and it's failing with a "handshake failure". I have compared available cipher suites on the two servers, and there are two matches found. However, they have differing bit strengths. Is the different bit strength possibly the cause of the handshake failure? If not, what other possible causes of the handshake failure could I investigate?
Here is the output in Wireshark:
TLSv1.2 Record Layer: Alert (Level: Fatal, Description: Handshake Failure)
Content Type: Alert (21)
Version: TLS 1.2 (0x0303)
Length: 2
Alert Message
Level: Fatal (2)
Description: Handshake Failure (40)
Edit: additional info based on comments The supported names are as follows:
- Client: secp384r1, x25519, secp256r1
- Server: secp256r1, secp384r1, secp521r1, x25519