Open WiseNN opened 1 year ago
This error is the result of us receiving a handshake failure alert message. That usually means the other side has rejected the connection. Do you have logs from that side? If not, can you get a wireshark capture?
@Lukasa I have been told from the backend guys that the client certificates are not being seen; which I do think is correct from reviewing Charles. I see 3 server side certificates and 0 client side certificates.
Wireshark Logs:
Screenshot 1 - Wireshark
Screenshot 2 - Wireshark
Screenshot 3 From Server Guy Wireshark
basically saying we are missing a client certificate
Hmm, can you show me the Certificate messages coming from the client to the server? In the handshake you can see that the server requests a client cert using a Certificate Request
message (same packet as the Server Key Exchange
message in both cases), and then the client sends back a Certificate
and Certificate Verify
message in its next flight. That's where the client cert should be. Can you confirm the client cert is right, and that the server doesn't have any logs indicating that it's failing to verify it? It's notable that in your first screenshot the Certificate
message is extremely short (78 bytes), which seems likely to be wrong as it's barely enough space for the key.
I am consistently getting an SSL Handshake Failure, and am having issues troubleshooting this. Any help would be much appreciated.
tls_record.cc
Swift Code: