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

Kyle Hamilton aerowolf at gmail.com
Mon Nov 27 04:27:08 UTC 2017

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

I'm pretty certain that s_server outputs it in debug output.

-Kyle H

On Nov 26, 2017 18:59, "John Jiang" <john.sha.jiang at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20171126/0d74e9f1/attachment.html>

More information about the openssl-users mailing list