openssl / openssl

TLS/SSL and crypto library
https://www.openssl.org
Apache License 2.0
24.89k stars 9.93k forks source link

Error SSL_do_handshake (no shared cipher) #16155

Open remainfox opened 2 years ago

remainfox commented 2 years ago

OPENSSL version: openssl-1.0.2n RUN os: ubuntu 18.04 CPU arch: x86_64 Google Chrome Version: 92.0.4515.107

description:

When I use Chrome to connect webSocket Sever Secure, an error message is displayed
Error SSL_do_handshake (no shared cipher)
yangyangtiantianlonglong commented 2 years ago

Can you capture network packets for more information? The two ends may confirm that there is no shared cipher suite, or the certificate does not match the shared cipher suite.

remainfox commented 2 years ago
tcpdump port 443 -w wss.pcap

image

image

yangyangtiantianlonglong commented 2 years ago

Check whether the intersection of the client and server cipher suites matches the signature algorithm of the certificate?

nhorman commented 3 weeks ago

Marking as inactive, to be closed at the end of 3.4 dev, barring further input