[openssl-users] How to get SNI info from s_client debug logs?

John Jiang john.sha.jiang at gmail.com
Mon Nov 27 02:59:15 UTC 2017

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
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20171127/ece5affb/attachment.html>

More information about the openssl-users mailing list