]> 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:59 +0000 (13:23 +0000)
commit9e1a6fa0a741b02182245b56c8f78e489f25ed54
tree1022064a0e8a488c051af54a26d208f5280865a6
parent9c1b98e5770641fb51d3f4967e06acbd7f717541
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