]> 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:24:01 +0000 (13:24 +0000)
commit4d6f84a14f3c5f151d722c8697d6f27c7a2d37ab
tree346a1bde76fd537a73db00c8e23743d650c721ab
parentb7ed77a7c5e2db6883e16d14a01d886dda1a0d8f
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