openssl-s_client.1ossl 50 KB

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