The -servername [host] is what causes the SNI extension to be sent. I don't think its sending is put into the debug output. Do you really need it there?
I'm pretty certain that s_server outputs it in debug output. -Kyle H On Nov 26, 2017 18:59, "John Jiang" <john.sha.ji...@gmail.com> wrote: > Hi, > 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. > > Is it possible get SNI info with s_client? > Thanks! > > -- > openssl-users mailing list > To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users > >
-- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users