]> git.ipfire.org Git - thirdparty/asterisk.git/commit
tcptls/iostream: Add support for setting SNI on client TLS connections
authorGeorge Joseph <gjoseph@sangoma.com>
Tue, 23 Apr 2024 20:15:20 +0000 (14:15 -0600)
committerGeorge Joseph <gjoseph@sangoma.com>
Mon, 29 Apr 2024 13:23:57 +0000 (13:23 +0000)
commitf9a1e3095c4ed51744b30542889f492f77eca7fd
tree1e1b66c259d9ad547adfc13fbae1a7433ec561cb
parent3d2def92e27bbcfc9c32886b40e12e867dc98af6
tcptls/iostream:  Add support for setting SNI on client TLS connections

If the hostname field of the ast_tcptls_session_args structure is
set (which it is for websocket client connections), that hostname
will now automatically be used in an SNI TLS extension in the client
hello.

Resolves: #713

UserNote: Secure websocket client connections now send SNI in
the TLS client hello.
include/asterisk/iostream.h
main/iostream.c
main/tcptls.c