]> 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-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Mon, 29 Apr 2024 13:23:40 +0000 (13:23 +0000)
commit7223dfe244d84b0168bc06ad6b4ad7e793582577
tree7ede62bdf481282b20efaddceada3c5edd537913
parent558d0a8033946f8a84d95a298db55b66e5fad370
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