1 1.1 christos =pod 2 1.1 christos {- OpenSSL::safe::output_do_not_edit_headers(); -} 3 1.1 christos 4 1.1 christos =head1 NAME 5 1.1 christos 6 1.1 christos openssl-s_client - SSL/TLS client program 7 1.1 christos 8 1.1 christos =head1 SYNOPSIS 9 1.1 christos 10 1.1 christos B<openssl> B<s_client> 11 1.1 christos [B<-help>] 12 1.1 christos [B<-ssl_config> I<section>] 13 1.3 christos [B<-connect> I<host>:I<port>] 14 1.1 christos [B<-host> I<hostname>] 15 1.1 christos [B<-port> I<port>] 16 1.3 christos [B<-bind> I<host>:I<port>] 17 1.3 christos [B<-proxy> I<host>:I<port>] 18 1.1 christos [B<-proxy_user> I<userid>] 19 1.1 christos [B<-proxy_pass> I<arg>] 20 1.1 christos [B<-unix> I<path>] 21 1.1 christos [B<-4>] 22 1.1 christos [B<-6>] 23 1.1 christos [B<-servername> I<name>] 24 1.1 christos [B<-noservername>] 25 1.1 christos [B<-verify> I<depth>] 26 1.1 christos [B<-verify_return_error>] 27 1.1 christos [B<-verify_quiet>] 28 1.1 christos [B<-verifyCAfile> I<filename>] 29 1.1 christos [B<-verifyCApath> I<dir>] 30 1.1 christos [B<-verifyCAstore> I<uri>] 31 1.1 christos [B<-cert> I<filename>] 32 1.1 christos [B<-certform> B<DER>|B<PEM>|B<P12>] 33 1.1 christos [B<-cert_chain> I<filename>] 34 1.1 christos [B<-build_chain>] 35 1.1 christos [B<-CRL> I<filename>] 36 1.1 christos [B<-CRLform> B<DER>|B<PEM>] 37 1.1 christos [B<-crl_download>] 38 1.1 christos [B<-key> I<filename>|I<uri>] 39 1.1 christos [B<-keyform> B<DER>|B<PEM>|B<P12>|B<ENGINE>] 40 1.1 christos [B<-pass> I<arg>] 41 1.1 christos [B<-chainCAfile> I<filename>] 42 1.1 christos [B<-chainCApath> I<directory>] 43 1.1 christos [B<-chainCAstore> I<uri>] 44 1.1 christos [B<-requestCAfile> I<filename>] 45 1.1 christos [B<-dane_tlsa_domain> I<domain>] 46 1.1 christos [B<-dane_tlsa_rrdata> I<rrdata>] 47 1.1 christos [B<-dane_ee_no_namechecks>] 48 1.1 christos [B<-reconnect>] 49 1.1 christos [B<-showcerts>] 50 1.1 christos [B<-prexit>] 51 1.1 christos [B<-debug>] 52 1.1 christos [B<-trace>] 53 1.1 christos [B<-nocommands>] 54 1.1 christos [B<-security_debug>] 55 1.1 christos [B<-security_debug_verbose>] 56 1.1 christos [B<-msg>] 57 1.1 christos [B<-timeout>] 58 1.1 christos [B<-mtu> I<size>] 59 1.1 christos [B<-no_etm>] 60 1.1 christos [B<-keymatexport> I<label>] 61 1.1 christos [B<-keymatexportlen> I<len>] 62 1.1 christos [B<-msgfile> I<filename>] 63 1.1 christos [B<-nbio_test>] 64 1.1 christos [B<-state>] 65 1.1 christos [B<-nbio>] 66 1.1 christos [B<-crlf>] 67 1.1 christos [B<-ign_eof>] 68 1.1 christos [B<-no_ign_eof>] 69 1.1 christos [B<-psk_identity> I<identity>] 70 1.1 christos [B<-psk> I<key>] 71 1.1 christos [B<-psk_session> I<file>] 72 1.1 christos [B<-quiet>] 73 1.1 christos [B<-sctp>] 74 1.1 christos [B<-sctp_label_bug>] 75 1.1 christos [B<-fallback_scsv>] 76 1.1 christos [B<-async>] 77 1.1 christos [B<-maxfraglen> I<len>] 78 1.1 christos [B<-max_send_frag>] 79 1.1 christos [B<-split_send_frag>] 80 1.1 christos [B<-max_pipelines>] 81 1.1 christos [B<-read_buf>] 82 1.1 christos [B<-ignore_unexpected_eof>] 83 1.1 christos [B<-bugs>] 84 1.1 christos [B<-comp>] 85 1.1 christos [B<-no_comp>] 86 1.1 christos [B<-brief>] 87 1.1 christos [B<-legacy_server_connect>] 88 1.1 christos [B<-no_legacy_server_connect>] 89 1.1 christos [B<-allow_no_dhe_kex>] 90 1.1 christos [B<-sigalgs> I<sigalglist>] 91 1.1 christos [B<-curves> I<curvelist>] 92 1.1 christos [B<-cipher> I<cipherlist>] 93 1.1 christos [B<-ciphersuites> I<val>] 94 1.1 christos [B<-serverpref>] 95 1.1 christos [B<-starttls> I<protocol>] 96 1.1 christos [B<-name> I<hostname>] 97 1.1 christos [B<-xmpphost> I<hostname>] 98 1.1 christos [B<-name> I<hostname>] 99 1.1 christos [B<-tlsextdebug>] 100 1.1 christos [B<-no_ticket>] 101 1.1 christos [B<-sess_out> I<filename>] 102 1.1 christos [B<-serverinfo> I<types>] 103 1.1 christos [B<-sess_in> I<filename>] 104 1.1 christos [B<-serverinfo> I<types>] 105 1.1 christos [B<-status>] 106 1.1 christos [B<-alpn> I<protocols>] 107 1.1 christos [B<-nextprotoneg> I<protocols>] 108 1.1 christos [B<-ct>] 109 1.1 christos [B<-noct>] 110 1.1 christos [B<-ctlogfile>] 111 1.1 christos [B<-keylogfile> I<file>] 112 1.1 christos [B<-early_data> I<file>] 113 1.1 christos [B<-enable_pha>] 114 1.1 christos [B<-use_srtp> I<value>] 115 1.1 christos [B<-srpuser> I<value>] 116 1.1 christos [B<-srppass> I<value>] 117 1.1 christos [B<-srp_lateuser>] 118 1.1 christos [B<-srp_moregroups>] 119 1.1 christos [B<-srp_strength> I<number>] 120 1.1 christos {- $OpenSSL::safe::opt_name_synopsis -} 121 1.1 christos {- $OpenSSL::safe::opt_version_synopsis -} 122 1.1 christos {- $OpenSSL::safe::opt_x_synopsis -} 123 1.1 christos {- $OpenSSL::safe::opt_trust_synopsis -} 124 1.1 christos {- $OpenSSL::safe::opt_s_synopsis -} 125 1.1 christos {- $OpenSSL::safe::opt_r_synopsis -} 126 1.1 christos {- $OpenSSL::safe::opt_provider_synopsis -} 127 1.1 christos {- $OpenSSL::safe::opt_engine_synopsis -}[B<-ssl_client_engine> I<id>] 128 1.1 christos {- $OpenSSL::safe::opt_v_synopsis -} 129 1.1 christos [I<host>:I<port>] 130 1.1 christos 131 1.1 christos =head1 DESCRIPTION 132 1.1 christos 133 1.1 christos This command implements a generic SSL/TLS client which 134 1.1 christos connects to a remote host using SSL/TLS. It is a I<very> useful diagnostic 135 1.1 christos tool for SSL servers. 136 1.1 christos 137 1.1 christos =head1 OPTIONS 138 1.1 christos 139 1.1 christos In addition to the options below, this command also supports the 140 1.1 christos common and client only options documented 141 1.1 christos in the "Supported Command Line Commands" section of the L<SSL_CONF_cmd(3)> 142 1.1 christos manual page. 143 1.1 christos 144 1.1 christos =over 4 145 1.1 christos 146 1.1 christos =item B<-help> 147 1.1 christos 148 1.1 christos Print out a usage message. 149 1.1 christos 150 1.1 christos =item B<-ssl_config> I<section> 151 1.1 christos 152 1.1 christos Use the specified section of the configuration file to configure the B<SSL_CTX> object. 153 1.1 christos 154 1.1 christos =item B<-connect> I<host>:I<port> 155 1.1 christos 156 1.1 christos This specifies the host and optional port to connect to. It is possible to 157 1.1 christos select the host and port using the optional target positional argument instead. 158 1.1 christos If neither this nor the target positional argument are specified then an attempt 159 1.1 christos is made to connect to the local host on port 4433. 160 1.3 christos If the host string is an IPv6 address, it must be enclosed in C<[> and C<]>. 161 1.1 christos 162 1.1 christos =item B<-host> I<hostname> 163 1.1 christos 164 1.1 christos Host to connect to; use B<-connect> instead. 165 1.1 christos 166 1.1 christos =item B<-port> I<port> 167 1.1 christos 168 1.1 christos Connect to the specified port; use B<-connect> instead. 169 1.1 christos 170 1.3 christos =item B<-bind> I<host>:I<port> 171 1.1 christos 172 1.1 christos This specifies the host address and or port to bind as the source for the 173 1.1 christos connection. For Unix-domain sockets the port is ignored and the host is 174 1.1 christos used as the source socket address. 175 1.3 christos If the host string is an IPv6 address, it must be enclosed in C<[> and C<]>. 176 1.1 christos 177 1.3 christos =item B<-proxy> I<host>:I<port> 178 1.1 christos 179 1.1 christos When used with the B<-connect> flag, the program uses the host and port 180 1.1 christos specified with this flag and issues an HTTP CONNECT command to connect 181 1.1 christos to the desired server. 182 1.3 christos If the host string is an IPv6 address, it must be enclosed in C<[> and C<]>. 183 1.1 christos 184 1.1 christos =item B<-proxy_user> I<userid> 185 1.1 christos 186 1.1 christos When used with the B<-proxy> flag, the program will attempt to authenticate 187 1.1 christos with the specified proxy using basic (base64) authentication. 188 1.1 christos NB: Basic authentication is insecure; the credentials are sent to the proxy 189 1.1 christos in easily reversible base64 encoding before any TLS/SSL session is established. 190 1.1 christos Therefore, these credentials are easily recovered by anyone able to sniff/trace 191 1.1 christos the network. Use with caution. 192 1.1 christos 193 1.1 christos =item B<-proxy_pass> I<arg> 194 1.1 christos 195 1.1 christos The proxy password source, used with the B<-proxy_user> flag. 196 1.1 christos For more information about the format of B<arg> 197 1.1 christos see L<openssl-passphrase-options(1)>. 198 1.1 christos 199 1.1 christos =item B<-unix> I<path> 200 1.1 christos 201 1.1 christos Connect over the specified Unix-domain socket. 202 1.1 christos 203 1.1 christos =item B<-4> 204 1.1 christos 205 1.1 christos Use IPv4 only. 206 1.1 christos 207 1.1 christos =item B<-6> 208 1.1 christos 209 1.1 christos Use IPv6 only. 210 1.1 christos 211 1.1 christos =item B<-servername> I<name> 212 1.1 christos 213 1.1 christos Set the TLS SNI (Server Name Indication) extension in the ClientHello message to 214 1.1 christos the given value. 215 1.1 christos If B<-servername> is not provided, the TLS SNI extension will be populated with 216 1.1 christos the name given to B<-connect> if it follows a DNS name format. If B<-connect> is 217 1.1 christos not provided either, the SNI is set to "localhost". 218 1.1 christos This is the default since OpenSSL 1.1.1. 219 1.1 christos 220 1.1 christos Even though SNI should normally be a DNS name and not an IP address, if 221 1.1 christos B<-servername> is provided then that name will be sent, regardless of whether 222 1.1 christos it is a DNS name or not. 223 1.1 christos 224 1.1 christos This option cannot be used in conjunction with B<-noservername>. 225 1.1 christos 226 1.1 christos =item B<-noservername> 227 1.1 christos 228 1.1 christos Suppresses sending of the SNI (Server Name Indication) extension in the 229 1.1 christos ClientHello message. Cannot be used in conjunction with the B<-servername> or 230 1.1 christos B<-dane_tlsa_domain> options. 231 1.1 christos 232 1.1 christos =item B<-cert> I<filename> 233 1.1 christos 234 1.1 christos The client certificate to use, if one is requested by the server. 235 1.1 christos The default is not to use a certificate. 236 1.1 christos 237 1.1 christos The chain for the client certificate may be specified using B<-cert_chain>. 238 1.1 christos 239 1.1 christos =item B<-certform> B<DER>|B<PEM>|B<P12> 240 1.1 christos 241 1.1 christos The client certificate file format to use; unspecified by default. 242 1.1 christos See L<openssl-format-options(1)> for details. 243 1.1 christos 244 1.1 christos =item B<-cert_chain> 245 1.1 christos 246 1.1 christos A file or URI of untrusted certificates to use when attempting to build the 247 1.1 christos certificate chain related to the certificate specified via the B<-cert> option. 248 1.1 christos The input can be in PEM, DER, or PKCS#12 format. 249 1.1 christos 250 1.1 christos =item B<-build_chain> 251 1.1 christos 252 1.1 christos Specify whether the application should build the client certificate chain to be 253 1.1 christos provided to the server. 254 1.1 christos 255 1.1 christos =item B<-CRL> I<filename> 256 1.1 christos 257 1.1 christos CRL file to use to check the server's certificate. 258 1.1 christos 259 1.1 christos =item B<-CRLform> B<DER>|B<PEM> 260 1.1 christos 261 1.1 christos The CRL file format; unspecified by default. 262 1.1 christos See L<openssl-format-options(1)> for details. 263 1.1 christos 264 1.1 christos =item B<-crl_download> 265 1.1 christos 266 1.3 christos Download CRL from distribution points in the certificate. Note that this option 267 1.3 christos is ignored if B<-crl_check> option is not provided. Note that the maximum size 268 1.3 christos of CRL is limited by L<X509_CRL_load_http(3)> function. 269 1.1 christos 270 1.1 christos =item B<-key> I<filename>|I<uri> 271 1.1 christos 272 1.1 christos The client private key to use. 273 1.1 christos If not specified then the certificate file will be used to read also the key. 274 1.1 christos 275 1.1 christos =item B<-keyform> B<DER>|B<PEM>|B<P12>|B<ENGINE> 276 1.1 christos 277 1.1 christos The key format; unspecified by default. 278 1.1 christos See L<openssl-format-options(1)> for details. 279 1.1 christos 280 1.1 christos =item B<-pass> I<arg> 281 1.1 christos 282 1.2 christos the private key and certificate file password source. 283 1.1 christos For more information about the format of I<arg> 284 1.1 christos see L<openssl-passphrase-options(1)>. 285 1.1 christos 286 1.1 christos =item B<-verify> I<depth> 287 1.1 christos 288 1.1 christos The verify depth to use. This specifies the maximum length of the 289 1.1 christos server certificate chain and turns on server certificate verification. 290 1.3 christos Unless the B<-verify_return_error> option is given, 291 1.3 christos the verify operation continues after errors so all the problems 292 1.1 christos with a certificate chain can be seen. As a side effect the connection 293 1.1 christos will never fail due to a server certificate verify failure. 294 1.1 christos 295 1.3 christos By default, validation of server certificates and their chain 296 1.3 christos is done w.r.t. the (D)TLS Server (C<sslserver>) purpose. 297 1.3 christos For details see L<openssl-verification-options(1)/Certificate Extensions>. 298 1.3 christos 299 1.1 christos =item B<-verify_return_error> 300 1.1 christos 301 1.3 christos Turns on server certificate verification, like with B<-verify>, 302 1.3 christos but returns verification errors instead of continuing. 303 1.3 christos This will typically abort the handshake with a fatal error. 304 1.1 christos 305 1.1 christos =item B<-verify_quiet> 306 1.1 christos 307 1.1 christos Limit verify output to only errors. 308 1.1 christos 309 1.1 christos =item B<-verifyCAfile> I<filename> 310 1.1 christos 311 1.1 christos A file in PEM format containing trusted certificates to use 312 1.1 christos for verifying the server's certificate. 313 1.1 christos 314 1.1 christos =item B<-verifyCApath> I<dir> 315 1.1 christos 316 1.1 christos A directory containing trusted certificates to use 317 1.1 christos for verifying the server's certificate. 318 1.1 christos This directory must be in "hash format", 319 1.1 christos see L<openssl-verify(1)> for more information. 320 1.1 christos 321 1.1 christos =item B<-verifyCAstore> I<uri> 322 1.1 christos 323 1.1 christos The URI of a store containing trusted certificates to use 324 1.1 christos for verifying the server's certificate. 325 1.1 christos 326 1.1 christos =item B<-chainCAfile> I<file> 327 1.1 christos 328 1.1 christos A file in PEM format containing trusted certificates to use 329 1.1 christos when attempting to build the client certificate chain. 330 1.1 christos 331 1.1 christos =item B<-chainCApath> I<directory> 332 1.1 christos 333 1.1 christos A directory containing trusted certificates to use 334 1.1 christos for building the client certificate chain provided to the server. 335 1.1 christos This directory must be in "hash format", 336 1.1 christos see L<openssl-verify(1)> for more information. 337 1.1 christos 338 1.1 christos =item B<-chainCAstore> I<uri> 339 1.1 christos 340 1.1 christos The URI of a store containing trusted certificates to use 341 1.1 christos when attempting to build the client certificate chain. 342 1.1 christos The URI may indicate a single certificate, as well as a collection of them. 343 1.1 christos With URIs in the C<file:> scheme, this acts as B<-chainCAfile> or 344 1.1 christos B<-chainCApath>, depending on if the URI indicates a directory or a 345 1.1 christos single file. 346 1.1 christos See L<ossl_store-file(7)> for more information on the C<file:> scheme. 347 1.1 christos 348 1.1 christos =item B<-requestCAfile> I<file> 349 1.1 christos 350 1.1 christos A file containing a list of certificates whose subject names will be sent 351 1.1 christos to the server in the B<certificate_authorities> extension. Only supported 352 1.1 christos for TLS 1.3 353 1.1 christos 354 1.1 christos =item B<-dane_tlsa_domain> I<domain> 355 1.1 christos 356 1.1 christos Enable RFC6698/RFC7671 DANE TLSA authentication and specify the 357 1.1 christos TLSA base domain which becomes the default SNI hint and the primary 358 1.1 christos reference identifier for hostname checks. This must be used in 359 1.1 christos combination with at least one instance of the B<-dane_tlsa_rrdata> 360 1.1 christos option below. 361 1.1 christos 362 1.1 christos When DANE authentication succeeds, the diagnostic output will include 363 1.1 christos the lowest (closest to 0) depth at which a TLSA record authenticated 364 1.1 christos a chain certificate. When that TLSA record is a "2 1 0" trust 365 1.1 christos anchor public key that signed (rather than matched) the top-most 366 1.1 christos certificate of the chain, the result is reported as "TA public key 367 1.1 christos verified". Otherwise, either the TLSA record "matched TA certificate" 368 1.1 christos at a positive depth or else "matched EE certificate" at depth 0. 369 1.1 christos 370 1.1 christos =item B<-dane_tlsa_rrdata> I<rrdata> 371 1.1 christos 372 1.1 christos Use one or more times to specify the RRDATA fields of the DANE TLSA 373 1.1 christos RRset associated with the target service. The I<rrdata> value is 374 1.1 christos specified in "presentation form", that is four whitespace separated 375 1.1 christos fields that specify the usage, selector, matching type and associated 376 1.1 christos data, with the last of these encoded in hexadecimal. Optional 377 1.1 christos whitespace is ignored in the associated data field. For example: 378 1.1 christos 379 1.1 christos $ openssl s_client -brief -starttls smtp \ 380 1.1 christos -connect smtp.example.com:25 \ 381 1.1 christos -dane_tlsa_domain smtp.example.com \ 382 1.1 christos -dane_tlsa_rrdata "2 1 1 383 1.1 christos B111DD8A1C2091A89BD4FD60C57F0716CCE50FEEFF8137CDBEE0326E 02CF362B" \ 384 1.1 christos -dane_tlsa_rrdata "2 1 1 385 1.1 christos 60B87575447DCBA2A36B7D11AC09FB24A9DB406FEE12D2CC90180517 616E8A18" 386 1.1 christos ... 387 1.1 christos Verification: OK 388 1.1 christos Verified peername: smtp.example.com 389 1.1 christos DANE TLSA 2 1 1 ...ee12d2cc90180517616e8a18 matched TA certificate at depth 1 390 1.1 christos ... 391 1.1 christos 392 1.1 christos =item B<-dane_ee_no_namechecks> 393 1.1 christos 394 1.1 christos This disables server name checks when authenticating via DANE-EE(3) TLSA 395 1.1 christos records. 396 1.1 christos For some applications, primarily web browsers, it is not safe to disable name 397 1.1 christos checks due to "unknown key share" attacks, in which a malicious server can 398 1.1 christos convince a client that a connection to a victim server is instead a secure 399 1.1 christos connection to the malicious server. 400 1.1 christos The malicious server may then be able to violate cross-origin scripting 401 1.1 christos restrictions. 402 1.1 christos Thus, despite the text of RFC7671, name checks are by default enabled for 403 1.1 christos DANE-EE(3) TLSA records, and can be disabled in applications where it is safe 404 1.1 christos to do so. 405 1.1 christos In particular, SMTP and XMPP clients should set this option as SRV and MX 406 1.1 christos records already make it possible for a remote domain to redirect client 407 1.1 christos connections to any server of its choice, and in any case SMTP and XMPP clients 408 1.1 christos do not execute scripts downloaded from remote servers. 409 1.1 christos 410 1.1 christos =item B<-reconnect> 411 1.1 christos 412 1.1 christos Reconnects to the same server 5 times using the same session ID, this can 413 1.1 christos be used as a test that session caching is working. 414 1.1 christos 415 1.1 christos =item B<-showcerts> 416 1.1 christos 417 1.1 christos Displays the server certificate list as sent by the server: it only consists of 418 1.1 christos certificates the server has sent (in the order the server has sent them). It is 419 1.1 christos B<not> a verified chain. 420 1.1 christos 421 1.1 christos =item B<-prexit> 422 1.1 christos 423 1.1 christos Print session information when the program exits. This will always attempt 424 1.1 christos to print out information even if the connection fails. Normally information 425 1.1 christos will only be printed out once if the connection succeeds. This option is useful 426 1.1 christos because the cipher in use may be renegotiated or the connection may fail 427 1.1 christos because a client certificate is required or is requested only after an 428 1.1 christos attempt is made to access a certain URL. Note: the output produced by this 429 1.1 christos option is not always accurate because a connection might never have been 430 1.1 christos established. 431 1.1 christos 432 1.1 christos =item B<-state> 433 1.1 christos 434 1.1 christos Prints out the SSL session states. 435 1.1 christos 436 1.1 christos =item B<-debug> 437 1.1 christos 438 1.1 christos Print extensive debugging information including a hex dump of all traffic. 439 1.1 christos 440 1.1 christos =item B<-nocommands> 441 1.1 christos 442 1.1 christos Do not use interactive command letters. 443 1.1 christos 444 1.1 christos =item B<-security_debug> 445 1.1 christos 446 1.1 christos Enable security debug messages. 447 1.1 christos 448 1.1 christos =item B<-security_debug_verbose> 449 1.1 christos 450 1.1 christos Output more security debug output. 451 1.1 christos 452 1.1 christos =item B<-msg> 453 1.1 christos 454 1.1 christos Show protocol messages. 455 1.1 christos 456 1.1 christos =item B<-timeout> 457 1.1 christos 458 1.1 christos Enable send/receive timeout on DTLS connections. 459 1.1 christos 460 1.1 christos =item B<-mtu> I<size> 461 1.1 christos 462 1.1 christos Set MTU of the link layer to the specified size. 463 1.1 christos 464 1.1 christos =item B<-no_etm> 465 1.1 christos 466 1.1 christos Disable Encrypt-then-MAC negotiation. 467 1.1 christos 468 1.1 christos =item B<-keymatexport> I<label> 469 1.1 christos 470 1.1 christos Export keying material using the specified label. 471 1.1 christos 472 1.1 christos =item B<-keymatexportlen> I<len> 473 1.1 christos 474 1.1 christos Export the specified number of bytes of keying material; default is 20. 475 1.1 christos 476 1.1 christos Show all protocol messages with hex dump. 477 1.1 christos 478 1.1 christos =item B<-trace> 479 1.1 christos 480 1.1 christos Show verbose trace output of protocol messages. 481 1.1 christos 482 1.1 christos =item B<-msgfile> I<filename> 483 1.1 christos 484 1.1 christos File to send output of B<-msg> or B<-trace> to, default standard output. 485 1.1 christos 486 1.1 christos =item B<-nbio_test> 487 1.1 christos 488 1.1 christos Tests nonblocking I/O 489 1.1 christos 490 1.1 christos =item B<-nbio> 491 1.1 christos 492 1.1 christos Turns on nonblocking I/O 493 1.1 christos 494 1.1 christos =item B<-crlf> 495 1.1 christos 496 1.1 christos This option translated a line feed from the terminal into CR+LF as required 497 1.1 christos by some servers. 498 1.1 christos 499 1.1 christos =item B<-ign_eof> 500 1.1 christos 501 1.1 christos Inhibit shutting down the connection when end of file is reached in the 502 1.1 christos input. 503 1.1 christos 504 1.1 christos =item B<-quiet> 505 1.1 christos 506 1.1 christos Inhibit printing of session and certificate information. This implicitly 507 1.1 christos turns on B<-ign_eof> as well. 508 1.1 christos 509 1.1 christos =item B<-no_ign_eof> 510 1.1 christos 511 1.1 christos Shut down the connection when end of file is reached in the input. 512 1.1 christos Can be used to override the implicit B<-ign_eof> after B<-quiet>. 513 1.1 christos 514 1.1 christos =item B<-psk_identity> I<identity> 515 1.1 christos 516 1.1 christos Use the PSK identity I<identity> when using a PSK cipher suite. 517 1.1 christos The default value is "Client_identity" (without the quotes). 518 1.1 christos 519 1.1 christos =item B<-psk> I<key> 520 1.1 christos 521 1.1 christos Use the PSK key I<key> when using a PSK cipher suite. The key is 522 1.1 christos given as a hexadecimal number without leading 0x, for example -psk 523 1.1 christos 1a2b3c4d. 524 1.1 christos This option must be provided in order to use a PSK cipher. 525 1.1 christos 526 1.1 christos =item B<-psk_session> I<file> 527 1.1 christos 528 1.1 christos Use the pem encoded SSL_SESSION data stored in I<file> as the basis of a PSK. 529 1.1 christos Note that this will only work if TLSv1.3 is negotiated. 530 1.1 christos 531 1.1 christos =item B<-sctp> 532 1.1 christos 533 1.1 christos Use SCTP for the transport protocol instead of UDP in DTLS. Must be used in 534 1.1 christos conjunction with B<-dtls>, B<-dtls1> or B<-dtls1_2>. This option is only 535 1.1 christos available where OpenSSL has support for SCTP enabled. 536 1.1 christos 537 1.1 christos =item B<-sctp_label_bug> 538 1.1 christos 539 1.1 christos Use the incorrect behaviour of older OpenSSL implementations when computing 540 1.1 christos endpoint-pair shared secrets for DTLS/SCTP. This allows communication with 541 1.1 christos older broken implementations but breaks interoperability with correct 542 1.1 christos implementations. Must be used in conjunction with B<-sctp>. This option is only 543 1.1 christos available where OpenSSL has support for SCTP enabled. 544 1.1 christos 545 1.1 christos =item B<-fallback_scsv> 546 1.1 christos 547 1.1 christos Send TLS_FALLBACK_SCSV in the ClientHello. 548 1.1 christos 549 1.1 christos =item B<-async> 550 1.1 christos 551 1.1 christos Switch on asynchronous mode. Cryptographic operations will be performed 552 1.1 christos asynchronously. This will only have an effect if an asynchronous capable engine 553 1.1 christos is also used via the B<-engine> option. For test purposes the dummy async engine 554 1.1 christos (dasync) can be used (if available). 555 1.1 christos 556 1.1 christos =item B<-maxfraglen> I<len> 557 1.1 christos 558 1.1 christos Enable Maximum Fragment Length Negotiation; allowed values are 559 1.1 christos C<512>, C<1024>, C<2048>, and C<4096>. 560 1.1 christos 561 1.1 christos =item B<-max_send_frag> I<int> 562 1.1 christos 563 1.1 christos The maximum size of data fragment to send. 564 1.1 christos See L<SSL_CTX_set_max_send_fragment(3)> for further information. 565 1.1 christos 566 1.1 christos =item B<-split_send_frag> I<int> 567 1.1 christos 568 1.1 christos The size used to split data for encrypt pipelines. If more data is written in 569 1.1 christos one go than this value then it will be split into multiple pipelines, up to the 570 1.1 christos maximum number of pipelines defined by max_pipelines. This only has an effect if 571 1.1 christos a suitable cipher suite has been negotiated, an engine that supports pipelining 572 1.1 christos has been loaded, and max_pipelines is greater than 1. See 573 1.1 christos L<SSL_CTX_set_split_send_fragment(3)> for further information. 574 1.1 christos 575 1.1 christos =item B<-max_pipelines> I<int> 576 1.1 christos 577 1.1 christos The maximum number of encrypt/decrypt pipelines to be used. This will only have 578 1.1 christos an effect if an engine has been loaded that supports pipelining (e.g. the dasync 579 1.1 christos engine) and a suitable cipher suite has been negotiated. The default value is 1. 580 1.1 christos See L<SSL_CTX_set_max_pipelines(3)> for further information. 581 1.1 christos 582 1.1 christos =item B<-read_buf> I<int> 583 1.1 christos 584 1.1 christos The default read buffer size to be used for connections. This will only have an 585 1.1 christos effect if the buffer size is larger than the size that would otherwise be used 586 1.1 christos and pipelining is in use (see L<SSL_CTX_set_default_read_buffer_len(3)> for 587 1.1 christos further information). 588 1.1 christos 589 1.1 christos =item B<-ignore_unexpected_eof> 590 1.1 christos 591 1.1 christos Some TLS implementations do not send the mandatory close_notify alert on 592 1.1 christos shutdown. If the application tries to wait for the close_notify alert but the 593 1.1 christos peer closes the connection without sending it, an error is generated. When this 594 1.1 christos option is enabled the peer does not need to send the close_notify alert and a 595 1.1 christos closed connection will be treated as if the close_notify alert was received. 596 1.1 christos For more information on shutting down a connection, see L<SSL_shutdown(3)>. 597 1.1 christos 598 1.1 christos =item B<-bugs> 599 1.1 christos 600 1.1 christos There are several known bugs in SSL and TLS implementations. Adding this 601 1.1 christos option enables various workarounds. 602 1.1 christos 603 1.1 christos =item B<-comp> 604 1.1 christos 605 1.1 christos Enables support for SSL/TLS compression. 606 1.1 christos This option was introduced in OpenSSL 1.1.0. 607 1.1 christos TLS compression is not recommended and is off by default as of 608 1.1 christos OpenSSL 1.1.0. 609 1.1 christos 610 1.1 christos =item B<-no_comp> 611 1.1 christos 612 1.1 christos Disables support for SSL/TLS compression. 613 1.1 christos TLS compression is not recommended and is off by default as of 614 1.1 christos OpenSSL 1.1.0. 615 1.1 christos 616 1.1 christos =item B<-brief> 617 1.1 christos 618 1.1 christos Only provide a brief summary of connection parameters instead of the 619 1.1 christos normal verbose output. 620 1.1 christos 621 1.1 christos =item B<-sigalgs> I<sigalglist> 622 1.1 christos 623 1.1 christos Specifies the list of signature algorithms that are sent by the client. 624 1.1 christos The server selects one entry in the list based on its preferences. 625 1.1 christos For example strings, see L<SSL_CTX_set1_sigalgs(3)> 626 1.1 christos 627 1.1 christos =item B<-curves> I<curvelist> 628 1.1 christos 629 1.1 christos Specifies the list of supported curves to be sent by the client. The curve is 630 1.2 christos ultimately selected by the server. 631 1.2 christos 632 1.2 christos The list of all supported groups includes named EC parameters as well as X25519 633 1.2 christos and X448 or FFDHE groups, and may also include groups implemented in 3rd-party 634 1.2 christos providers. For a list of named EC parameters, use: 635 1.1 christos 636 1.1 christos $ openssl ecparam -list_curves 637 1.1 christos 638 1.1 christos =item B<-cipher> I<cipherlist> 639 1.1 christos 640 1.1 christos This allows the TLSv1.2 and below cipher list sent by the client to be modified. 641 1.1 christos This list will be combined with any TLSv1.3 ciphersuites that have been 642 1.1 christos configured. Although the server determines which ciphersuite is used it should 643 1.1 christos take the first supported cipher in the list sent by the client. See 644 1.1 christos L<openssl-ciphers(1)> for more information. 645 1.1 christos 646 1.1 christos =item B<-ciphersuites> I<val> 647 1.1 christos 648 1.1 christos This allows the TLSv1.3 ciphersuites sent by the client to be modified. This 649 1.1 christos list will be combined with any TLSv1.2 and below ciphersuites that have been 650 1.1 christos configured. Although the server determines which cipher suite is used it should 651 1.1 christos take the first supported cipher in the list sent by the client. See 652 1.1 christos L<openssl-ciphers(1)> for more information. The format for this list is a simple 653 1.1 christos colon (":") separated list of TLSv1.3 ciphersuite names. 654 1.1 christos 655 1.1 christos =item B<-starttls> I<protocol> 656 1.1 christos 657 1.1 christos Send the protocol-specific message(s) to switch to TLS for communication. 658 1.1 christos I<protocol> is a keyword for the intended protocol. Currently, the only 659 1.1 christos supported keywords are "smtp", "pop3", "imap", "ftp", "xmpp", "xmpp-server", 660 1.1 christos "irc", "postgres", "mysql", "lmtp", "nntp", "sieve" and "ldap". 661 1.1 christos 662 1.1 christos =item B<-xmpphost> I<hostname> 663 1.1 christos 664 1.1 christos This option, when used with "-starttls xmpp" or "-starttls xmpp-server", 665 1.1 christos specifies the host for the "to" attribute of the stream element. 666 1.1 christos If this option is not specified, then the host specified with "-connect" 667 1.1 christos will be used. 668 1.1 christos 669 1.1 christos This option is an alias of the B<-name> option for "xmpp" and "xmpp-server". 670 1.1 christos 671 1.1 christos =item B<-name> I<hostname> 672 1.1 christos 673 1.1 christos This option is used to specify hostname information for various protocols 674 1.1 christos used with B<-starttls> option. Currently only "xmpp", "xmpp-server", 675 1.1 christos "smtp" and "lmtp" can utilize this B<-name> option. 676 1.1 christos 677 1.1 christos If this option is used with "-starttls xmpp" or "-starttls xmpp-server", 678 1.1 christos if specifies the host for the "to" attribute of the stream element. If this 679 1.1 christos option is not specified, then the host specified with "-connect" will be used. 680 1.1 christos 681 1.1 christos If this option is used with "-starttls lmtp" or "-starttls smtp", it specifies 682 1.1 christos the name to use in the "LMTP LHLO" or "SMTP EHLO" message, respectively. If 683 1.1 christos this option is not specified, then "mail.example.com" will be used. 684 1.1 christos 685 1.1 christos =item B<-tlsextdebug> 686 1.1 christos 687 1.1 christos Print out a hex dump of any TLS extensions received from the server. 688 1.1 christos 689 1.1 christos =item B<-no_ticket> 690 1.1 christos 691 1.1 christos Disable RFC4507bis session ticket support. 692 1.1 christos 693 1.1 christos =item B<-sess_out> I<filename> 694 1.1 christos 695 1.1 christos Output SSL session to I<filename>. 696 1.1 christos 697 1.1 christos =item B<-sess_in> I<filename> 698 1.1 christos 699 1.1 christos Load SSL session from I<filename>. The client will attempt to resume a 700 1.1 christos connection from this session. 701 1.1 christos 702 1.1 christos =item B<-serverinfo> I<types> 703 1.1 christos 704 1.1 christos A list of comma-separated TLS Extension Types (numbers between 0 and 705 1.1 christos 65535). Each type will be sent as an empty ClientHello TLS Extension. 706 1.1 christos The server's response (if any) will be encoded and displayed as a PEM 707 1.1 christos file. 708 1.1 christos 709 1.1 christos =item B<-status> 710 1.1 christos 711 1.1 christos Sends a certificate status request to the server (OCSP stapling). The server 712 1.1 christos response (if any) is printed out. 713 1.1 christos 714 1.1 christos =item B<-alpn> I<protocols>, B<-nextprotoneg> I<protocols> 715 1.1 christos 716 1.1 christos These flags enable the Enable the Application-Layer Protocol Negotiation 717 1.1 christos or Next Protocol Negotiation (NPN) extension, respectively. ALPN is the 718 1.1 christos IETF standard and replaces NPN. 719 1.1 christos The I<protocols> list is a comma-separated list of protocol names that 720 1.1 christos the client should advertise support for. The list should contain the most 721 1.1 christos desirable protocols first. Protocol names are printable ASCII strings, 722 1.1 christos for example "http/1.1" or "spdy/3". 723 1.1 christos An empty list of protocols is treated specially and will cause the 724 1.1 christos client to advertise support for the TLS extension but disconnect just 725 1.1 christos after receiving ServerHello with a list of server supported protocols. 726 1.1 christos The flag B<-nextprotoneg> cannot be specified if B<-tls1_3> is used. 727 1.1 christos 728 1.1 christos =item B<-ct>, B<-noct> 729 1.1 christos 730 1.1 christos Use one of these two options to control whether Certificate Transparency (CT) 731 1.1 christos is enabled (B<-ct>) or disabled (B<-noct>). 732 1.1 christos If CT is enabled, signed certificate timestamps (SCTs) will be requested from 733 1.1 christos the server and reported at handshake completion. 734 1.1 christos 735 1.1 christos Enabling CT also enables OCSP stapling, as this is one possible delivery method 736 1.1 christos for SCTs. 737 1.1 christos 738 1.1 christos =item B<-ctlogfile> 739 1.1 christos 740 1.1 christos A file containing a list of known Certificate Transparency logs. See 741 1.1 christos L<SSL_CTX_set_ctlog_list_file(3)> for the expected file format. 742 1.1 christos 743 1.1 christos =item B<-keylogfile> I<file> 744 1.1 christos 745 1.1 christos Appends TLS secrets to the specified keylog file such that external programs 746 1.1 christos (like Wireshark) can decrypt TLS connections. 747 1.1 christos 748 1.1 christos =item B<-early_data> I<file> 749 1.1 christos 750 1.1 christos Reads the contents of the specified file and attempts to send it as early data 751 1.1 christos to the server. This will only work with resumed sessions that support early 752 1.1 christos data and when the server accepts the early data. 753 1.1 christos 754 1.1 christos =item B<-enable_pha> 755 1.1 christos 756 1.1 christos For TLSv1.3 only, send the Post-Handshake Authentication extension. This will 757 1.1 christos happen whether or not a certificate has been provided via B<-cert>. 758 1.1 christos 759 1.1 christos =item B<-use_srtp> I<value> 760 1.1 christos 761 1.1 christos Offer SRTP key management, where B<value> is a colon-separated profile list. 762 1.1 christos 763 1.1 christos =item B<-srpuser> I<value> 764 1.1 christos 765 1.1 christos Set the SRP username to the specified value. This option is deprecated. 766 1.1 christos 767 1.1 christos =item B<-srppass> I<value> 768 1.1 christos 769 1.1 christos Set the SRP password to the specified value. This option is deprecated. 770 1.1 christos 771 1.1 christos =item B<-srp_lateuser> 772 1.1 christos 773 1.1 christos SRP username for the second ClientHello message. This option is deprecated. 774 1.1 christos 775 1.1 christos =item B<-srp_moregroups> This option is deprecated. 776 1.1 christos 777 1.1 christos Tolerate other than the known B<g> and B<N> values. 778 1.1 christos 779 1.1 christos =item B<-srp_strength> I<number> 780 1.1 christos 781 1.1 christos Set the minimal acceptable length, in bits, for B<N>. This option is 782 1.1 christos deprecated. 783 1.1 christos 784 1.1 christos {- $OpenSSL::safe::opt_version_item -} 785 1.1 christos 786 1.1 christos {- $OpenSSL::safe::opt_name_item -} 787 1.1 christos 788 1.1 christos {- $OpenSSL::safe::opt_x_item -} 789 1.1 christos 790 1.1 christos {- $OpenSSL::safe::opt_trust_item -} 791 1.1 christos 792 1.1 christos {- $OpenSSL::safe::opt_s_item -} 793 1.1 christos 794 1.1 christos {- $OpenSSL::safe::opt_r_item -} 795 1.1 christos 796 1.1 christos {- $OpenSSL::safe::opt_provider_item -} 797 1.1 christos 798 1.1 christos {- $OpenSSL::safe::opt_engine_item -} 799 1.1 christos 800 1.1 christos {- output_off() if $disabled{"deprecated-3.0"}; "" -} 801 1.1 christos =item B<-ssl_client_engine> I<id> 802 1.1 christos 803 1.1 christos Specify engine to be used for client certificate operations. 804 1.1 christos {- output_on() if $disabled{"deprecated-3.0"}; "" -} 805 1.1 christos 806 1.1 christos {- $OpenSSL::safe::opt_v_item -} 807 1.1 christos 808 1.1 christos Verification errors are displayed, for debugging, but the command will 809 1.1 christos proceed unless the B<-verify_return_error> option is used. 810 1.1 christos 811 1.1 christos =item I<host>:I<port> 812 1.1 christos 813 1.3 christos Rather than providing B<-connect>, the target host and optional port may 814 1.1 christos be provided as a single positional argument after all options. If neither this 815 1.1 christos nor B<-connect> are provided, falls back to attempting to connect to 816 1.1 christos I<localhost> on port I<4433>. 817 1.3 christos If the host string is an IPv6 address, it must be enclosed in C<[> and C<]>. 818 1.1 christos 819 1.1 christos =back 820 1.1 christos 821 1.1 christos =head1 CONNECTED COMMANDS 822 1.1 christos 823 1.1 christos If a connection is established with an SSL server then any data received 824 1.1 christos from the server is displayed and any key presses will be sent to the 825 1.1 christos server. If end of file is reached then the connection will be closed down. When 826 1.1 christos used interactively (which means neither B<-quiet> nor B<-ign_eof> have been 827 1.1 christos given), then certain commands are also recognized which perform special 828 1.1 christos operations. These commands are a letter which must appear at the start of a 829 1.1 christos line. They are listed below. 830 1.1 christos 831 1.1 christos =over 4 832 1.1 christos 833 1.1 christos =item B<Q> 834 1.1 christos 835 1.1 christos End the current SSL connection and exit. 836 1.1 christos 837 1.1 christos =item B<R> 838 1.1 christos 839 1.1 christos Renegotiate the SSL session (TLSv1.2 and below only). 840 1.1 christos 841 1.1 christos =item B<k> 842 1.1 christos 843 1.1 christos Send a key update message to the server (TLSv1.3 only) 844 1.1 christos 845 1.1 christos =item B<K> 846 1.1 christos 847 1.1 christos Send a key update message to the server and request one back (TLSv1.3 only) 848 1.1 christos 849 1.1 christos =back 850 1.1 christos 851 1.1 christos =head1 NOTES 852 1.1 christos 853 1.1 christos This command can be used to debug SSL servers. To connect to an SSL HTTP 854 1.1 christos server the command: 855 1.1 christos 856 1.1 christos openssl s_client -connect servername:443 857 1.1 christos 858 1.1 christos would typically be used (https uses port 443). If the connection succeeds 859 1.1 christos then an HTTP command can be given such as "GET /" to retrieve a web page. 860 1.1 christos 861 1.1 christos If the handshake fails then there are several possible causes, if it is 862 1.1 christos nothing obvious like no client certificate then the B<-bugs>, 863 1.1 christos B<-ssl3>, B<-tls1>, B<-no_ssl3>, B<-no_tls1> options can be tried 864 1.1 christos in case it is a buggy server. In particular you should play with these 865 1.1 christos options B<before> submitting a bug report to an OpenSSL mailing list. 866 1.1 christos 867 1.1 christos A frequent problem when attempting to get client certificates working 868 1.1 christos is that a web client complains it has no certificates or gives an empty 869 1.1 christos list to choose from. This is normally because the server is not sending 870 1.1 christos the clients certificate authority in its "acceptable CA list" when it 871 1.1 christos requests a certificate. By using this command, the CA list can be viewed 872 1.1 christos and checked. However, some servers only request client authentication 873 1.1 christos after a specific URL is requested. To obtain the list in this case it 874 1.1 christos is necessary to use the B<-prexit> option and send an HTTP request 875 1.1 christos for an appropriate page. 876 1.1 christos 877 1.1 christos If a certificate is specified on the command line using the B<-cert> 878 1.1 christos option it will not be used unless the server specifically requests 879 1.1 christos a client certificate. Therefore, merely including a client certificate 880 1.1 christos on the command line is no guarantee that the certificate works. 881 1.1 christos 882 1.1 christos If there are problems verifying a server certificate then the 883 1.1 christos B<-showcerts> option can be used to show all the certificates sent by the 884 1.1 christos server. 885 1.1 christos 886 1.1 christos This command is a test tool and is designed to continue the 887 1.1 christos handshake after any certificate verification errors. As a result it will 888 1.1 christos accept any certificate chain (trusted or not) sent by the peer. Non-test 889 1.1 christos applications should B<not> do this as it makes them vulnerable to a MITM 890 1.1 christos attack. This behaviour can be changed by with the B<-verify_return_error> 891 1.1 christos option: any verify errors are then returned aborting the handshake. 892 1.1 christos 893 1.1 christos The B<-bind> option may be useful if the server or a firewall requires 894 1.1 christos connections to come from some particular address and or port. 895 1.1 christos 896 1.3 christos =head2 Note on Non-Interactive Use 897 1.3 christos 898 1.3 christos When B<s_client> is run in a non-interactive environment (e.g., a cron job or 899 1.3 christos a script without a valid I<stdin>), it may close the connection prematurely, 900 1.3 christos especially with TLS 1.3. To prevent this, you can use the B<-ign_eof> flag, 901 1.3 christos which keeps B<s_client> running even after reaching EOF from I<stdin>. 902 1.3 christos 903 1.3 christos For example: 904 1.3 christos 905 1.3 christos openssl s_client -connect <server address>:443 -tls1_3 906 1.3 christos -sess_out /path/to/tls_session_params_file 907 1.3 christos -ign_eof </dev/null 908 1.3 christos 909 1.3 christos However, relying solely on B<-ign_eof> can lead to issues if the server keeps 910 1.3 christos the connection open, expecting the client to close first. In such cases, the 911 1.3 christos client may hang indefinitely. This behavior is not uncommon, particularly with 912 1.3 christos protocols where the server waits for a graceful disconnect from the client. 913 1.3 christos 914 1.3 christos For example, when connecting to an SMTP server, the session may pause if the 915 1.3 christos server expects a QUIT command before closing: 916 1.3 christos 917 1.3 christos $ openssl s_client -brief -ign_eof -starttls smtp 918 1.3 christos -connect <server address>:25 </dev/null 919 1.3 christos CONNECTION ESTABLISHED 920 1.3 christos Protocol version: TLSv1.3 921 1.3 christos Ciphersuite: TLS_AES_256_GCM_SHA384 922 1.3 christos ... 923 1.3 christos 250 CHUNKING 924 1.3 christos [long pause] 925 1.3 christos 926 1.3 christos To avoid such hangs, it's better to use an application-level command to 927 1.3 christos initiate a clean disconnect. For SMTP, you can send a QUIT command: 928 1.3 christos 929 1.3 christos printf 'QUIT\r\n' | openssl s_client -connect <server address>:25 930 1.3 christos -starttls smtp -brief -ign_eof 931 1.3 christos 932 1.3 christos Similarly, for HTTP/1.1 connections, including a `Connection: close` header 933 1.3 christos ensures the server closes the connection after responding: 934 1.3 christos 935 1.3 christos printf 'GET / HTTP/1.1\r\nHost: <server address>\r\nConnection: close\r\n\r\n' 936 1.3 christos | openssl s_client -connect <server address>:443 -brief 937 1.3 christos 938 1.3 christos These approaches help manage the connection closure gracefully and prevent 939 1.3 christos hangs caused by the server waiting for the client to initiate the disconnect. 940 1.3 christos 941 1.1 christos =head1 BUGS 942 1.1 christos 943 1.1 christos Because this program has a lot of options and also because some of the 944 1.1 christos techniques used are rather old, the C source for this command is rather 945 1.1 christos hard to read and not a model of how things should be done. 946 1.1 christos A typical SSL client program would be much simpler. 947 1.1 christos 948 1.1 christos The B<-prexit> option is a bit of a hack. We should really report 949 1.1 christos information whenever a session is renegotiated. 950 1.1 christos 951 1.1 christos =head1 SEE ALSO 952 1.1 christos 953 1.1 christos L<openssl(1)>, 954 1.1 christos L<openssl-sess_id(1)>, 955 1.1 christos L<openssl-s_server(1)>, 956 1.1 christos L<openssl-ciphers(1)>, 957 1.1 christos L<SSL_CONF_cmd(3)>, 958 1.1 christos L<SSL_CTX_set_max_send_fragment(3)>, 959 1.1 christos L<SSL_CTX_set_split_send_fragment(3)>, 960 1.1 christos L<SSL_CTX_set_max_pipelines(3)>, 961 1.1 christos L<ossl_store-file(7)> 962 1.1 christos 963 1.1 christos =head1 HISTORY 964 1.1 christos 965 1.1 christos The B<-no_alt_chains> option was added in OpenSSL 1.1.0. 966 1.1 christos The B<-name> option was added in OpenSSL 1.1.1. 967 1.1 christos 968 1.1 christos The B<-certform> option has become obsolete in OpenSSL 3.0.0 and has no effect. 969 1.1 christos 970 1.1 christos The B<-engine> option was deprecated in OpenSSL 3.0. 971 1.1 christos 972 1.1 christos =head1 COPYRIGHT 973 1.1 christos 974 1.2 christos Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved. 975 1.1 christos 976 1.1 christos Licensed under the Apache License 2.0 (the "License"). You may not use 977 1.1 christos this file except in compliance with the License. You can obtain a copy 978 1.1 christos in the file LICENSE in the source distribution or at 979 1.1 christos L<https://www.openssl.org/source/license.html>. 980 1.1 christos 981 1.1 christos =cut 982