The “server name” is something that the client sends to the server.
This allows a single host to server multiple “virtual hosts”
From: John Jiang <[hidden email]> Reply-To: openssl-users <[hidden email]> Date: Sunday, November 26, 2017 at 9:59 PM To: openssl-users <[hidden email]> Subject: [openssl-users] How to get SNI info from s_client debug logs?
The following is my OpenSSL version info,
OpenSSL 1.1.0f 25 May 2017
I supposed the below command can give me some SNI info, but nothing was found.
openssl s_client -debug -tlsextdebug -msg -connect <host:port> -servername <server> < /dev/null | grep "server name"
But I found SNI extension with Wireshark while running the above command.