<div dir="auto">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?<div dir="auto"><br></div><div dir="auto">I'm pretty certain that s_server outputs it in debug output.</div><div dir="auto"><br></div><div dir="auto">-Kyle H</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Nov 26, 2017 18:59, "John Jiang" <<a href="mailto:john.sha.jiang@gmail.com">john.sha.jiang@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,<br>The following is my OpenSSL version info,<br>OpenSSL 1.1.0f  25 May 2017<br><br></div>I supposed the below command can give me some SNI info, but nothing was found.<br>openssl s_client -debug -tlsextdebug -msg -connect <host:port> -servername <server> < /dev/null | grep "server name"<br><div>But I found SNI extension with Wireshark while running the above command.<br></div><div><br></div><div>Is it possible get SNI info with s_client?</div><div>Thanks!<br></div></div>
<br>--<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
<br></blockquote></div></div>