Update the "Connected Commands" section of s_client/s_server docs
[openssl.git] / doc / man1 / s_server.pod
1 =pod
2
3 =head1 NAME
4
5 openssl-s_server,
6 s_server - SSL/TLS server program
7
8 =head1 SYNOPSIS
9
10 B<openssl> B<s_server>
11 [B<-help>]
12 [B<-port +int>]
13 [B<-accept val>]
14 [B<-unix val>]
15 [B<-4>]
16 [B<-6>]
17 [B<-unlink>]
18 [B<-context val>]
19 [B<-verify int>]
20 [B<-Verify int>]
21 [B<-cert infile>]
22 [B<-nameopt val>]
23 [B<-naccept +int>]
24 [B<-serverinfo val>]
25 [B<-certform PEM|DER>]
26 [B<-key infile>]
27 [B<-keyform format>]
28 [B<-pass val>]
29 [B<-dcert infile>]
30 [B<-dcertform PEM|DER>]
31 [B<-dkey infile>]
32 [B<-dkeyform PEM|DER>]
33 [B<-dpass val>]
34 [B<-nbio_test>]
35 [B<-crlf>]
36 [B<-debug>]
37 [B<-msg>]
38 [B<-msgfile outfile>]
39 [B<-state>]
40 [B<-CAfile infile>]
41 [B<-CApath dir>]
42 [B<-no-CAfile>]
43 [B<-no-CApath>]
44 [B<-nocert>]
45 [B<-quiet>]
46 [B<-no_resume_ephemeral>]
47 [B<-www>]
48 [B<-WWW>]
49 [B<-servername>]
50 [B<-servername_fatal>]
51 [B<-cert2 infile>]
52 [B<-key2 infile>]
53 [B<-tlsextdebug>]
54 [B<-HTTP>]
55 [B<-id_prefix val>]
56 [B<-rand file...>]
57 [B<-writerand file>]
58 [B<-keymatexport val>]
59 [B<-keymatexportlen +int>]
60 [B<-CRL infile>]
61 [B<-crl_download>]
62 [B<-cert_chain infile>]
63 [B<-dcert_chain infile>]
64 [B<-chainCApath dir>]
65 [B<-verifyCApath dir>]
66 [B<-no_cache>]
67 [B<-ext_cache>]
68 [B<-CRLform PEM|DER>]
69 [B<-verify_return_error>]
70 [B<-verify_quiet>]
71 [B<-build_chain>]
72 [B<-chainCAfile infile>]
73 [B<-verifyCAfile infile>]
74 [B<-ign_eof>]
75 [B<-no_ign_eof>]
76 [B<-status>]
77 [B<-status_verbose>]
78 [B<-status_timeout int>]
79 [B<-status_url val>]
80 [B<-status_file infile>]
81 [B<-trace>]
82 [B<-security_debug>]
83 [B<-security_debug_verbose>]
84 [B<-brief>]
85 [B<-rev>]
86 [B<-async>]
87 [B<-ssl_config val>]
88 [B<-max_send_frag +int>]
89 [B<-split_send_frag +int>]
90 [B<-max_pipelines +int>]
91 [B<-read_buf +int>]
92 [B<-no_ssl3>]
93 [B<-no_tls1>]
94 [B<-no_tls1_1>]
95 [B<-no_tls1_2>]
96 [B<-no_tls1_3>]
97 [B<-bugs>]
98 [B<-no_comp>]
99 [B<-comp>]
100 [B<-no_ticket>]
101 [B<-serverpref>]
102 [B<-legacy_renegotiation>]
103 [B<-no_renegotiation>]
104 [B<-legacy_server_connect>]
105 [B<-no_resumption_on_reneg>]
106 [B<-no_legacy_server_connect>]
107 [B<-allow_no_dhe_kex>]
108 [B<-prioritize_chacha>]
109 [B<-strict>]
110 [B<-sigalgs val>]
111 [B<-client_sigalgs val>]
112 [B<-groups val>]
113 [B<-curves val>]
114 [B<-named_curve val>]
115 [B<-cipher val>]
116 [B<-ciphersuites val>]
117 [B<-dhparam infile>]
118 [B<-record_padding val>]
119 [B<-debug_broken_protocol>]
120 [B<-policy val>]
121 [B<-purpose val>]
122 [B<-verify_name val>]
123 [B<-verify_depth int>]
124 [B<-auth_level int>]
125 [B<-attime intmax>]
126 [B<-verify_hostname val>]
127 [B<-verify_email val>]
128 [B<-verify_ip>]
129 [B<-ignore_critical>]
130 [B<-issuer_checks>]
131 [B<-crl_check>]
132 [B<-crl_check_all>]
133 [B<-policy_check>]
134 [B<-explicit_policy>]
135 [B<-inhibit_any>]
136 [B<-inhibit_map>]
137 [B<-x509_strict>]
138 [B<-extended_crl>]
139 [B<-use_deltas>]
140 [B<-policy_print>]
141 [B<-check_ss_sig>]
142 [B<-trusted_first>]
143 [B<-suiteB_128_only>]
144 [B<-suiteB_128>]
145 [B<-suiteB_192>]
146 [B<-partial_chain>]
147 [B<-no_alt_chains>]
148 [B<-no_check_time>]
149 [B<-allow_proxy_certs>]
150 [B<-xkey>]
151 [B<-xcert>]
152 [B<-xchain>]
153 [B<-xchain_build>]
154 [B<-xcertform PEM|DER>]
155 [B<-xkeyform PEM|DER>]
156 [B<-nbio>]
157 [B<-psk_identity val>]
158 [B<-psk_hint val>]
159 [B<-psk val>]
160 [B<-psk_session file>]
161 [B<-srpvfile infile>]
162 [B<-srpuserseed val>]
163 [B<-ssl3>]
164 [B<-tls1>]
165 [B<-tls1_1>]
166 [B<-tls1_2>]
167 [B<-tls1_3>]
168 [B<-dtls>]
169 [B<-timeout>]
170 [B<-mtu +int>]
171 [B<-listen>]
172 [B<-dtls1>]
173 [B<-dtls1_2>]
174 [B<-sctp>]
175 [B<-no_dhe>]
176 [B<-nextprotoneg val>]
177 [B<-use_srtp val>]
178 [B<-alpn val>]
179 [B<-engine val>]
180 [B<-keylogfile outfile>]
181 [B<-max_early_data int>]
182 [B<-early_data>]
183
184 =head1 DESCRIPTION
185
186 The B<s_server> command implements a generic SSL/TLS server which listens
187 for connections on a given port using SSL/TLS.
188
189 =head1 OPTIONS
190
191 In addition to the options below the B<s_server> utility also supports the
192 common and server only options documented in the
193 in the "Supported Command Line Commands" section of the L<SSL_CONF_cmd(3)>
194 manual page.
195
196 =over 4
197
198 =item B<-help>
199
200 Print out a usage message.
201
202 =item B<-port +int>
203
204 The TCP port to listen on for connections. If not specified 4433 is used.
205
206 =item B<-accept val>
207
208 The optional TCP host and port to listen on for connections. If not specified, *:4433 is used.
209
210 =item B<-unix val>
211
212 Unix domain socket to accept on.
213
214 =item B<-4>
215
216 Use IPv4 only.
217
218 =item B<-6>
219
220 Use IPv6 only.
221
222 =item B<-unlink>
223
224 For -unix, unlink any existing socket first.
225
226 =item B<-context val>
227
228 Sets the SSL context id. It can be given any string value. If this option
229 is not present a default value will be used.
230
231 =item B<-verify int>, B<-Verify int>
232
233 The verify depth to use. This specifies the maximum length of the
234 client certificate chain and makes the server request a certificate from
235 the client. With the B<-verify> option a certificate is requested but the
236 client does not have to send one, with the B<-Verify> option the client
237 must supply a certificate or an error occurs.
238
239 If the cipher suite cannot request a client certificate (for example an
240 anonymous cipher suite or PSK) this option has no effect.
241
242 =item B<-cert infile>
243
244 The certificate to use, most servers cipher suites require the use of a
245 certificate and some require a certificate with a certain public key type:
246 for example the DSS cipher suites require a certificate containing a DSS
247 (DSA) key. If not specified then the filename "server.pem" will be used.
248
249 =item B<-nameopt val>
250
251 Option which determines how the subject or issuer names are displayed. The
252 B<val> argument can be a single option or multiple options separated by
253 commas.  Alternatively the B<-nameopt> switch may be used more than once to
254 set multiple options. See the L<x509(1)> manual page for details.
255
256 =item B<-naccept +int>
257
258 The server will exit after receiving the specified number of connections,
259 default unlimited.
260
261 =item B<-serverinfo val>
262
263 A file containing one or more blocks of PEM data.  Each PEM block
264 must encode a TLS ServerHello extension (2 bytes type, 2 bytes length,
265 followed by "length" bytes of extension data).  If the client sends
266 an empty TLS ClientHello extension matching the type, the corresponding
267 ServerHello extension will be returned.
268
269 =item B<-certform PEM|DER>
270
271 The certificate format to use: DER or PEM. PEM is the default.
272
273 =item B<-key infile>
274
275 The private key to use. If not specified then the certificate file will
276 be used.
277
278 =item B<-keyform format>
279
280 The private format to use: DER or PEM. PEM is the default.
281
282 =item B<-pass val>
283
284 The private key password source. For more information about the format of B<val>
285 see the B<PASS PHRASE ARGUMENTS> section in L<openssl(1)>.
286
287 =item B<-dcert infile>, B<-dkey infile>
288
289 Specify an additional certificate and private key, these behave in the
290 same manner as the B<-cert> and B<-key> options except there is no default
291 if they are not specified (no additional certificate and key is used). As
292 noted above some cipher suites require a certificate containing a key of
293 a certain type. Some cipher suites need a certificate carrying an RSA key
294 and some a DSS (DSA) key. By using RSA and DSS certificates and keys
295 a server can support clients which only support RSA or DSS cipher suites
296 by using an appropriate certificate.
297
298 =item B<-dcertform PEM|DER>, B<-dkeyform PEM|DER>, B<-dpass val>
299
300 Additional certificate and private key format and passphrase respectively.
301
302 =item B<-nbio_test>
303
304 Tests non blocking I/O.
305
306 =item B<-crlf>
307
308 This option translated a line feed from the terminal into CR+LF.
309
310 =item B<-debug>
311
312 Print extensive debugging information including a hex dump of all traffic.
313
314 =item B<-msg>
315
316 Show all protocol messages with hex dump.
317
318 =item B<-msgfile outfile>
319
320 File to send output of B<-msg> or B<-trace> to, default standard output.
321
322 =item B<-state>
323
324 Prints the SSL session states.
325
326 =item B<-CAfile infile>
327
328 A file containing trusted certificates to use during client authentication
329 and to use when attempting to build the server certificate chain. The list
330 is also used in the list of acceptable client CAs passed to the client when
331 a certificate is requested.
332
333 =item B<-CApath dir>
334
335 The directory to use for client certificate verification. This directory
336 must be in "hash format", see B<verify> for more information. These are
337 also used when building the server certificate chain.
338
339 =item B<-no-CAfile>
340
341 Do not load the trusted CA certificates from the default file location.
342
343 =item B<-no-CApath>
344
345 Do not load the trusted CA certificates from the default directory location.
346
347 =item B<-nocert>
348
349 If this option is set then no certificate is used. This restricts the
350 cipher suites available to the anonymous ones (currently just anonymous
351 DH).
352
353 =item B<-quiet>
354
355 Inhibit printing of session and certificate information.
356
357 =item B<-www>
358
359 Sends a status message back to the client when it connects. This includes
360 information about the ciphers used and various session parameters.
361 The output is in HTML format so this option will normally be used with a
362 web browser.
363
364 =item B<-WWW>
365
366 Emulates a simple web server. Pages will be resolved relative to the
367 current directory, for example if the URL https://myhost/page.html is
368 requested the file ./page.html will be loaded.
369
370 =item B<-tlsextdebug>
371
372 Print a hex dump of any TLS extensions received from the server.
373
374 =item B<-HTTP>
375
376 Emulates a simple web server. Pages will be resolved relative to the
377 current directory, for example if the URL https://myhost/page.html is
378 requested the file ./page.html will be loaded. The files loaded are
379 assumed to contain a complete and correct HTTP response (lines that
380 are part of the HTTP response line and headers must end with CRLF).
381
382 =item B<-id_prefix val>
383
384 Generate SSL/TLS session IDs prefixed by B<val>. This is mostly useful
385 for testing any SSL/TLS code (eg. proxies) that wish to deal with multiple
386 servers, when each of which might be generating a unique range of session
387 IDs (eg. with a certain prefix).
388
389 =item B<-rand file...>
390
391 A file or files containing random data used to seed the random number
392 generator.
393 Multiple files can be specified separated by an OS-dependent character.
394 The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
395 all others.
396
397 =item [B<-writerand file>]
398
399 Writes random data to the specified I<file> upon exit.
400 This can be used with a subsequent B<-rand> flag.
401
402 =item B<-verify_return_error>
403
404 Verification errors normally just print a message but allow the
405 connection to continue, for debugging purposes.
406 If this option is used, then verification errors close the connection.
407
408 =item B<-status>
409
410 Enables certificate status request support (aka OCSP stapling).
411
412 =item B<-status_verbose>
413
414 Enables certificate status request support (aka OCSP stapling) and gives
415 a verbose printout of the OCSP response.
416
417 =item B<-status_timeout int>
418
419 Sets the timeout for OCSP response to B<int> seconds.
420
421 =item B<-status_url val>
422
423 Sets a fallback responder URL to use if no responder URL is present in the
424 server certificate. Without this option an error is returned if the server
425 certificate does not contain a responder address.
426
427 =item B<-status_file infile>
428
429 Overrides any OCSP responder URLs from the certificate and always provides the
430 OCSP Response stored in the file. The file must be in DER format.
431
432 =item B<-trace>
433
434 Show verbose trace output of protocol messages. OpenSSL needs to be compiled
435 with B<enable-ssl-trace> for this option to work.
436
437 =item B<-brief>
438
439 Provide a brief summary of connection parameters instead of the normal verbose
440 output.
441
442 =item B<-rev>
443
444 Simple test server which just reverses the text received from the client
445 and sends it back to the server. Also sets B<-brief>.
446
447 =item B<-async>
448
449 Switch on asynchronous mode. Cryptographic operations will be performed
450 asynchronously. This will only have an effect if an asynchronous capable engine
451 is also used via the B<-engine> option. For test purposes the dummy async engine
452 (dasync) can be used (if available).
453
454 =item B<-max_send_frag +int>
455
456 The maximum size of data fragment to send.
457 See L<SSL_CTX_set_max_send_fragment(3)> for further information.
458
459 =item B<-split_send_frag +int>
460
461 The size used to split data for encrypt pipelines. If more data is written in
462 one go than this value then it will be split into multiple pipelines, up to the
463 maximum number of pipelines defined by max_pipelines. This only has an effect if
464 a suitable cipher suite has been negotiated, an engine that supports pipelining
465 has been loaded, and max_pipelines is greater than 1. See
466 L<SSL_CTX_set_split_send_fragment(3)> for further information.
467
468 =item B<-max_pipelines +int>
469
470 The maximum number of encrypt/decrypt pipelines to be used. This will only have
471 an effect if an engine has been loaded that supports pipelining (e.g. the dasync
472 engine) and a suitable cipher suite has been negotiated. The default value is 1.
473 See L<SSL_CTX_set_max_pipelines(3)> for further information.
474
475 =item B<-read_buf +int>
476
477 The default read buffer size to be used for connections. This will only have an
478 effect if the buffer size is larger than the size that would otherwise be used
479 and pipelining is in use (see L<SSL_CTX_set_default_read_buffer_len(3)> for
480 further information).
481
482 =item B<-ssl2>, B<-ssl3>, B<-tls1>, B<-tls1_1>, B<-tls1_2>, B<-tls1_3>, B<-no_ssl2>, B<-no_ssl3>, B<-no_tls1>, B<-no_tls1_1>, B<-no_tls1_2>, B<-no_tls1_3>
483
484 These options require or disable the use of the specified SSL or TLS protocols.
485 By default B<s_server> will negotiate the highest mutually supported protocol
486 version.
487 When a specific TLS version is required, only that version will be accepted
488 from the client.
489
490 =item B<-bugs>
491
492 There are several known bug in SSL and TLS implementations. Adding this
493 option enables various workarounds.
494
495 =item B<-no_comp>
496
497 Disable negotiation of TLS compression.
498 TLS compression is not recommended and is off by default as of
499 OpenSSL 1.1.0.
500
501 =item B<-comp>
502
503 Enable negotiation of TLS compression.
504 This option was introduced in OpenSSL 1.1.0.
505 TLS compression is not recommended and is off by default as of
506 OpenSSL 1.1.0.
507
508 =item B<-no_ticket>
509
510 Disable RFC4507bis session ticket support.
511
512 =item B<-serverpref>
513
514 Use the server's cipher preferences, rather than the client's preferences.
515
516 =item B<-prioritize_chacha>
517
518 Prioritize ChaCha ciphers when preferred by clients. Requires B<-serverpref>.
519
520 =item B<-no_resumption_on_reneg>
521
522 Set the B<SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION> option.
523
524 =item B<-client_sigalgs val>
525
526 Signature algorithms to support for client certificate authentication
527 (colon-separated list).
528
529 =item B<-named_curve val>
530
531 Specifies the elliptic curve to use. NOTE: this is single curve, not a list.
532 For a list of all possible curves, use:
533
534     $ openssl ecparam -list_curves
535
536 =item B<-cipher val>
537
538 This allows the list of TLSv1.2 and below ciphersuites used by the server to be
539 modified. This list is combined with any TLSv1.3 ciphersuites that have been
540 configured. When the client sends a list of supported ciphers the first client
541 cipher also included in the server list is used. Because the client specifies
542 the preference order, the order of the server cipherlist is irrelevant. See
543 the B<ciphers> command for more information.
544
545 =item B<-ciphersuites val>
546
547 This allows the list of TLSv1.3 ciphersuites used by the server to be modified.
548 This list is combined with any TLSv1.2 and below ciphersuites that have been
549 configured. When the client sends a list of supported ciphers the first client
550 cipher also included in the server list is used. Because the client specifies
551 the preference order, the order of the server cipherlist is irrelevant. See
552 the B<ciphers> command for more information. The format for this list is a
553 simple colon (":") separated list of TLSv1.3 ciphersuite names.
554
555 =item B<-dhparam infile>
556
557 The DH parameter file to use. The ephemeral DH cipher suites generate keys
558 using a set of DH parameters. If not specified then an attempt is made to
559 load the parameters from the server certificate file.
560 If this fails then a static set of parameters hard coded into the B<s_server>
561 program will be used.
562
563 =item B<-attime>, B<-check_ss_sig>, B<-crl_check>, B<-crl_check_all>,
564 B<-explicit_policy>, B<-extended_crl>, B<-ignore_critical>, B<-inhibit_any>,
565 B<-inhibit_map>, B<-no_alt_chains>, B<-no_check_time>, B<-partial_chain>, B<-policy>,
566 B<-policy_check>, B<-policy_print>, B<-purpose>, B<-suiteB_128>,
567 B<-suiteB_128_only>, B<-suiteB_192>, B<-trusted_first>, B<-use_deltas>,
568 B<-auth_level>, B<-verify_depth>, B<-verify_email>, B<-verify_hostname>,
569 B<-verify_ip>, B<-verify_name>, B<-x509_strict>
570
571 Set different peer certificate verification options.
572 See the L<verify(1)> manual page for details.
573
574 =item B<-crl_check>, B<-crl_check_all>
575
576 Check the peer certificate has not been revoked by its CA.
577 The CRL(s) are appended to the certificate file. With the B<-crl_check_all>
578 option all CRLs of all CAs in the chain are checked.
579
580 =item B<-nbio>
581
582 Turns on non blocking I/O.
583
584 =item B<-psk_identity val>
585
586 Expect the client to send PSK identity B<val> when using a PSK
587 cipher suite, and warn if they do not.  By default, the expected PSK
588 identity is the string "Client_identity".
589
590 =item B<-psk_hint val>
591
592 Use the PSK identity hint B<val> when using a PSK cipher suite.
593
594 =item B<-psk val>
595
596 Use the PSK key B<val> when using a PSK cipher suite. The key is
597 given as a hexadecimal number without leading 0x, for example -psk
598 1a2b3c4d.
599 This option must be provided in order to use a PSK cipher.
600
601 =item B<-psk_session file>
602
603 Use the pem encoded SSL_SESSION data stored in B<file> as the basis of a PSK.
604 Note that this will only work if TLSv1.3 is negotiated.
605
606 =item B<-listen>
607
608 This option can only be used in conjunction with one of the DTLS options above.
609 With this option B<s_server> will listen on a UDP port for incoming connections.
610 Any ClientHellos that arrive will be checked to see if they have a cookie in
611 them or not.
612 Any without a cookie will be responded to with a HelloVerifyRequest.
613 If a ClientHello with a cookie is received then B<s_server> will connect to
614 that peer and complete the handshake.
615
616 =item B<-dtls>, B<-dtls1>, B<-dtls1_2>
617
618 These options make B<s_server> use DTLS protocols instead of TLS.
619 With B<-dtls>, B<s_server> will negotiate any supported DTLS protocol version,
620 whilst B<-dtls1> and B<-dtls1_2> will only support DTLSv1.0 and DTLSv1.2
621 respectively.
622
623 =item B<-sctp>
624
625 Use SCTP for the transport protocol instead of UDP in DTLS. Must be used in
626 conjunction with B<-dtls>, B<-dtls1> or B<-dtls1_2>. This option is only
627 available where OpenSSL has support for SCTP enabled.
628
629 =item B<-no_dhe>
630
631 If this option is set then no DH parameters will be loaded effectively
632 disabling the ephemeral DH cipher suites.
633
634 =item B<-alpn val>, B<-nextprotoneg val>
635
636 These flags enable the Enable the Application-Layer Protocol Negotiation
637 or Next Protocol Negotiation (NPN) extension, respectively. ALPN is the
638 IETF standard and replaces NPN.
639 The B<val> list is a comma-separated list of supported protocol
640 names.  The list should contain the most desirable protocols first.
641 Protocol names are printable ASCII strings, for example "http/1.1" or
642 "spdy/3".
643 The flag B<-nextprotoneg> cannot be specified if B<-tls1_3> is used.
644
645 =item B<-engine val>
646
647 Specifying an engine (by its unique id string in B<val>) will cause B<s_server>
648 to attempt to obtain a functional reference to the specified engine,
649 thus initialising it if needed. The engine will then be set as the default
650 for all available algorithms.
651
652 =item B<-keylogfile outfile>
653
654 Appends TLS secrets to the specified keylog file such that external programs
655 (like Wireshark) can decrypt TLS connections.
656
657 =item B<-max_early_data int>
658
659 Change the default maximum early data bytes that are specified for new sessions
660 and any incoming early data (when used in conjunction with the B<-early_data>
661 flag). The default value is approximately 16k. The argument must be an integer
662 greater than or equal to 0.
663
664 =item B<-early_data>
665
666 Accept early data where possible.
667
668 =back
669
670 =head1 CONNECTED COMMANDS
671
672 If a connection request is established with an SSL client and neither the
673 B<-www> nor the B<-WWW> option has been used then normally any data received
674 from the client is displayed and any key presses will be sent to the client.
675
676 Certain commands are also recognized which perform special operations. These
677 commands are a letter which must appear at the start of a line. They are listed
678 below.
679
680 =over 4
681
682 =item B<q>
683
684 End the current SSL connection but still accept new connections.
685
686 =item B<Q>
687
688 End the current SSL connection and exit.
689
690 =item B<r>
691
692 Renegotiate the SSL session (TLSv1.2 and below only).
693
694 =item B<R>
695
696 Renegotiate the SSL session and request a client certificate (TLSv1.2 and below
697 only).
698
699 =item B<P>
700
701 Send some plain text down the underlying TCP connection: this should
702 cause the client to disconnect due to a protocol violation.
703
704 =item B<S>
705
706 Print out some session cache status information.
707
708 =item B<B>
709
710 Send a heartbeat message to the client (DTLS only)
711
712 =item B<k>
713
714 Send a key update message to the client (TLSv1.3 only)
715
716 =item B<K>
717
718 Send a key update message to the client and request one back (TLSv1.3 only)
719
720 =item B<c>
721
722 Send a certificate request to the client (TLSv1.3 only)
723
724 =back
725
726 =head1 NOTES
727
728 B<s_server> can be used to debug SSL clients. To accept connections from
729 a web browser the command:
730
731  openssl s_server -accept 443 -www
732
733 can be used for example.
734
735 Although specifying an empty list of CAs when requesting a client certificate
736 is strictly speaking a protocol violation, some SSL clients interpret this to
737 mean any CA is acceptable. This is useful for debugging purposes.
738
739 The session parameters can printed out using the B<sess_id> program.
740
741 =head1 BUGS
742
743 Because this program has a lot of options and also because some of the
744 techniques used are rather old, the C source of B<s_server> is rather hard to
745 read and not a model of how things should be done.
746 A typical SSL server program would be much simpler.
747
748 The output of common ciphers is wrong: it just gives the list of ciphers that
749 OpenSSL recognizes and the client supports.
750
751 There should be a way for the B<s_server> program to print out details of any
752 unknown cipher suites a client says it supports.
753
754 =head1 SEE ALSO
755
756 L<SSL_CONF_cmd(3)>, L<sess_id(1)>, L<s_client(1)>, L<ciphers(1)>
757 L<SSL_CTX_set_max_send_fragment(3)>, L<SSL_CTX_set_split_send_fragment(3)>
758 L<SSL_CTX_set_max_pipelines(3)> 
759
760 =head1 HISTORY
761
762 The -no_alt_chains option was first added to OpenSSL 1.1.0.
763
764 The -allow-no-dhe-kex and -prioritize_chacha options were first added to
765 OpenSSL 1.1.1.
766
767 =head1 COPYRIGHT
768
769 Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
770
771 Licensed under the OpenSSL license (the "License").  You may not use
772 this file except in compliance with the License.  You can obtain a copy
773 in the file LICENSE in the source distribution or at
774 L<https://www.openssl.org/source/license.html>.
775
776 =cut