| 1 |
.\" -*- mode: troff; coding: utf-8 -*- |
| 2 |
.\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) |
| 3 |
.\" |
| 4 |
.\" Standard preamble: |
| 5 |
.\" ======================================================================== |
| 6 |
.de Sp \" Vertical space (when we can't use .PP) |
| 7 |
.if t .sp .5v |
| 8 |
.if n .sp |
| 9 |
.. |
| 10 |
.de Vb \" Begin verbatim text |
| 11 |
.ft CW |
| 12 |
.nf |
| 13 |
.ne \\$1 |
| 14 |
.. |
| 15 |
.de Ve \" End verbatim text |
| 16 |
.ft R |
| 17 |
.fi |
| 18 |
.. |
| 19 |
.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. |
| 20 |
.ie n \{\ |
| 21 |
. ds C` "" |
| 22 |
. ds C' "" |
| 23 |
'br\} |
| 24 |
.el\{\ |
| 25 |
. ds C` |
| 26 |
. ds C' |
| 27 |
'br\} |
| 28 |
.\" |
| 29 |
.\" Escape single quotes in literal strings from groff's Unicode transform. |
| 30 |
.ie \n(.g .ds Aq \(aq |
| 31 |
.el .ds Aq ' |
| 32 |
.\" |
| 33 |
.\" If the F register is >0, we'll generate index entries on stderr for |
| 34 |
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index |
| 35 |
.\" entries marked with X<> in POD. Of course, you'll have to process the |
| 36 |
.\" output yourself in some meaningful fashion. |
| 37 |
.\" |
| 38 |
.\" Avoid warning from groff about undefined register 'F'. |
| 39 |
.de IX |
| 40 |
.. |
| 41 |
.nr rF 0 |
| 42 |
.if \n(.g .if rF .nr rF 1 |
| 43 |
.if (\n(rF:(\n(.g==0)) \{\ |
| 44 |
. if \nF \{\ |
| 45 |
. de IX |
| 46 |
. tm Index:\\$1\t\\n%\t"\\$2" |
| 47 |
.. |
| 48 |
. if !\nF==2 \{\ |
| 49 |
. nr % 0 |
| 50 |
. nr F 2 |
| 51 |
. \} |
| 52 |
. \} |
| 53 |
.\} |
| 54 |
.rr rF |
| 55 |
.\" ======================================================================== |
| 56 |
.\" |
| 57 |
.IX Title "OPENSSL-S_CLIENT 1SSL" |
| 58 |
.TH OPENSSL-S_CLIENT 1SSL 2026-04-07 3.6.2 OpenSSL |
| 59 |
.\" For nroff, turn off justification. Always turn off hyphenation; it makes |
| 60 |
.\" way too many mistakes in technical documents. |
| 61 |
.if n .ad l |
| 62 |
.nh |
| 63 |
.SH NAME |
| 64 |
openssl\-s_client \- SSL/TLS client program |
| 65 |
.SH SYNOPSIS |
| 66 |
.IX Header "SYNOPSIS" |
| 67 |
\&\fBopenssl\fR \fBs_client\fR |
| 68 |
[\fB\-help\fR] |
| 69 |
[\fB\-ssl_config\fR \fIsection\fR] |
| 70 |
[\fB\-connect\fR \fIhost\fR:\fIport\fR] |
| 71 |
[\fB\-host\fR \fIhostname\fR] |
| 72 |
[\fB\-port\fR \fIport\fR] |
| 73 |
[\fB\-bind\fR \fIhost\fR:\fIport\fR] |
| 74 |
[\fB\-proxy\fR \fIhost\fR:\fIport\fR] |
| 75 |
[\fB\-proxy_user\fR \fIuserid\fR] |
| 76 |
[\fB\-proxy_pass\fR \fIarg\fR] |
| 77 |
[\fB\-unix\fR \fIpath\fR] |
| 78 |
[\fB\-4\fR] |
| 79 |
[\fB\-6\fR] |
| 80 |
[\fB\-quic\fR] |
| 81 |
[\fB\-servername\fR \fIname\fR] |
| 82 |
[\fB\-noservername\fR] |
| 83 |
[\fB\-verify\fR \fIdepth\fR] |
| 84 |
[\fB\-verify_return_error\fR] |
| 85 |
[\fB\-verify_quiet\fR] |
| 86 |
[\fB\-verifyCAfile\fR \fIfilename\fR] |
| 87 |
[\fB\-verifyCApath\fR \fIdir\fR] |
| 88 |
[\fB\-verifyCAstore\fR \fIuri\fR] |
| 89 |
[\fB\-cert\fR \fIfilename\fR] |
| 90 |
[\fB\-certform\fR \fBDER\fR|\fBPEM\fR|\fBP12\fR] |
| 91 |
[\fB\-cert_chain\fR \fIfilename\fR] |
| 92 |
[\fB\-build_chain\fR] |
| 93 |
[\fB\-CRL\fR \fIfilename\fR] |
| 94 |
[\fB\-CRLform\fR \fBDER\fR|\fBPEM\fR] |
| 95 |
[\fB\-crl_download\fR] |
| 96 |
[\fB\-key\fR \fIfilename\fR|\fIuri\fR] |
| 97 |
[\fB\-keyform\fR \fBDER\fR|\fBPEM\fR|\fBP12\fR|\fBENGINE\fR] |
| 98 |
[\fB\-pass\fR \fIarg\fR] |
| 99 |
[\fB\-chainCAfile\fR \fIfilename\fR] |
| 100 |
[\fB\-chainCApath\fR \fIdirectory\fR] |
| 101 |
[\fB\-chainCAstore\fR \fIuri\fR] |
| 102 |
[\fB\-requestCAfile\fR \fIfilename\fR] |
| 103 |
[\fB\-dane_tlsa_domain\fR \fIdomain\fR] |
| 104 |
[\fB\-dane_tlsa_rrdata\fR \fIrrdata\fR] |
| 105 |
[\fB\-dane_ee_no_namechecks\fR] |
| 106 |
[\fB\-reconnect\fR] |
| 107 |
[\fB\-showcerts\fR] |
| 108 |
[\fB\-prexit\fR] |
| 109 |
[\fB\-no\-interactive\fR] |
| 110 |
[\fB\-debug\fR] |
| 111 |
[\fB\-trace\fR] |
| 112 |
[\fB\-nocommands\fR] |
| 113 |
[\fB\-adv\fR] |
| 114 |
[\fB\-security_debug\fR] |
| 115 |
[\fB\-security_debug_verbose\fR] |
| 116 |
[\fB\-msg\fR] |
| 117 |
[\fB\-timeout\fR] |
| 118 |
[\fB\-mtu\fR \fIsize\fR] |
| 119 |
[\fB\-no_ems\fR] |
| 120 |
[\fB\-keymatexport\fR \fIlabel\fR] |
| 121 |
[\fB\-keymatexportlen\fR \fIlen\fR] |
| 122 |
[\fB\-msgfile\fR \fIfilename\fR] |
| 123 |
[\fB\-nbio_test\fR] |
| 124 |
[\fB\-state\fR] |
| 125 |
[\fB\-nbio\fR] |
| 126 |
[\fB\-crlf\fR] |
| 127 |
[\fB\-ign_eof\fR] |
| 128 |
[\fB\-no_ign_eof\fR] |
| 129 |
[\fB\-psk_identity\fR \fIidentity\fR] |
| 130 |
[\fB\-psk\fR \fIkey\fR] |
| 131 |
[\fB\-psk_session\fR \fIfile\fR] |
| 132 |
[\fB\-quiet\fR] |
| 133 |
[\fB\-sctp\fR] |
| 134 |
[\fB\-sctp_label_bug\fR] |
| 135 |
[\fB\-fallback_scsv\fR] |
| 136 |
[\fB\-async\fR] |
| 137 |
[\fB\-maxfraglen\fR \fIlen\fR] |
| 138 |
[\fB\-max_send_frag\fR] |
| 139 |
[\fB\-split_send_frag\fR] |
| 140 |
[\fB\-max_pipelines\fR] |
| 141 |
[\fB\-read_buf\fR] |
| 142 |
[\fB\-ignore_unexpected_eof\fR] |
| 143 |
[\fB\-no_tx_cert_comp\fR] |
| 144 |
[\fB\-no_rx_cert_comp\fR] |
| 145 |
[\fB\-brief\fR] |
| 146 |
[\fB\-starttls\fR \fIprotocol\fR] |
| 147 |
[\fB\-xmpphost\fR \fIhostname\fR] |
| 148 |
[\fB\-name\fR \fIhostname\fR] |
| 149 |
[\fB\-tlsextdebug\fR] |
| 150 |
[\fB\-sess_out\fR \fIfilename\fR] |
| 151 |
[\fB\-sess_in\fR \fIfilename\fR] |
| 152 |
[\fB\-serverinfo\fR \fItypes\fR] |
| 153 |
[\fB\-status\fR] |
| 154 |
[\fB\-ocsp_check_leaf\fR] |
| 155 |
[\fB\-ocsp_check_all\fR] |
| 156 |
[\fB\-alpn\fR \fIprotocols\fR] |
| 157 |
[\fB\-nextprotoneg\fR \fIprotocols\fR] |
| 158 |
[\fB\-ct\fR] |
| 159 |
[\fB\-noct\fR] |
| 160 |
[\fB\-ctlogfile\fR] |
| 161 |
[\fB\-keylogfile\fR \fIfile\fR] |
| 162 |
[\fB\-early_data\fR \fIfile\fR] |
| 163 |
[\fB\-enable_pha\fR] |
| 164 |
[\fB\-use_srtp\fR \fIvalue\fR] |
| 165 |
[\fB\-srpuser\fR \fIvalue\fR] |
| 166 |
[\fB\-srppass\fR \fIvalue\fR] |
| 167 |
[\fB\-srp_lateuser\fR] |
| 168 |
[\fB\-srp_moregroups\fR] |
| 169 |
[\fB\-srp_strength\fR \fInumber\fR] |
| 170 |
[\fB\-ktls\fR] |
| 171 |
[\fB\-tfo\fR] |
| 172 |
[\fB\-nameopt\fR \fIoption\fR] |
| 173 |
[\fB\-no_ssl3\fR] |
| 174 |
[\fB\-no_tls1\fR] |
| 175 |
[\fB\-no_tls1_1\fR] |
| 176 |
[\fB\-no_tls1_2\fR] |
| 177 |
[\fB\-no_tls1_3\fR] |
| 178 |
[\fB\-ssl3\fR] |
| 179 |
[\fB\-tls1\fR] |
| 180 |
[\fB\-tls1_1\fR] |
| 181 |
[\fB\-tls1_2\fR] |
| 182 |
[\fB\-tls1_3\fR] |
| 183 |
[\fB\-dtls\fR] |
| 184 |
[\fB\-dtls1\fR] |
| 185 |
[\fB\-dtls1_2\fR] |
| 186 |
[\fB\-xkey\fR \fIinfile\fR] |
| 187 |
[\fB\-xcert\fR \fIfile\fR] |
| 188 |
[\fB\-xchain\fR \fIfile\fR] |
| 189 |
[\fB\-xchain_build\fR \fIfile\fR] |
| 190 |
[\fB\-xcertform\fR \fBDER\fR|\fBPEM\fR]> |
| 191 |
[\fB\-xkeyform\fR \fBDER\fR|\fBPEM\fR]> |
| 192 |
[\fB\-CAfile\fR \fIfile\fR] |
| 193 |
[\fB\-no\-CAfile\fR] |
| 194 |
[\fB\-CApath\fR \fIdir\fR] |
| 195 |
[\fB\-no\-CApath\fR] |
| 196 |
[\fB\-CAstore\fR \fIuri\fR] |
| 197 |
[\fB\-no\-CAstore\fR] |
| 198 |
[\fB\-bugs\fR] |
| 199 |
[\fB\-no_comp\fR] |
| 200 |
[\fB\-comp\fR] |
| 201 |
[\fB\-no_ticket\fR] |
| 202 |
[\fB\-serverpref\fR] |
| 203 |
[\fB\-client_renegotiation\fR] |
| 204 |
[\fB\-legacy_renegotiation\fR] |
| 205 |
[\fB\-no_renegotiation\fR] |
| 206 |
[\fB\-no_resumption_on_reneg\fR] |
| 207 |
[\fB\-legacy_server_connect\fR] |
| 208 |
[\fB\-no_legacy_server_connect\fR] |
| 209 |
[\fB\-no_etm\fR] |
| 210 |
[\fB\-allow_no_dhe_kex\fR] |
| 211 |
[\fB\-prefer_no_dhe_kex\fR] |
| 212 |
[\fB\-prioritize_chacha\fR] |
| 213 |
[\fB\-strict\fR] |
| 214 |
[\fB\-sigalgs\fR \fIalgs\fR] |
| 215 |
[\fB\-client_sigalgs\fR \fIalgs\fR] |
| 216 |
[\fB\-groups\fR \fIgroups\fR] |
| 217 |
[\fB\-curves\fR \fIcurves\fR] |
| 218 |
[\fB\-named_curve\fR \fIcurve\fR] |
| 219 |
[\fB\-cipher\fR \fIciphers\fR] |
| 220 |
[\fB\-ciphersuites\fR \fI1.3ciphers\fR] |
| 221 |
[\fB\-min_protocol\fR \fIminprot\fR] |
| 222 |
[\fB\-max_protocol\fR \fImaxprot\fR] |
| 223 |
[\fB\-record_padding\fR \fIpadding\fR] |
| 224 |
[\fB\-debug_broken_protocol\fR] |
| 225 |
[\fB\-no_middlebox\fR] |
| 226 |
[\fB\-rand\fR \fIfiles\fR] |
| 227 |
[\fB\-writerand\fR \fIfile\fR] |
| 228 |
[\fB\-provider\fR \fIname\fR] |
| 229 |
[\fB\-provider\-path\fR \fIpath\fR] |
| 230 |
[\fB\-provparam\fR \fI[name:]key=value\fR] |
| 231 |
[\fB\-propquery\fR \fIpropq\fR] |
| 232 |
[\fB\-engine\fR \fIid\fR] |
| 233 |
[\fB\-ssl_client_engine\fR \fIid\fR] |
| 234 |
[\fB\-allow_proxy_certs\fR] |
| 235 |
[\fB\-attime\fR \fItimestamp\fR] |
| 236 |
[\fB\-no_check_time\fR] |
| 237 |
[\fB\-check_ss_sig\fR] |
| 238 |
[\fB\-crl_check\fR] |
| 239 |
[\fB\-crl_check_all\fR] |
| 240 |
[\fB\-explicit_policy\fR] |
| 241 |
[\fB\-extended_crl\fR] |
| 242 |
[\fB\-ignore_critical\fR] |
| 243 |
[\fB\-inhibit_any\fR] |
| 244 |
[\fB\-inhibit_map\fR] |
| 245 |
[\fB\-partial_chain\fR] |
| 246 |
[\fB\-policy\fR \fIarg\fR] |
| 247 |
[\fB\-policy_check\fR] |
| 248 |
[\fB\-policy_print\fR] |
| 249 |
[\fB\-purpose\fR \fIpurpose\fR] |
| 250 |
[\fB\-suiteB_128\fR] |
| 251 |
[\fB\-suiteB_128_only\fR] |
| 252 |
[\fB\-suiteB_192\fR] |
| 253 |
[\fB\-trusted_first\fR] |
| 254 |
[\fB\-no_alt_chains\fR] |
| 255 |
[\fB\-use_deltas\fR] |
| 256 |
[\fB\-auth_level\fR \fInum\fR] |
| 257 |
[\fB\-verify_depth\fR \fInum\fR] |
| 258 |
[\fB\-verify_email\fR \fIemail\fR] |
| 259 |
[\fB\-verify_hostname\fR \fIhostname\fR] |
| 260 |
[\fB\-verify_ip\fR \fIip\fR] |
| 261 |
[\fB\-verify_name\fR \fIname\fR] |
| 262 |
[\fB\-x509_strict\fR] |
| 263 |
[\fB\-issuer_checks\fR] |
| 264 |
[\fB\-enable_server_rpk\fR] |
| 265 |
[\fB\-enable_client_rpk\fR] |
| 266 |
[\fIhost\fR:\fIport\fR] |
| 267 |
.SH DESCRIPTION |
| 268 |
.IX Header "DESCRIPTION" |
| 269 |
This command implements a generic SSL/TLS client which |
| 270 |
connects to a remote host using SSL/TLS. It is a \fIvery\fR useful diagnostic |
| 271 |
tool for SSL servers. |
| 272 |
.SH OPTIONS |
| 273 |
.IX Header "OPTIONS" |
| 274 |
In addition to the options below, this command also supports the |
| 275 |
common and client only options documented |
| 276 |
in the "Supported Command Line Commands" section of the \fBSSL_CONF_cmd\fR\|(3) |
| 277 |
manual page. |
| 278 |
.IP \fB\-help\fR 4 |
| 279 |
.IX Item "-help" |
| 280 |
Print out a usage message. |
| 281 |
.IP "\fB\-ssl_config\fR \fIsection\fR" 4 |
| 282 |
.IX Item "-ssl_config section" |
| 283 |
Use the specified section of the configuration file to configure the \fBSSL_CTX\fR object. |
| 284 |
.IP "\fB\-connect\fR \fIhost\fR:\fIport\fR" 4 |
| 285 |
.IX Item "-connect host:port" |
| 286 |
This specifies the host and optional port to connect to. It is possible to |
| 287 |
select the host and port using the optional target positional argument instead. |
| 288 |
If neither this nor the target positional argument are specified then an attempt |
| 289 |
is made to connect to the local host on port 4433. |
| 290 |
If the host string is an IPv6 address, it must be enclosed in \f(CW\*(C`[\*(C'\fR and \f(CW\*(C`]\*(C'\fR. |
| 291 |
.IP "\fB\-host\fR \fIhostname\fR" 4 |
| 292 |
.IX Item "-host hostname" |
| 293 |
Host to connect to; use \fB\-connect\fR instead. |
| 294 |
.IP "\fB\-port\fR \fIport\fR" 4 |
| 295 |
.IX Item "-port port" |
| 296 |
Connect to the specified port; use \fB\-connect\fR instead. |
| 297 |
.IP "\fB\-bind\fR \fIhost\fR:\fIport\fR" 4 |
| 298 |
.IX Item "-bind host:port" |
| 299 |
This specifies the host address and or port to bind as the source for the |
| 300 |
connection. For Unix-domain sockets the port is ignored and the host is |
| 301 |
used as the source socket address. |
| 302 |
If the host string is an IPv6 address, it must be enclosed in \f(CW\*(C`[\*(C'\fR and \f(CW\*(C`]\*(C'\fR. |
| 303 |
.IP "\fB\-proxy\fR \fIhost\fR:\fIport\fR" 4 |
| 304 |
.IX Item "-proxy host:port" |
| 305 |
When used with the \fB\-connect\fR flag, the program uses the host and port |
| 306 |
specified with this flag and issues an HTTP CONNECT command to connect |
| 307 |
to the desired server. |
| 308 |
If the host string is an IPv6 address, it must be enclosed in \f(CW\*(C`[\*(C'\fR and \f(CW\*(C`]\*(C'\fR. |
| 309 |
.IP "\fB\-proxy_user\fR \fIuserid\fR" 4 |
| 310 |
.IX Item "-proxy_user userid" |
| 311 |
When used with the \fB\-proxy\fR flag, the program will attempt to authenticate |
| 312 |
with the specified proxy using basic (base64) authentication. |
| 313 |
NB: Basic authentication is insecure; the credentials are sent to the proxy |
| 314 |
in easily reversible base64 encoding before any TLS/SSL session is established. |
| 315 |
Therefore, these credentials are easily recovered by anyone able to sniff/trace |
| 316 |
the network. Use with caution. |
| 317 |
.IP "\fB\-proxy_pass\fR \fIarg\fR" 4 |
| 318 |
.IX Item "-proxy_pass arg" |
| 319 |
The proxy password source, used with the \fB\-proxy_user\fR flag. |
| 320 |
For more information about the format of \fBarg\fR |
| 321 |
see \fBopenssl\-passphrase\-options\fR\|(1). |
| 322 |
.IP "\fB\-unix\fR \fIpath\fR" 4 |
| 323 |
.IX Item "-unix path" |
| 324 |
Connect over the specified Unix-domain socket. |
| 325 |
.IP \fB\-4\fR 4 |
| 326 |
.IX Item "-4" |
| 327 |
Use IPv4 only. |
| 328 |
.IP \fB\-6\fR 4 |
| 329 |
.IX Item "-6" |
| 330 |
Use IPv6 only. |
| 331 |
.IP \fB\-quic\fR 4 |
| 332 |
.IX Item "-quic" |
| 333 |
Connect using the QUIC protocol. If specified then the \fB\-alpn\fR option must also |
| 334 |
be provided. |
| 335 |
.IP "\fB\-servername\fR \fIname\fR" 4 |
| 336 |
.IX Item "-servername name" |
| 337 |
Set the TLS SNI (Server Name Indication) extension in the ClientHello message to |
| 338 |
the given value. |
| 339 |
If \fB\-servername\fR is not provided, the TLS SNI extension will be populated with |
| 340 |
the name given to \fB\-connect\fR if it follows a DNS name format. If \fB\-connect\fR is |
| 341 |
not provided either, the SNI is set to "localhost". |
| 342 |
This is the default since OpenSSL 1.1.1. |
| 343 |
.Sp |
| 344 |
Even though SNI should normally be a DNS name and not an IP address, if |
| 345 |
\&\fB\-servername\fR is provided then that name will be sent, regardless of whether |
| 346 |
it is a DNS name or not. |
| 347 |
.Sp |
| 348 |
This option cannot be used in conjunction with \fB\-noservername\fR. |
| 349 |
.IP \fB\-noservername\fR 4 |
| 350 |
.IX Item "-noservername" |
| 351 |
Suppresses sending of the SNI (Server Name Indication) extension in the |
| 352 |
ClientHello message. Cannot be used in conjunction with the \fB\-servername\fR or |
| 353 |
\&\fB\-dane_tlsa_domain\fR options. |
| 354 |
.IP "\fB\-cert\fR \fIfilename\fR" 4 |
| 355 |
.IX Item "-cert filename" |
| 356 |
The client certificate to use, if one is requested by the server. |
| 357 |
The default is not to use a certificate. |
| 358 |
.Sp |
| 359 |
The chain for the client certificate may be specified using \fB\-cert_chain\fR. |
| 360 |
.IP "\fB\-certform\fR \fBDER\fR|\fBPEM\fR|\fBP12\fR" 4 |
| 361 |
.IX Item "-certform DER|PEM|P12" |
| 362 |
The client certificate file format to use; unspecified by default. |
| 363 |
See \fBopenssl\-format\-options\fR\|(1) for details. |
| 364 |
.IP \fB\-cert_chain\fR 4 |
| 365 |
.IX Item "-cert_chain" |
| 366 |
A file or URI of untrusted certificates to use when attempting to build the |
| 367 |
certificate chain related to the certificate specified via the \fB\-cert\fR option. |
| 368 |
The input can be in PEM, DER, or PKCS#12 format. |
| 369 |
.IP \fB\-build_chain\fR 4 |
| 370 |
.IX Item "-build_chain" |
| 371 |
Specify whether the application should build the client certificate chain to be |
| 372 |
provided to the server. |
| 373 |
.IP "\fB\-CRL\fR \fIfilename\fR" 4 |
| 374 |
.IX Item "-CRL filename" |
| 375 |
CRL file to use to check the server's certificate. |
| 376 |
.IP "\fB\-CRLform\fR \fBDER\fR|\fBPEM\fR" 4 |
| 377 |
.IX Item "-CRLform DER|PEM" |
| 378 |
The CRL file format; unspecified by default. |
| 379 |
See \fBopenssl\-format\-options\fR\|(1) for details. |
| 380 |
.IP \fB\-crl_download\fR 4 |
| 381 |
.IX Item "-crl_download" |
| 382 |
Download CRL from distribution points in the certificate. Note that this option |
| 383 |
is ignored if \fB\-crl_check\fR option is not provided. Note that the maximum size |
| 384 |
of CRL is limited by \fBX509_CRL_load_http\fR\|(3) function. |
| 385 |
.IP "\fB\-key\fR \fIfilename\fR|\fIuri\fR" 4 |
| 386 |
.IX Item "-key filename|uri" |
| 387 |
The client private key to use. |
| 388 |
If not specified then the certificate file will be used to read also the key. |
| 389 |
.IP "\fB\-keyform\fR \fBDER\fR|\fBPEM\fR|\fBP12\fR|\fBENGINE\fR" 4 |
| 390 |
.IX Item "-keyform DER|PEM|P12|ENGINE" |
| 391 |
The key format; unspecified by default. |
| 392 |
See \fBopenssl\-format\-options\fR\|(1) for details. |
| 393 |
.IP "\fB\-pass\fR \fIarg\fR" 4 |
| 394 |
.IX Item "-pass arg" |
| 395 |
the private key and certificate file password source. |
| 396 |
For more information about the format of \fIarg\fR |
| 397 |
see \fBopenssl\-passphrase\-options\fR\|(1). |
| 398 |
.IP "\fB\-verify\fR \fIdepth\fR" 4 |
| 399 |
.IX Item "-verify depth" |
| 400 |
The verify depth to use. This specifies the maximum length of the |
| 401 |
server certificate chain and turns on server certificate verification. |
| 402 |
Unless the \fB\-verify_return_error\fR option is given, |
| 403 |
the verify operation continues after errors so all the problems |
| 404 |
with a certificate chain can be seen. As a side effect the connection |
| 405 |
will never fail due to a server certificate verify failure. |
| 406 |
.Sp |
| 407 |
By default, validation of server certificates and their chain |
| 408 |
is done w.r.t. the (D)TLS Server (\f(CW\*(C`sslserver\*(C'\fR) purpose. |
| 409 |
For details see "Certificate Extensions" in \fBopenssl\-verification\-options\fR\|(1). |
| 410 |
.IP \fB\-verify_return_error\fR 4 |
| 411 |
.IX Item "-verify_return_error" |
| 412 |
Turns on server certificate verification, like with \fB\-verify\fR, |
| 413 |
but returns verification errors instead of continuing. |
| 414 |
This will typically abort the handshake with a fatal error. |
| 415 |
.IP \fB\-verify_quiet\fR 4 |
| 416 |
.IX Item "-verify_quiet" |
| 417 |
Limit verify output to only errors. |
| 418 |
.IP "\fB\-verifyCAfile\fR \fIfilename\fR" 4 |
| 419 |
.IX Item "-verifyCAfile filename" |
| 420 |
A file in PEM format containing trusted certificates to use |
| 421 |
for verifying the server's certificate. |
| 422 |
.IP "\fB\-verifyCApath\fR \fIdir\fR" 4 |
| 423 |
.IX Item "-verifyCApath dir" |
| 424 |
A directory containing trusted certificates to use |
| 425 |
for verifying the server's certificate. |
| 426 |
This directory must be in "hash format", |
| 427 |
see \fBopenssl\-verify\fR\|(1) for more information. |
| 428 |
.IP "\fB\-verifyCAstore\fR \fIuri\fR" 4 |
| 429 |
.IX Item "-verifyCAstore uri" |
| 430 |
The URI of a store containing trusted certificates to use |
| 431 |
for verifying the server's certificate. |
| 432 |
.IP "\fB\-chainCAfile\fR \fIfile\fR" 4 |
| 433 |
.IX Item "-chainCAfile file" |
| 434 |
A file in PEM format containing trusted certificates to use |
| 435 |
when attempting to build the client certificate chain. |
| 436 |
.IP "\fB\-chainCApath\fR \fIdirectory\fR" 4 |
| 437 |
.IX Item "-chainCApath directory" |
| 438 |
A directory containing trusted certificates to use |
| 439 |
for building the client certificate chain provided to the server. |
| 440 |
This directory must be in "hash format", |
| 441 |
see \fBopenssl\-verify\fR\|(1) for more information. |
| 442 |
.IP "\fB\-chainCAstore\fR \fIuri\fR" 4 |
| 443 |
.IX Item "-chainCAstore uri" |
| 444 |
The URI of a store containing trusted certificates to use |
| 445 |
when attempting to build the client certificate chain. |
| 446 |
The URI may indicate a single certificate, as well as a collection of them. |
| 447 |
With URIs in the \f(CW\*(C`file:\*(C'\fR scheme, this acts as \fB\-chainCAfile\fR or |
| 448 |
\&\fB\-chainCApath\fR, depending on if the URI indicates a directory or a |
| 449 |
single file. |
| 450 |
See \fBossl_store\-file\fR\|(7) for more information on the \f(CW\*(C`file:\*(C'\fR scheme. |
| 451 |
.IP "\fB\-requestCAfile\fR \fIfile\fR" 4 |
| 452 |
.IX Item "-requestCAfile file" |
| 453 |
A file containing a list of certificates whose subject names will be sent |
| 454 |
to the server in the \fBcertificate_authorities\fR extension. Only supported |
| 455 |
for TLS 1.3 |
| 456 |
.IP "\fB\-dane_tlsa_domain\fR \fIdomain\fR" 4 |
| 457 |
.IX Item "-dane_tlsa_domain domain" |
| 458 |
Enable RFC6698/RFC7671 DANE TLSA authentication and specify the |
| 459 |
TLSA base domain which becomes the default SNI hint and the primary |
| 460 |
reference identifier for hostname checks. This must be used in |
| 461 |
combination with at least one instance of the \fB\-dane_tlsa_rrdata\fR |
| 462 |
option below. |
| 463 |
.Sp |
| 464 |
When DANE authentication succeeds, the diagnostic output will include |
| 465 |
the lowest (closest to 0) depth at which a TLSA record authenticated |
| 466 |
a chain certificate. When that TLSA record is a "2 1 0" trust |
| 467 |
anchor public key that signed (rather than matched) the top-most |
| 468 |
certificate of the chain, the result is reported as "TA public key |
| 469 |
verified". Otherwise, either the TLSA record "matched TA certificate" |
| 470 |
at a positive depth or else "matched EE certificate" at depth 0. |
| 471 |
.IP "\fB\-dane_tlsa_rrdata\fR \fIrrdata\fR" 4 |
| 472 |
.IX Item "-dane_tlsa_rrdata rrdata" |
| 473 |
Use one or more times to specify the RRDATA fields of the DANE TLSA |
| 474 |
RRset associated with the target service. The \fIrrdata\fR value is |
| 475 |
specified in "presentation form", that is four whitespace separated |
| 476 |
fields that specify the usage, selector, matching type and associated |
| 477 |
data, with the last of these encoded in hexadecimal. Optional |
| 478 |
whitespace is ignored in the associated data field. For example: |
| 479 |
.Sp |
| 480 |
.Vb 12 |
| 481 |
\& $ openssl s_client \-brief \-starttls smtp \e |
| 482 |
\& \-connect smtp.example.com:25 \e |
| 483 |
\& \-dane_tlsa_domain smtp.example.com \e |
| 484 |
\& \-dane_tlsa_rrdata "2 1 1 |
| 485 |
\& B111DD8A1C2091A89BD4FD60C57F0716CCE50FEEFF8137CDBEE0326E 02CF362B" \e |
| 486 |
\& \-dane_tlsa_rrdata "2 1 1 |
| 487 |
\& 60B87575447DCBA2A36B7D11AC09FB24A9DB406FEE12D2CC90180517 616E8A18" |
| 488 |
\& ... |
| 489 |
\& Verification: OK |
| 490 |
\& Verified peername: smtp.example.com |
| 491 |
\& DANE TLSA 2 1 1 ...ee12d2cc90180517616e8a18 matched TA certificate at depth 1 |
| 492 |
\& ... |
| 493 |
.Ve |
| 494 |
.IP \fB\-dane_ee_no_namechecks\fR 4 |
| 495 |
.IX Item "-dane_ee_no_namechecks" |
| 496 |
This disables server name checks when authenticating via \fBDANE\-EE\fR\|(3) TLSA |
| 497 |
records. |
| 498 |
For some applications, primarily web browsers, it is not safe to disable name |
| 499 |
checks due to "unknown key share" attacks, in which a malicious server can |
| 500 |
convince a client that a connection to a victim server is instead a secure |
| 501 |
connection to the malicious server. |
| 502 |
The malicious server may then be able to violate cross-origin scripting |
| 503 |
restrictions. |
| 504 |
Thus, despite the text of RFC7671, name checks are by default enabled for |
| 505 |
\&\fBDANE\-EE\fR\|(3) TLSA records, and can be disabled in applications where it is safe |
| 506 |
to do so. |
| 507 |
In particular, SMTP and XMPP clients should set this option as SRV and MX |
| 508 |
records already make it possible for a remote domain to redirect client |
| 509 |
connections to any server of its choice, and in any case SMTP and XMPP clients |
| 510 |
do not execute scripts downloaded from remote servers. |
| 511 |
.IP \fB\-reconnect\fR 4 |
| 512 |
.IX Item "-reconnect" |
| 513 |
Reconnects to the same server 5 times using the same session ID, this can |
| 514 |
be used as a test that session caching is working. |
| 515 |
.IP \fB\-showcerts\fR 4 |
| 516 |
.IX Item "-showcerts" |
| 517 |
Displays the server certificate list as sent by the server: it only consists of |
| 518 |
certificates the server has sent (in the order the server has sent them). It is |
| 519 |
\&\fBnot\fR a verified chain. |
| 520 |
.IP \fB\-prexit\fR 4 |
| 521 |
.IX Item "-prexit" |
| 522 |
Print session information when the program exits. This will always attempt |
| 523 |
to print out information even if the connection fails. Normally information |
| 524 |
will only be printed out once if the connection succeeds. This option is useful |
| 525 |
because the cipher in use may be renegotiated or the connection may fail |
| 526 |
because a client certificate is required or is requested only after an |
| 527 |
attempt is made to access a certain URL. Note: the output produced by this |
| 528 |
option is not always accurate because a connection might never have been |
| 529 |
established. |
| 530 |
.IP \fB\-no\-interactive\fR 4 |
| 531 |
.IX Item "-no-interactive" |
| 532 |
This flag can be used to run the client in a non-interactive mode. |
| 533 |
.IP \fB\-state\fR 4 |
| 534 |
.IX Item "-state" |
| 535 |
Prints out the SSL session states. |
| 536 |
.IP \fB\-debug\fR 4 |
| 537 |
.IX Item "-debug" |
| 538 |
Print extensive debugging information including a hex dump of all traffic. |
| 539 |
.IP \fB\-nocommands\fR 4 |
| 540 |
.IX Item "-nocommands" |
| 541 |
Do not use interactive command letters. |
| 542 |
.IP \fB\-adv\fR 4 |
| 543 |
.IX Item "-adv" |
| 544 |
Use advanced command mode. |
| 545 |
.IP \fB\-security_debug\fR 4 |
| 546 |
.IX Item "-security_debug" |
| 547 |
Enable security debug messages. |
| 548 |
.IP \fB\-security_debug_verbose\fR 4 |
| 549 |
.IX Item "-security_debug_verbose" |
| 550 |
Output more security debug output. |
| 551 |
.IP \fB\-msg\fR 4 |
| 552 |
.IX Item "-msg" |
| 553 |
Show protocol messages. |
| 554 |
.IP \fB\-timeout\fR 4 |
| 555 |
.IX Item "-timeout" |
| 556 |
Enable send/receive timeout on DTLS connections. |
| 557 |
.IP "\fB\-mtu\fR \fIsize\fR" 4 |
| 558 |
.IX Item "-mtu size" |
| 559 |
Set MTU of the link layer to the specified size. |
| 560 |
.IP \fB\-no_ems\fR 4 |
| 561 |
.IX Item "-no_ems" |
| 562 |
Disable Extended master secret negotiation. |
| 563 |
.IP "\fB\-keymatexport\fR \fIlabel\fR" 4 |
| 564 |
.IX Item "-keymatexport label" |
| 565 |
Export keying material using the specified label. |
| 566 |
.IP "\fB\-keymatexportlen\fR \fIlen\fR" 4 |
| 567 |
.IX Item "-keymatexportlen len" |
| 568 |
Export the specified number of bytes of keying material; default is 20. |
| 569 |
.Sp |
| 570 |
Show all protocol messages with hex dump. |
| 571 |
.IP \fB\-trace\fR 4 |
| 572 |
.IX Item "-trace" |
| 573 |
Show verbose trace output of protocol messages. |
| 574 |
.IP "\fB\-msgfile\fR \fIfilename\fR" 4 |
| 575 |
.IX Item "-msgfile filename" |
| 576 |
File to send output of \fB\-msg\fR or \fB\-trace\fR to, default standard output. |
| 577 |
.IP \fB\-nbio_test\fR 4 |
| 578 |
.IX Item "-nbio_test" |
| 579 |
Tests nonblocking I/O |
| 580 |
.IP \fB\-nbio\fR 4 |
| 581 |
.IX Item "-nbio" |
| 582 |
Turns on nonblocking I/O |
| 583 |
.IP \fB\-crlf\fR 4 |
| 584 |
.IX Item "-crlf" |
| 585 |
This option translated a line feed from the terminal into CR+LF as required |
| 586 |
by some servers. |
| 587 |
.IP \fB\-ign_eof\fR 4 |
| 588 |
.IX Item "-ign_eof" |
| 589 |
Inhibit shutting down the connection when end of file is reached in the |
| 590 |
input. This implicitly turns on \fB\-nocommands\fR as well. |
| 591 |
.IP \fB\-quiet\fR 4 |
| 592 |
.IX Item "-quiet" |
| 593 |
Inhibit printing of session and certificate information. This implicitly |
| 594 |
turns on \fB\-ign_eof\fR and \fB\-nocommands\fR as well. |
| 595 |
.IP \fB\-no_ign_eof\fR 4 |
| 596 |
.IX Item "-no_ign_eof" |
| 597 |
Shut down the connection when end of file is reached in the input. |
| 598 |
Can be used to override the implicit \fB\-ign_eof\fR after \fB\-quiet\fR. |
| 599 |
.IP "\fB\-psk_identity\fR \fIidentity\fR" 4 |
| 600 |
.IX Item "-psk_identity identity" |
| 601 |
Use the PSK identity \fIidentity\fR when using a PSK cipher suite. |
| 602 |
The default value is "Client_identity" (without the quotes). |
| 603 |
.IP "\fB\-psk\fR \fIkey\fR" 4 |
| 604 |
.IX Item "-psk key" |
| 605 |
Use the PSK key \fIkey\fR when using a PSK cipher suite. The key is |
| 606 |
given as a hexadecimal number without leading 0x, for example \-psk |
| 607 |
1a2b3c4d. |
| 608 |
This option must be provided in order to use a PSK cipher. |
| 609 |
.IP "\fB\-psk_session\fR \fIfile\fR" 4 |
| 610 |
.IX Item "-psk_session file" |
| 611 |
Use the pem encoded SSL_SESSION data stored in \fIfile\fR as the basis of a PSK. |
| 612 |
Note that this will only work if TLSv1.3 is negotiated. |
| 613 |
.IP \fB\-sctp\fR 4 |
| 614 |
.IX Item "-sctp" |
| 615 |
Use SCTP for the transport protocol instead of UDP in DTLS. Must be used in |
| 616 |
conjunction with \fB\-dtls\fR, \fB\-dtls1\fR or \fB\-dtls1_2\fR. This option is only |
| 617 |
available where OpenSSL has support for SCTP enabled. |
| 618 |
.IP \fB\-sctp_label_bug\fR 4 |
| 619 |
.IX Item "-sctp_label_bug" |
| 620 |
Use the incorrect behaviour of older OpenSSL implementations when computing |
| 621 |
endpoint-pair shared secrets for DTLS/SCTP. This allows communication with |
| 622 |
older broken implementations but breaks interoperability with correct |
| 623 |
implementations. Must be used in conjunction with \fB\-sctp\fR. This option is only |
| 624 |
available where OpenSSL has support for SCTP enabled. |
| 625 |
.IP \fB\-fallback_scsv\fR 4 |
| 626 |
.IX Item "-fallback_scsv" |
| 627 |
Send TLS_FALLBACK_SCSV in the ClientHello. |
| 628 |
.IP \fB\-async\fR 4 |
| 629 |
.IX Item "-async" |
| 630 |
Switch on asynchronous mode. Cryptographic operations will be performed |
| 631 |
asynchronously. This will only have an effect if an asynchronous capable engine |
| 632 |
is also used via the \fB\-engine\fR option. For test purposes the dummy async engine |
| 633 |
(dasync) can be used (if available). |
| 634 |
.IP "\fB\-maxfraglen\fR \fIlen\fR" 4 |
| 635 |
.IX Item "-maxfraglen len" |
| 636 |
Enable Maximum Fragment Length Negotiation; allowed values are |
| 637 |
\&\f(CW512\fR, \f(CW1024\fR, \f(CW2048\fR, and \f(CW4096\fR. |
| 638 |
.IP "\fB\-max_send_frag\fR \fIint\fR" 4 |
| 639 |
.IX Item "-max_send_frag int" |
| 640 |
The maximum size of data fragment to send. |
| 641 |
See \fBSSL_CTX_set_max_send_fragment\fR\|(3) for further information. |
| 642 |
.IP "\fB\-split_send_frag\fR \fIint\fR" 4 |
| 643 |
.IX Item "-split_send_frag int" |
| 644 |
The size used to split data for encrypt pipelines. If more data is written in |
| 645 |
one go than this value then it will be split into multiple pipelines, up to the |
| 646 |
maximum number of pipelines defined by max_pipelines. This only has an effect if |
| 647 |
a suitable cipher suite has been negotiated, an engine that supports pipelining |
| 648 |
has been loaded, and max_pipelines is greater than 1. See |
| 649 |
\&\fBSSL_CTX_set_split_send_fragment\fR\|(3) for further information. |
| 650 |
.IP "\fB\-max_pipelines\fR \fIint\fR" 4 |
| 651 |
.IX Item "-max_pipelines int" |
| 652 |
The maximum number of encrypt/decrypt pipelines to be used. This will only have |
| 653 |
an effect if an engine has been loaded that supports pipelining (e.g. the dasync |
| 654 |
engine) and a suitable cipher suite has been negotiated. The default value is 1. |
| 655 |
See \fBSSL_CTX_set_max_pipelines\fR\|(3) for further information. |
| 656 |
.IP "\fB\-read_buf\fR \fIint\fR" 4 |
| 657 |
.IX Item "-read_buf int" |
| 658 |
The default read buffer size to be used for connections. This will only have an |
| 659 |
effect if the buffer size is larger than the size that would otherwise be used |
| 660 |
and pipelining is in use (see \fBSSL_CTX_set_default_read_buffer_len\fR\|(3) for |
| 661 |
further information). |
| 662 |
.IP \fB\-ignore_unexpected_eof\fR 4 |
| 663 |
.IX Item "-ignore_unexpected_eof" |
| 664 |
Some TLS implementations do not send the mandatory close_notify alert on |
| 665 |
shutdown. If the application tries to wait for the close_notify alert but the |
| 666 |
peer closes the connection without sending it, an error is generated. When this |
| 667 |
option is enabled the peer does not need to send the close_notify alert and a |
| 668 |
closed connection will be treated as if the close_notify alert was received. |
| 669 |
For more information on shutting down a connection, see \fBSSL_shutdown\fR\|(3). |
| 670 |
.IP \fB\-no_tx_cert_comp\fR 4 |
| 671 |
.IX Item "-no_tx_cert_comp" |
| 672 |
Disables support for sending TLSv1.3 compressed certificates. |
| 673 |
.IP \fB\-no_rx_cert_comp\fR 4 |
| 674 |
.IX Item "-no_rx_cert_comp" |
| 675 |
Disables support for receiving TLSv1.3 compressed certificate. |
| 676 |
.IP \fB\-brief\fR 4 |
| 677 |
.IX Item "-brief" |
| 678 |
Only provide a brief summary of connection parameters instead of the |
| 679 |
normal verbose output. |
| 680 |
.IP "\fB\-starttls\fR \fIprotocol\fR" 4 |
| 681 |
.IX Item "-starttls protocol" |
| 682 |
Send the protocol-specific message(s) to switch to TLS for communication. |
| 683 |
\&\fIprotocol\fR is a keyword for the intended protocol. Currently, the only |
| 684 |
supported keywords are "smtp", "pop3", "imap", "ftp", "xmpp", "xmpp-server", |
| 685 |
"irc", "postgres", "mysql", "lmtp", "nntp", "sieve" and "ldap". |
| 686 |
.IP "\fB\-xmpphost\fR \fIhostname\fR" 4 |
| 687 |
.IX Item "-xmpphost hostname" |
| 688 |
This option, when used with "\-starttls xmpp" or "\-starttls xmpp-server", |
| 689 |
specifies the host for the "to" attribute of the stream element. |
| 690 |
If this option is not specified, then the host specified with "\-connect" |
| 691 |
will be used. |
| 692 |
.Sp |
| 693 |
This option is an alias of the \fB\-name\fR option for "xmpp" and "xmpp-server". |
| 694 |
.IP "\fB\-name\fR \fIhostname\fR" 4 |
| 695 |
.IX Item "-name hostname" |
| 696 |
This option is used to specify hostname information for various protocols |
| 697 |
used with \fB\-starttls\fR option. Currently only "xmpp", "xmpp-server", |
| 698 |
"smtp" and "lmtp" can utilize this \fB\-name\fR option. |
| 699 |
.Sp |
| 700 |
If this option is used with "\-starttls xmpp" or "\-starttls xmpp-server", |
| 701 |
if specifies the host for the "to" attribute of the stream element. If this |
| 702 |
option is not specified, then the host specified with "\-connect" will be used. |
| 703 |
.Sp |
| 704 |
If this option is used with "\-starttls lmtp" or "\-starttls smtp", it specifies |
| 705 |
the name to use in the "LMTP LHLO" or "SMTP EHLO" message, respectively. If |
| 706 |
this option is not specified, then "mail.example.com" will be used. |
| 707 |
.IP \fB\-tlsextdebug\fR 4 |
| 708 |
.IX Item "-tlsextdebug" |
| 709 |
Print out a hex dump of any TLS extensions received from the server. |
| 710 |
.IP "\fB\-sess_out\fR \fIfilename\fR" 4 |
| 711 |
.IX Item "-sess_out filename" |
| 712 |
Output SSL session to \fIfilename\fR. |
| 713 |
.IP "\fB\-sess_in\fR \fIfilename\fR" 4 |
| 714 |
.IX Item "-sess_in filename" |
| 715 |
Load SSL session from \fIfilename\fR. The client will attempt to resume a |
| 716 |
connection from this session. |
| 717 |
.IP "\fB\-serverinfo\fR \fItypes\fR" 4 |
| 718 |
.IX Item "-serverinfo types" |
| 719 |
A list of comma-separated TLS Extension Types (numbers between 0 and |
| 720 |
65535). Each type will be sent as an empty ClientHello TLS Extension. |
| 721 |
The server's response (if any) will be encoded and displayed as a PEM |
| 722 |
file. |
| 723 |
.IP \fB\-status\fR 4 |
| 724 |
.IX Item "-status" |
| 725 |
Sends a certificate status request to the server (OCSP stapling). The server |
| 726 |
response (if any) is printed out. |
| 727 |
.IP \fB\-ocsp_check_leaf\fR 4 |
| 728 |
.IX Item "-ocsp_check_leaf" |
| 729 |
Require performing server (end-entity) certificate status checking, where any |
| 730 |
OCSP response provided in the TLS handshake (by so-called "OCSP stapling") is tried |
| 731 |
first. |
| 732 |
If no valid and conclusive OCSP response can be found, CRL-based checking |
| 733 |
is attempted as fallback if enabled, otherwise the status check fails. |
| 734 |
.Sp |
| 735 |
This implies \fB\-status\fR. |
| 736 |
.IP \fB\-ocsp_check_all\fR 4 |
| 737 |
.IX Item "-ocsp_check_all" |
| 738 |
As the option before, but require performing certificate status checking also |
| 739 |
for the issuer chain of the server certificate (i.e., intermediate CA certificates, |
| 740 |
excluding the trust anchor). |
| 741 |
.Sp |
| 742 |
This implies the \fB\-status\fR and \fB\-ocsp_check_leaf\fR. |
| 743 |
.IP "\fB\-alpn\fR \fIprotocols\fR, \fB\-nextprotoneg\fR \fIprotocols\fR" 4 |
| 744 |
.IX Item "-alpn protocols, -nextprotoneg protocols" |
| 745 |
These flags enable the Enable the Application-Layer Protocol Negotiation |
| 746 |
or Next Protocol Negotiation (NPN) extension, respectively. ALPN is the |
| 747 |
IETF standard and replaces NPN. |
| 748 |
The \fIprotocols\fR list is a comma-separated list of protocol names that |
| 749 |
the client should advertise support for. The list should contain the most |
| 750 |
desirable protocols first. Protocol names are printable ASCII strings, |
| 751 |
for example "http/1.1" or "spdy/3". |
| 752 |
An empty list of protocols is treated specially and will cause the |
| 753 |
client to advertise support for the TLS extension but disconnect just |
| 754 |
after receiving ServerHello with a list of server supported protocols. |
| 755 |
The flag \fB\-nextprotoneg\fR cannot be specified if \fB\-tls1_3\fR is used. |
| 756 |
.IP "\fB\-ct\fR, \fB\-noct\fR" 4 |
| 757 |
.IX Item "-ct, -noct" |
| 758 |
Use one of these two options to control whether Certificate Transparency (CT) |
| 759 |
is enabled (\fB\-ct\fR) or disabled (\fB\-noct\fR). |
| 760 |
If CT is enabled, signed certificate timestamps (SCTs) will be requested from |
| 761 |
the server and reported at handshake completion. |
| 762 |
.Sp |
| 763 |
Enabling CT also enables OCSP stapling, as this is one possible delivery method |
| 764 |
for SCTs. |
| 765 |
.IP \fB\-ctlogfile\fR 4 |
| 766 |
.IX Item "-ctlogfile" |
| 767 |
A file containing a list of known Certificate Transparency logs. See |
| 768 |
\&\fBSSL_CTX_set_ctlog_list_file\fR\|(3) for the expected file format. |
| 769 |
.IP "\fB\-keylogfile\fR \fIfile\fR" 4 |
| 770 |
.IX Item "-keylogfile file" |
| 771 |
Appends TLS secrets to the specified keylog file such that external programs |
| 772 |
(like Wireshark) can decrypt TLS connections. |
| 773 |
.IP "\fB\-early_data\fR \fIfile\fR" 4 |
| 774 |
.IX Item "-early_data file" |
| 775 |
Reads the contents of the specified file and attempts to send it as early data |
| 776 |
to the server. This will only work with resumed sessions that support early |
| 777 |
data and when the server accepts the early data. |
| 778 |
.IP \fB\-enable_pha\fR 4 |
| 779 |
.IX Item "-enable_pha" |
| 780 |
For TLSv1.3 only, send the Post-Handshake Authentication extension. This will |
| 781 |
happen whether or not a certificate has been provided via \fB\-cert\fR. |
| 782 |
.IP "\fB\-use_srtp\fR \fIvalue\fR" 4 |
| 783 |
.IX Item "-use_srtp value" |
| 784 |
Offer SRTP key management, where \fBvalue\fR is a colon-separated profile list. |
| 785 |
.IP "\fB\-srpuser\fR \fIvalue\fR" 4 |
| 786 |
.IX Item "-srpuser value" |
| 787 |
Set the SRP username to the specified value. This option is deprecated. |
| 788 |
.IP "\fB\-srppass\fR \fIvalue\fR" 4 |
| 789 |
.IX Item "-srppass value" |
| 790 |
Set the SRP password to the specified value. This option is deprecated. |
| 791 |
.IP \fB\-srp_lateuser\fR 4 |
| 792 |
.IX Item "-srp_lateuser" |
| 793 |
SRP username for the second ClientHello message. This option is deprecated. |
| 794 |
.IP "\fB\-srp_moregroups\fR This option is deprecated." 4 |
| 795 |
.IX Item "-srp_moregroups This option is deprecated." |
| 796 |
Tolerate other than the known \fBg\fR and \fBN\fR values. |
| 797 |
.IP "\fB\-srp_strength\fR \fInumber\fR" 4 |
| 798 |
.IX Item "-srp_strength number" |
| 799 |
Set the minimal acceptable length, in bits, for \fBN\fR. This option is |
| 800 |
deprecated. |
| 801 |
.IP \fB\-ktls\fR 4 |
| 802 |
.IX Item "-ktls" |
| 803 |
Enable Kernel TLS for sending and receiving. |
| 804 |
This option was introduced in OpenSSL 3.2.0. |
| 805 |
Kernel TLS is off by default as of OpenSSL 3.2.0. |
| 806 |
.IP \fB\-tfo\fR 4 |
| 807 |
.IX Item "-tfo" |
| 808 |
Enable creation of connections via TCP fast open (RFC7413). |
| 809 |
.IP "\fB\-no_ssl3\fR, \fB\-no_tls1\fR, \fB\-no_tls1_1\fR, \fB\-no_tls1_2\fR, \fB\-no_tls1_3\fR, \fB\-ssl3\fR, \fB\-tls1\fR, \fB\-tls1_1\fR, \fB\-tls1_2\fR, \fB\-tls1_3\fR" 4 |
| 810 |
.IX Item "-no_ssl3, -no_tls1, -no_tls1_1, -no_tls1_2, -no_tls1_3, -ssl3, -tls1, -tls1_1, -tls1_2, -tls1_3" |
| 811 |
See "TLS Version Options" in \fBopenssl\fR\|(1). |
| 812 |
.IP "\fB\-dtls\fR, \fB\-dtls1\fR, \fB\-dtls1_2\fR" 4 |
| 813 |
.IX Item "-dtls, -dtls1, -dtls1_2" |
| 814 |
These specify the use of DTLS instead of TLS. |
| 815 |
See "TLS Version Options" in \fBopenssl\fR\|(1). |
| 816 |
.IP "\fB\-nameopt\fR \fIoption\fR" 4 |
| 817 |
.IX Item "-nameopt option" |
| 818 |
This specifies how the subject or issuer names are displayed. |
| 819 |
See \fBopenssl\-namedisplay\-options\fR\|(1) for details. |
| 820 |
.IP "\fB\-xkey\fR \fIinfile\fR, \fB\-xcert\fR \fIfile\fR, \fB\-xchain\fR \fIfile\fR, \fB\-xchain_build\fR \fIfile\fR, \fB\-xcertform\fR \fBDER\fR|\fBPEM\fR, \fB\-xkeyform\fR \fBDER\fR|\fBPEM\fR" 4 |
| 821 |
.IX Item "-xkey infile, -xcert file, -xchain file, -xchain_build file, -xcertform DER|PEM, -xkeyform DER|PEM" |
| 822 |
Set extended certificate verification options. |
| 823 |
See "Extended Verification Options" in \fBopenssl\-verification\-options\fR\|(1) for details. |
| 824 |
.IP "\fB\-CAfile\fR \fIfile\fR, \fB\-no\-CAfile\fR, \fB\-CApath\fR \fIdir\fR, \fB\-no\-CApath\fR, \fB\-CAstore\fR \fIuri\fR, \fB\-no\-CAstore\fR" 4 |
| 825 |
.IX Item "-CAfile file, -no-CAfile, -CApath dir, -no-CApath, -CAstore uri, -no-CAstore" |
| 826 |
See "Trusted Certificate Options" in \fBopenssl\-verification\-options\fR\|(1) for details. |
| 827 |
.IP "\fB\-bugs\fR, \fB\-comp\fR, \fB\-no_comp\fR, \fB\-no_ticket\fR, \fB\-serverpref\fR, \fB\-client_renegotiation\fR, \fB\-legacy_renegotiation\fR, \fB\-no_renegotiation\fR, \fB\-no_resumption_on_reneg\fR, \fB\-legacy_server_connect\fR, \fB\-no_legacy_server_connect\fR, \fB\-no_etm\fR \fB\-allow_no_dhe_kex\fR, \fB\-prefer_no_dhe_kex\fR, \fB\-prioritize_chacha\fR, \fB\-strict\fR, \fB\-sigalgs\fR \fIalgs\fR, \fB\-client_sigalgs\fR \fIalgs\fR, \fB\-groups\fR \fIgroups\fR, \fB\-curves\fR \fIcurves\fR, \fB\-named_curve\fR \fIcurve\fR, \fB\-cipher\fR \fIciphers\fR, \fB\-ciphersuites\fR \fI1.3ciphers\fR, \fB\-min_protocol\fR \fIminprot\fR, \fB\-max_protocol\fR \fImaxprot\fR, \fB\-record_padding\fR \fIpadding\fR, \fB\-debug_broken_protocol\fR, \fB\-no_middlebox\fR" 4 |
| 828 |
.IX Item "-bugs, -comp, -no_comp, -no_ticket, -serverpref, -client_renegotiation, -legacy_renegotiation, -no_renegotiation, -no_resumption_on_reneg, -legacy_server_connect, -no_legacy_server_connect, -no_etm -allow_no_dhe_kex, -prefer_no_dhe_kex, -prioritize_chacha, -strict, -sigalgs algs, -client_sigalgs algs, -groups groups, -curves curves, -named_curve curve, -cipher ciphers, -ciphersuites 1.3ciphers, -min_protocol minprot, -max_protocol maxprot, -record_padding padding, -debug_broken_protocol, -no_middlebox" |
| 829 |
See "SUPPORTED COMMAND LINE COMMANDS" in \fBSSL_CONF_cmd\fR\|(3) for details. |
| 830 |
.IP "\fB\-rand\fR \fIfiles\fR, \fB\-writerand\fR \fIfile\fR" 4 |
| 831 |
.IX Item "-rand files, -writerand file" |
| 832 |
See "Random State Options" in \fBopenssl\fR\|(1) for details. |
| 833 |
.IP "\fB\-provider\fR \fIname\fR" 4 |
| 834 |
.IX Item "-provider name" |
| 835 |
.PD 0 |
| 836 |
.IP "\fB\-provider\-path\fR \fIpath\fR" 4 |
| 837 |
.IX Item "-provider-path path" |
| 838 |
.IP "\fB\-provparam\fR \fI[name:]key=value\fR" 4 |
| 839 |
.IX Item "-provparam [name:]key=value" |
| 840 |
.IP "\fB\-propquery\fR \fIpropq\fR" 4 |
| 841 |
.IX Item "-propquery propq" |
| 842 |
.PD |
| 843 |
See "Provider Options" in \fBopenssl\fR\|(1), \fBprovider\fR\|(7), and \fBproperty\fR\|(7). |
| 844 |
.IP "\fB\-engine\fR \fIid\fR" 4 |
| 845 |
.IX Item "-engine id" |
| 846 |
See "Engine Options" in \fBopenssl\fR\|(1). |
| 847 |
This option is deprecated. |
| 848 |
.IP "\fB\-ssl_client_engine\fR \fIid\fR" 4 |
| 849 |
.IX Item "-ssl_client_engine id" |
| 850 |
Specify engine to be used for client certificate operations. |
| 851 |
.IP "\fB\-allow_proxy_certs\fR, \fB\-attime\fR, \fB\-no_check_time\fR, \fB\-check_ss_sig\fR, \fB\-crl_check\fR, \fB\-crl_check_all\fR, \fB\-explicit_policy\fR, \fB\-extended_crl\fR, \fB\-ignore_critical\fR, \fB\-inhibit_any\fR, \fB\-inhibit_map\fR, \fB\-no_alt_chains\fR, \fB\-partial_chain\fR, \fB\-policy\fR, \fB\-policy_check\fR, \fB\-policy_print\fR, \fB\-purpose\fR, \fB\-suiteB_128\fR, \fB\-suiteB_128_only\fR, \fB\-suiteB_192\fR, \fB\-trusted_first\fR, \fB\-use_deltas\fR, \fB\-auth_level\fR, \fB\-verify_depth\fR, \fB\-verify_email\fR, \fB\-verify_hostname\fR, \fB\-verify_ip\fR, \fB\-verify_name\fR, \fB\-x509_strict\fR \fB\-issuer_checks\fR" 4 |
| 852 |
.IX Item "-allow_proxy_certs, -attime, -no_check_time, -check_ss_sig, -crl_check, -crl_check_all, -explicit_policy, -extended_crl, -ignore_critical, -inhibit_any, -inhibit_map, -no_alt_chains, -partial_chain, -policy, -policy_check, -policy_print, -purpose, -suiteB_128, -suiteB_128_only, -suiteB_192, -trusted_first, -use_deltas, -auth_level, -verify_depth, -verify_email, -verify_hostname, -verify_ip, -verify_name, -x509_strict -issuer_checks" |
| 853 |
Set various options of certificate chain verification. |
| 854 |
See "Verification Options" in \fBopenssl\-verification\-options\fR\|(1) for details. |
| 855 |
.Sp |
| 856 |
Verification errors are displayed, for debugging, but the command will |
| 857 |
proceed unless the \fB\-verify_return_error\fR option is used. |
| 858 |
.IP \fB\-enable_server_rpk\fR 4 |
| 859 |
.IX Item "-enable_server_rpk" |
| 860 |
Enable support for receiving raw public keys (RFC7250) from the server. |
| 861 |
Use of X.509 certificates by the server becomes optional, and servers that |
| 862 |
support raw public keys may elect to use them. |
| 863 |
Servers that don't support raw public keys or prefer to use X.509 |
| 864 |
certificates can still elect to send X.509 certificates as usual. |
| 865 |
.IP \fB\-enable_client_rpk\fR 4 |
| 866 |
.IX Item "-enable_client_rpk" |
| 867 |
Enable support for sending raw public keys (RFC7250) to the server. |
| 868 |
A raw public key will be sent by the client, if solicited by the server, |
| 869 |
provided a suitable key and public certificate pair is configured. |
| 870 |
Some servers may nevertheless not request any client credentials, |
| 871 |
or may request a certificate. |
| 872 |
.IP \fIhost\fR:\fIport\fR 4 |
| 873 |
.IX Item "host:port" |
| 874 |
Rather than providing \fB\-connect\fR, the target host and optional port may |
| 875 |
be provided as a single positional argument after all options. If neither this |
| 876 |
nor \fB\-connect\fR are provided, falls back to attempting to connect to |
| 877 |
\&\fIlocalhost\fR on port \fI4433\fR. |
| 878 |
If the host string is an IPv6 address, it must be enclosed in \f(CW\*(C`[\*(C'\fR and \f(CW\*(C`]\*(C'\fR. |
| 879 |
.SH "CONNECTED COMMANDS (BASIC)" |
| 880 |
.IX Header "CONNECTED COMMANDS (BASIC)" |
| 881 |
If a connection is established with an SSL/TLS server then any data received |
| 882 |
from the server is displayed and any key presses will be sent to the |
| 883 |
server. If end of file is reached then the connection will be closed down. |
| 884 |
.PP |
| 885 |
When used interactively (which means neither \fB\-quiet\fR nor \fB\-ign_eof\fR have been |
| 886 |
given), and neither of \fB\-adv\fR or \fB\-nocommands\fR are given then "Basic" command |
| 887 |
mode is entered. In this mode certain commands are recognized which perform |
| 888 |
special operations. These commands are a letter which must appear at the start |
| 889 |
of a line. All further data after the initial letter on the line is ignored. |
| 890 |
The commands are listed below. |
| 891 |
.IP \fBQ\fR 4 |
| 892 |
.IX Item "Q" |
| 893 |
End the current SSL connection and exit. |
| 894 |
.IP \fBR\fR 4 |
| 895 |
.IX Item "R" |
| 896 |
Renegotiate the SSL session (TLSv1.2 and below only). |
| 897 |
.IP \fBC\fR 4 |
| 898 |
.IX Item "C" |
| 899 |
Attempt to reconnect to the server using a resumption handshake. |
| 900 |
.IP \fBk\fR 4 |
| 901 |
.IX Item "k" |
| 902 |
Send a key update message to the server (TLSv1.3 only) |
| 903 |
.IP \fBK\fR 4 |
| 904 |
.IX Item "K" |
| 905 |
Send a key update message to the server and request one back (TLSv1.3 only) |
| 906 |
.SH "CONNECTED COMMANDS (ADVANCED)" |
| 907 |
.IX Header "CONNECTED COMMANDS (ADVANCED)" |
| 908 |
If \fB\-adv\fR has been given then "advanced" command mode is entered. As with basic |
| 909 |
mode, if a connection is established with an SSL/TLS server then any data |
| 910 |
received from the server is displayed and any key presses will be sent to the |
| 911 |
server. If end of file is reached then the connection will be closed down. |
| 912 |
.PP |
| 913 |
Special commands can be supplied by enclosing them in braces, e.g. "{help}" or |
| 914 |
"{quit}". These commands can appear anywhere in the text entered into s_client, |
| 915 |
but they are not sent to the server. Some commands can take an argument by |
| 916 |
ending the command name with ":" and then providing the argument, e.g. |
| 917 |
"{keyup:req}". Some commands are only available when certain protocol versions |
| 918 |
have been negotiated. |
| 919 |
.PP |
| 920 |
If a newline appears at the end of a line entered into s_client then this is |
| 921 |
also sent to the server. If a command appears on a line on its own with no other |
| 922 |
text on the same line, then the newline is suppressed and not sent to the |
| 923 |
server. |
| 924 |
.PP |
| 925 |
The following commands are recognised. |
| 926 |
.IP \fBhelp\fR 4 |
| 927 |
.IX Item "help" |
| 928 |
Prints out summary help text about the available commands. |
| 929 |
.IP \fBquit\fR 4 |
| 930 |
.IX Item "quit" |
| 931 |
Close the connection to the peer |
| 932 |
.IP \fBreconnect\fR 4 |
| 933 |
.IX Item "reconnect" |
| 934 |
Reconnect to the peer and attempt a resumption handshake |
| 935 |
.IP \fBkeyup\fR 4 |
| 936 |
.IX Item "keyup" |
| 937 |
Send a Key Update message. TLSv1.3 only. This command takes an optional |
| 938 |
argument. If the argument "req" is supplied then the peer is also requested to |
| 939 |
update its keys. Otherwise if "noreq" is supplied the peer is not requested |
| 940 |
to update its keys. The default is "req". |
| 941 |
.IP \fBreneg\fR 4 |
| 942 |
.IX Item "reneg" |
| 943 |
Initiate a renegotiation with the server. (D)TLSv1.2 or below only. |
| 944 |
.IP \fBfin\fR 4 |
| 945 |
.IX Item "fin" |
| 946 |
Indicate FIN on the current stream. QUIC only. Once FIN has been sent any |
| 947 |
further text entered for this stream is ignored. |
| 948 |
.SH NOTES |
| 949 |
.IX Header "NOTES" |
| 950 |
This command can be used to debug SSL servers. To connect to an SSL HTTP |
| 951 |
server the command: |
| 952 |
.PP |
| 953 |
.Vb 1 |
| 954 |
\& openssl s_client \-connect servername:443 |
| 955 |
.Ve |
| 956 |
.PP |
| 957 |
would typically be used (https uses port 443). If the connection succeeds |
| 958 |
then an HTTP command can be given such as "GET /" to retrieve a web page. |
| 959 |
.PP |
| 960 |
If the handshake fails then there are several possible causes, if it is |
| 961 |
nothing obvious like no client certificate then the \fB\-bugs\fR, |
| 962 |
\&\fB\-ssl3\fR, \fB\-tls1\fR, \fB\-no_ssl3\fR, \fB\-no_tls1\fR options can be tried |
| 963 |
in case it is a buggy server. In particular you should play with these |
| 964 |
options \fBbefore\fR submitting a bug report to an OpenSSL mailing list. |
| 965 |
.PP |
| 966 |
A frequent problem when attempting to get client certificates working |
| 967 |
is that a web client complains it has no certificates or gives an empty |
| 968 |
list to choose from. This is normally because the server is not sending |
| 969 |
the clients certificate authority in its "acceptable CA list" when it |
| 970 |
requests a certificate. By using this command, the CA list can be viewed |
| 971 |
and checked. However, some servers only request client authentication |
| 972 |
after a specific URL is requested. To obtain the list in this case it |
| 973 |
is necessary to use the \fB\-prexit\fR option and send an HTTP request |
| 974 |
for an appropriate page. |
| 975 |
.PP |
| 976 |
If a certificate is specified on the command line using the \fB\-cert\fR |
| 977 |
option it will not be used unless the server specifically requests |
| 978 |
a client certificate. Therefore, merely including a client certificate |
| 979 |
on the command line is no guarantee that the certificate works. |
| 980 |
.PP |
| 981 |
If there are problems verifying a server certificate then the |
| 982 |
\&\fB\-showcerts\fR option can be used to show all the certificates sent by the |
| 983 |
server. |
| 984 |
.PP |
| 985 |
This command is a test tool and is designed to continue the |
| 986 |
handshake after any certificate verification errors. As a result it will |
| 987 |
accept any certificate chain (trusted or not) sent by the peer. Non-test |
| 988 |
applications should \fBnot\fR do this as it makes them vulnerable to a MITM |
| 989 |
attack. This behaviour can be changed by with the \fB\-verify_return_error\fR |
| 990 |
option: any verify errors are then returned aborting the handshake. |
| 991 |
.PP |
| 992 |
The \fB\-bind\fR option may be useful if the server or a firewall requires |
| 993 |
connections to come from some particular address and or port. |
| 994 |
.SS "Note on Non-Interactive Use" |
| 995 |
.IX Subsection "Note on Non-Interactive Use" |
| 996 |
When \fBs_client\fR is run in a non-interactive environment (e.g., a cron job or |
| 997 |
a script without a valid \fIstdin\fR), it may close the connection prematurely, |
| 998 |
especially with TLS 1.3. To prevent this, you can use the \fB\-ign_eof\fR flag, |
| 999 |
which keeps \fBs_client\fR running even after reaching EOF from \fIstdin\fR. |
| 1000 |
.PP |
| 1001 |
For example: |
| 1002 |
.PP |
| 1003 |
.Vb 3 |
| 1004 |
\& openssl s_client \-connect <server address>:443 \-tls1_3 |
| 1005 |
\& \-sess_out /path/to/tls_session_params_file |
| 1006 |
\& \-ign_eof </dev/null |
| 1007 |
.Ve |
| 1008 |
.PP |
| 1009 |
However, relying solely on \fB\-ign_eof\fR can lead to issues if the server keeps |
| 1010 |
the connection open, expecting the client to close first. In such cases, the |
| 1011 |
client may hang indefinitely. This behavior is not uncommon, particularly with |
| 1012 |
protocols where the server waits for a graceful disconnect from the client. |
| 1013 |
.PP |
| 1014 |
For example, when connecting to an SMTP server, the session may pause if the |
| 1015 |
server expects a QUIT command before closing: |
| 1016 |
.PP |
| 1017 |
.Vb 8 |
| 1018 |
\& $ openssl s_client \-brief \-ign_eof \-starttls smtp |
| 1019 |
\& \-connect <server address>:25 </dev/null |
| 1020 |
\& CONNECTION ESTABLISHED |
| 1021 |
\& Protocol version: TLSv1.3 |
| 1022 |
\& Ciphersuite: TLS_AES_256_GCM_SHA384 |
| 1023 |
\& ... |
| 1024 |
\& 250 CHUNKING |
| 1025 |
\& [long pause] |
| 1026 |
.Ve |
| 1027 |
.PP |
| 1028 |
To avoid such hangs, it's better to use an application-level command to |
| 1029 |
initiate a clean disconnect. For SMTP, you can send a QUIT command: |
| 1030 |
.PP |
| 1031 |
.Vb 2 |
| 1032 |
\& printf \*(AqQUIT\er\en\*(Aq | openssl s_client \-connect <server address>:25 |
| 1033 |
\& \-starttls smtp \-brief \-ign_eof |
| 1034 |
.Ve |
| 1035 |
.PP |
| 1036 |
Similarly, for HTTP/1.1 connections, including a `Connection: close` header |
| 1037 |
ensures the server closes the connection after responding: |
| 1038 |
.PP |
| 1039 |
.Vb 2 |
| 1040 |
\& printf \*(AqGET / HTTP/1.1\er\enHost: <server address>\er\enConnection: close\er\en\er\en\*(Aq |
| 1041 |
\& | openssl s_client \-connect <server address>:443 \-brief |
| 1042 |
.Ve |
| 1043 |
.PP |
| 1044 |
These approaches help manage the connection closure gracefully and prevent |
| 1045 |
hangs caused by the server waiting for the client to initiate the disconnect. |
| 1046 |
.SH BUGS |
| 1047 |
.IX Header "BUGS" |
| 1048 |
Because this program has a lot of options and also because some of the |
| 1049 |
techniques used are rather old, the C source for this command is rather |
| 1050 |
hard to read and not a model of how things should be done. |
| 1051 |
A typical SSL client program would be much simpler. |
| 1052 |
.PP |
| 1053 |
The \fB\-prexit\fR option is a bit of a hack. We should really report |
| 1054 |
information whenever a session is renegotiated. |
| 1055 |
.SH "SEE ALSO" |
| 1056 |
.IX Header "SEE ALSO" |
| 1057 |
\&\fBopenssl\fR\|(1), |
| 1058 |
\&\fBopenssl\-sess_id\fR\|(1), |
| 1059 |
\&\fBopenssl\-s_server\fR\|(1), |
| 1060 |
\&\fBopenssl\-ciphers\fR\|(1), |
| 1061 |
\&\fBSSL_CONF_cmd\fR\|(3), |
| 1062 |
\&\fBSSL_CTX_set_max_send_fragment\fR\|(3), |
| 1063 |
\&\fBSSL_CTX_set_split_send_fragment\fR\|(3), |
| 1064 |
\&\fBSSL_CTX_set_max_pipelines\fR\|(3), |
| 1065 |
\&\fBossl_store\-file\fR\|(7) |
| 1066 |
.SH HISTORY |
| 1067 |
.IX Header "HISTORY" |
| 1068 |
The \fB\-no_alt_chains\fR option was added in OpenSSL 1.1.0. |
| 1069 |
The \fB\-name\fR option was added in OpenSSL 1.1.1. |
| 1070 |
.PP |
| 1071 |
The \fB\-certform\fR option has become obsolete in OpenSSL 3.0.0 and has no effect. |
| 1072 |
.PP |
| 1073 |
The \fB\-engine\fR option was deprecated in OpenSSL 3.0. |
| 1074 |
.PP |
| 1075 |
The |
| 1076 |
\&\fB\-enable_client_rpk\fR, |
| 1077 |
\&\fB\-enable_server_rpk\fR, |
| 1078 |
\&\fB\-no_rx_cert_comp\fR, |
| 1079 |
\&\fB\-no_tx_cert_comp\fR, |
| 1080 |
and \fB\-tfo\fR |
| 1081 |
options were added in OpenSSL 3.2. |
| 1082 |
.PP |
| 1083 |
The |
| 1084 |
<\-ocsp_check_leaf> |
| 1085 |
and \fB\-ocsp_check_all\fR |
| 1086 |
options were added in OpenSSL 3.6. |
| 1087 |
.SH COPYRIGHT |
| 1088 |
.IX Header "COPYRIGHT" |
| 1089 |
Copyright 2000\-2025 The OpenSSL Project Authors. All Rights Reserved. |
| 1090 |
.PP |
| 1091 |
Licensed under the Apache License 2.0 (the "License"). You may not use |
| 1092 |
this file except in compliance with the License. You can obtain a copy |
| 1093 |
in the file LICENSE in the source distribution or at |
| 1094 |
<https://www.openssl.org/source/license.html>. |