diff options
author | Paul Yang <paulyang.inf@gmail.com> | 2017-06-13 20:18:55 +0800 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-06-13 08:39:06 -0400 |
commit | 481afe2ad1325caf4beb0b9dee89cf69e7825e99 (patch) | |
tree | c9357722f30a4e9501f3a71f46ce1b95eb0d815a /doc | |
parent | 979874a208e2244e1e65533aaa31d7aa0cf00cc5 (diff) | |
download | openssl-481afe2ad1325caf4beb0b9dee89cf69e7825e99.tar.gz |
Make SNI behavior more clear in s_client doc & help
Update s_client -help and pod file.
Signed-off-by: Paul Yang <paulyang.inf@gmail.com>
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3654)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man1/s_client.pod | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/man1/s_client.pod b/doc/man1/s_client.pod index 5414ffa41e..9f6084d53e 100644 --- a/doc/man1/s_client.pod +++ b/doc/man1/s_client.pod @@ -159,16 +159,20 @@ Use IPv6 only. =item B<-servername name> Set the TLS SNI (Server Name Indication) extension in the ClientHello message to -the given value. +the given value. If both this option and the B<-noservername> are not given, the +TLS SNI extension is still set to the hostname provided to the B<-connect> option, +or "localhost" if B<-connect> has not been supplied. This is default since OpenSSL +1.1.1. + +Even though SNI name should normally be a DNS name and not an IP address, this +option will not make the distinction when parsing B<-connect> and will send +IP address if one passed. =item B<-noservername> Suppresses sending of the SNI (Server Name Indication) extension in the ClientHello message. Cannot be used in conjunction with the B<-servername> or -<-dane_tlsa_domain> options. If this option is not given then the hostname -provided to the B<-connect> option is used in the SNI extension, or "localhost" -if B<-connect> has not been supplied. Note that an SNI name should normally be a -DNS name and not an IP address. +<-dane_tlsa_domain> options. =item B<-cert certname> |