X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman1%2Fs_client.pod;h=1d9dd39656a05472505dd6ad8ae65ff07ff6d800;hp=4a2a28021c52cd78737faf051f691c72aebd0f13;hb=3f2181e6fadea9e7ad8810b3f170fd0b2154e8b8;hpb=99d63d4662e16afbeff49f29b48f1c87d5558ed0 diff --git a/doc/man1/s_client.pod b/doc/man1/s_client.pod index 4a2a28021c..1d9dd39656 100644 --- a/doc/man1/s_client.pod +++ b/doc/man1/s_client.pod @@ -2,6 +2,7 @@ =head1 NAME +openssl-s_client, s_client - SSL/TLS client program =head1 SYNOPSIS @@ -10,7 +11,11 @@ B B [B<-help>] [B<-connect host:port>] [B<-proxy host:port>] +[B<-unix path>] +[B<-4>] +[B<-6>] [B<-servername name>] +[B<-noservername>] [B<-verify depth>] [B<-verify_return_error>] [B<-cert filename>] @@ -22,6 +27,7 @@ B B [B<-CAfile filename>] [B<-no-CAfile>] [B<-no-CApath>] +[B<-requestCAfile filename>] [B<-dane_tlsa_domain domain>] [B<-dane_tlsa_rrdata rrdata>] [B<-dane_ee_no_namechecks>] @@ -47,6 +53,7 @@ B B [B<-no_alt_chains>] [B<-use_deltas>] [B<-auth_level num>] +[B<-nameopt option>] [B<-verify_depth num>] [B<-verify_email email>] [B<-verify_hostname hostname>] @@ -68,37 +75,50 @@ B B [B<-tls1>] [B<-tls1_1>] [B<-tls1_2>] +[B<-tls1_3>] [B<-no_ssl3>] [B<-no_tls1>] [B<-no_tls1_1>] [B<-no_tls1_2>] +[B<-no_tls1_3>] [B<-dtls>] [B<-dtls1>] [B<-dtls1_2>] +[B<-sctp>] [B<-fallback_scsv>] [B<-async>] +[B<-max_send_frag>] [B<-split_send_frag>] [B<-max_pipelines>] [B<-read_buf>] [B<-bugs>] [B<-comp>] [B<-no_comp>] +[B<-allow_no_dhe_kex>] +[B<-sigalgs sigalglist>] +[B<-curves curvelist>] [B<-cipher cipherlist>] [B<-serverpref>] [B<-starttls protocol>] [B<-xmpphost hostname>] +[B<-name hostname>] [B<-engine id>] [B<-tlsextdebug>] [B<-no_ticket>] [B<-sess_out filename>] [B<-sess_in filename>] -[B<-rand file(s)>] +[B<-rand file...>] +[B<-writerand file>] [B<-serverinfo types>] [B<-status>] [B<-alpn protocols>] [B<-nextprotoneg protocols>] -[B<-ct|noct>] +[B<-ct>] +[B<-noct>] [B<-ctlogfile>] +[B<-keylogfile file>] +[B<-early_data file>] +[B] =head1 DESCRIPTION @@ -121,8 +141,10 @@ Print out a usage message. =item B<-connect host:port> -This specifies the host and optional port to connect to. If not specified -then an attempt is made to connect to the local host on port 4433. +This specifies the host and optional port to connect to. It is possible to +select the host and port using the optional target positional argument instead. +If neither this nor the target positonal argument are specified then an attempt +is made to connect to the local host on port 4433. =item B<-proxy host:port> @@ -130,9 +152,35 @@ When used with the B<-connect> flag, the program uses the host and port specified with this flag and issues an HTTP CONNECT command to connect to the desired server. +=item B<-unix path> + +Connect over the specified Unix-domain socket. + +=item B<-4> + +Use IPv4 only. + +=item B<-6> + +Use IPv6 only. + =item B<-servername name> -Set the TLS SNI (Server Name Indication) extension in the ClientHello message. +Set the TLS SNI (Server Name Indication) extension in the ClientHello message to +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. =item B<-cert certname> @@ -170,6 +218,13 @@ will never fail due to a server certificate verify failure. Return verification errors instead of continuing. This will typically abort the handshake with a fatal error. +=item B<-nameopt option> + +Option which determines how the subject or issuer names are displayed. The +B