| 版本字段 | legacy_version 固定 0x0303,真实支持版本放在 supported_versions 扩展里 |
|---|---|
| 关键扩展 | server_name(SNI)、application_layer_protocol_negotiation、key_share、signature_algorithms |
| 随机数 | 32 字节 client_random,参与密钥派生 |
| 可见性 | ClientHello 在 TLS 1.2 与 1.3 中均为明文,可直接读到 SNI 与套件列表 |
打印握手消息查看
打印握手消息查看
openssl s_client -connect example.com:443 -servername example.com -msg </dev/null 2>&1 | head -40
# 抓包方式(需有采集环境)
# tshark -i eth0 -Y 'tls.handshake.type == 1' -VTLS 1.3 的兼容写法让记录层版本看起来仍是 1.2,判断客户端真实能力要看 supported_versions 扩展而不是记录版本号。