]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 9 May 2024 13:56:11 +0000 (13:56 +0000)
commitc9439c8ad79d52f4619f8cfc0f130c625ee9d4e0
tree835233e68056e20d29a58024c2dee9289742dd93
parent824b4ce8550c166b36481eebd140dd5f549cb85a
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.

(cherry picked from commit 9e1a6fa0a741b02182245b56c8f78e489f25ed54)
include/asterisk/iostream.h
main/iostream.c
main/tcptls.c