You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CBL-7468: Set kCFStreamSSLPeerName when using a network interface (#3456)
When a network interface is specified, CBLWebSocket resolves the hostname to an IP, creates the socket with that IP, and builds network streams from the socket. Because the original hostname isn’t set, the TLS ClientHello omits the Server Name Indication (SNI).
The fix is to set the hostname via kCFStreamSSLPeerName (the same way we did when client-side proxy is specified), ensuring SNI is included for certificate validation and compatibility with carriers/ISPs that block connections without it.
0 commit comments