{
    "mode": "info",
    "parameter": "OPENSSL-S_SERVER",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/OPENSSL-S_SERVER/json",
    "generated": "2026-07-05T13:09:00Z",
    "synopsis": "openssl sserver [-help] [-port +int] [-accept val] [-unix val] [-4]\n[-6] [-unlink] [-context val] [-verify int] [-Verify int] [-cert\ninfile] [-cert2 infile] [-certform DER|PEM|P12] [-certchain infile]\n[-buildchain] [-serverinfo val] [-key filename|uri] [-key2\nfilename|uri] [-keyform DER|PEM|P12|ENGINE] [-pass val] [-dcert infile]\n[-dcertform DER|PEM|P12] [-dcertchain infile] [-dkey filename|uri]\n[-dkeyform DER|PEM|P12|ENGINE] [-dpass val] [-nbiotest] [-crlf]\n[-debug] [-msg] [-msgfile outfile] [-state] [-nocert] [-quiet]\n[-noresumeephemeral] [-www] [-WWW] [-httpserverbinmode]\n[-nocanames] [-ignoreunexpectedeof] [-servername]\n[-servernamefatal] [-tlsextdebug] [-HTTP] [-idprefix val]\n[-keymatexport val] [-keymatexportlen +int] [-CRL infile] [-CRLform\nDER|PEM] [-crldownload] [-chainCAfile infile] [-chainCApath dir]\n[-chainCAstore uri] [-verifyCAfile infile] [-verifyCApath dir]\n[-verifyCAstore uri] [-nocache] [-extcache] [-verifyreturnerror]\n[-verifyquiet] [-igneof] [-noigneof] [-noetm] [-status]\n[-statusverbose] [-statustimeout int] [-proxy\n[http[s]://][userinfo@]host[:port][/path]] [-noproxy addresses]\n[-statusurl val] [-statusfile infile] [-sslconfig val] [-trace]\n[-securitydebug] [-securitydebugverbose] [-brief] [-rev] [-async]\n[-maxsendfrag +int] [-splitsendfrag +int] [-maxpipelines +int]\n[-naccept +int] [-readbuf +int] [-bugs] [-nocomp] [-comp]\n[-noticket] [-serverpref] [-legacyrenegotiation] [-norenegotiation]\n[-noresumptiononreneg] [-nolegacyserverconnect]\n[-allownodhekex] [-prioritizechacha] [-strict] [-sigalgs val]\n[-clientsigalgs val] [-groups val] [-curves val] [-namedcurve val]\n[-cipher val] [-ciphersuites val] [-dhparam infile] [-recordpadding\nval] [-debugbrokenprotocol] [-nbio] [-pskidentity val] [-pskhint\nval] [-psk val] [-psksession file] [-srpvfile infile] [-srpuserseed\nval] [-timeout] [-mtu +int] [-listen] [-sctp] [-sctplabelbug]\n[-usesrtp val] [-nodhe] [-nextprotoneg val] [-alpn val] [-sendfile]\n[-keylogfile outfile] [-recvmaxearlydata int] [-maxearlydata int]\n[-earlydata] [-stateless] [-antireplay] [-noantireplay]\n[-numtickets] [-nameopt option] [-nossl3] [-notls1] [-notls11]\n[-notls12] [-notls13] [-ssl3] [-tls1] [-tls11] [-tls12] [-tls13]\n[-dtls] [-dtls1] [-dtls12] [-allowproxycerts] [-attime timestamp]\n[-nochecktime] [-checksssig] [-crlcheck] [-crlcheckall]\n[-explicitpolicy] [-extendedcrl] [-ignorecritical] [-inhibitany]\n[-inhibitmap] [-partialchain] [-policy arg] [-policycheck]\n[-policyprint] [-purpose purpose] [-suiteB128] [-suiteB128only]\n[-suiteB192] [-trustedfirst] [-noaltchains] [-usedeltas]\n[-authlevel num] [-verifydepth num] [-verifyemail email]\n[-verifyhostname hostname] [-verifyip ip] [-verifyname name]\n[-x509strict] [-issuerchecks] [-bugs] [-nocomp] [-comp] [-noticket]\n[-serverpref] [-clientrenegotiation] [-legacyrenegotiation]\n[-norenegotiation] [-noresumptiononreneg] [-legacyserverconnect]\n[-nolegacyserverconnect] [-noetm] [-allownodhekex]\n[-prioritizechacha] [-strict] [-sigalgs algs] [-clientsigalgs algs]\n[-groups groups] [-curves curves] [-namedcurve curve] [-cipher\nciphers] [-ciphersuites 1.3ciphers] [-minprotocol minprot]\n[-maxprotocol maxprot] [-recordpadding padding]\n[-debugbrokenprotocol] [-nomiddlebox] [-xkey infile] [-xcert file]\n[-xchain file] [-xchainbuild file] [-xcertform DER|PEM]> [-xkeyform\nDER|PEM]> [-CAfile file] [-no-CAfile] [-CApath dir] [-no-CApath]\n[-CAstore uri] [-no-CAstore] [-rand files] [-writerand file] [-engine\nid] [-provider name] [-provider-path path] [-propquery propq]",
    "sections": {
        "NAME": {
            "content": "openssl-sserver - SSL/TLS server program\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "openssl sserver [-help] [-port +int] [-accept val] [-unix val] [-4]\n[-6] [-unlink] [-context val] [-verify int] [-Verify int] [-cert\ninfile] [-cert2 infile] [-certform DER|PEM|P12] [-certchain infile]\n[-buildchain] [-serverinfo val] [-key filename|uri] [-key2\nfilename|uri] [-keyform DER|PEM|P12|ENGINE] [-pass val] [-dcert infile]\n[-dcertform DER|PEM|P12] [-dcertchain infile] [-dkey filename|uri]\n[-dkeyform DER|PEM|P12|ENGINE] [-dpass val] [-nbiotest] [-crlf]\n[-debug] [-msg] [-msgfile outfile] [-state] [-nocert] [-quiet]\n[-noresumeephemeral] [-www] [-WWW] [-httpserverbinmode]\n[-nocanames] [-ignoreunexpectedeof] [-servername]\n[-servernamefatal] [-tlsextdebug] [-HTTP] [-idprefix val]\n[-keymatexport val] [-keymatexportlen +int] [-CRL infile] [-CRLform\nDER|PEM] [-crldownload] [-chainCAfile infile] [-chainCApath dir]\n[-chainCAstore uri] [-verifyCAfile infile] [-verifyCApath dir]\n[-verifyCAstore uri] [-nocache] [-extcache] [-verifyreturnerror]\n[-verifyquiet] [-igneof] [-noigneof] [-noetm] [-status]\n[-statusverbose] [-statustimeout int] [-proxy\n[http[s]://][userinfo@]host[:port][/path]] [-noproxy addresses]\n[-statusurl val] [-statusfile infile] [-sslconfig val] [-trace]\n[-securitydebug] [-securitydebugverbose] [-brief] [-rev] [-async]\n[-maxsendfrag +int] [-splitsendfrag +int] [-maxpipelines +int]\n[-naccept +int] [-readbuf +int] [-bugs] [-nocomp] [-comp]\n[-noticket] [-serverpref] [-legacyrenegotiation] [-norenegotiation]\n[-noresumptiononreneg] [-nolegacyserverconnect]\n[-allownodhekex] [-prioritizechacha] [-strict] [-sigalgs val]\n[-clientsigalgs val] [-groups val] [-curves val] [-namedcurve val]\n[-cipher val] [-ciphersuites val] [-dhparam infile] [-recordpadding\nval] [-debugbrokenprotocol] [-nbio] [-pskidentity val] [-pskhint\nval] [-psk val] [-psksession file] [-srpvfile infile] [-srpuserseed\nval] [-timeout] [-mtu +int] [-listen] [-sctp] [-sctplabelbug]\n[-usesrtp val] [-nodhe] [-nextprotoneg val] [-alpn val] [-sendfile]\n[-keylogfile outfile] [-recvmaxearlydata int] [-maxearlydata int]\n[-earlydata] [-stateless] [-antireplay] [-noantireplay]\n[-numtickets] [-nameopt option] [-nossl3] [-notls1] [-notls11]\n[-notls12] [-notls13] [-ssl3] [-tls1] [-tls11] [-tls12] [-tls13]\n[-dtls] [-dtls1] [-dtls12] [-allowproxycerts] [-attime timestamp]\n[-nochecktime] [-checksssig] [-crlcheck] [-crlcheckall]\n[-explicitpolicy] [-extendedcrl] [-ignorecritical] [-inhibitany]\n[-inhibitmap] [-partialchain] [-policy arg] [-policycheck]\n[-policyprint] [-purpose purpose] [-suiteB128] [-suiteB128only]\n[-suiteB192] [-trustedfirst] [-noaltchains] [-usedeltas]\n[-authlevel num] [-verifydepth num] [-verifyemail email]\n[-verifyhostname hostname] [-verifyip ip] [-verifyname name]\n[-x509strict] [-issuerchecks] [-bugs] [-nocomp] [-comp] [-noticket]\n[-serverpref] [-clientrenegotiation] [-legacyrenegotiation]\n[-norenegotiation] [-noresumptiononreneg] [-legacyserverconnect]\n[-nolegacyserverconnect] [-noetm] [-allownodhekex]\n[-prioritizechacha] [-strict] [-sigalgs algs] [-clientsigalgs algs]\n[-groups groups] [-curves curves] [-namedcurve curve] [-cipher\nciphers] [-ciphersuites 1.3ciphers] [-minprotocol minprot]\n[-maxprotocol maxprot] [-recordpadding padding]\n[-debugbrokenprotocol] [-nomiddlebox] [-xkey infile] [-xcert file]\n[-xchain file] [-xchainbuild file] [-xcertform DER|PEM]> [-xkeyform\nDER|PEM]> [-CAfile file] [-no-CAfile] [-CApath dir] [-no-CApath]\n[-CAstore uri] [-no-CAstore] [-rand files] [-writerand file] [-engine\nid] [-provider name] [-provider-path path] [-propquery propq]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This command implements a generic SSL/TLS server which listens for\nconnections on a given port using SSL/TLS.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "In addition to the options below, this command also supports the common\nand server only options documented \"Supported Command Line Commands\" in\nSSLCONFcmd(3)\n",
            "subsections": [
                {
                    "name": "-help",
                    "content": "Print out a usage message.\n\n-port +int\nThe TCP port to listen on for connections. If not specified 4433 is\nused.\n\n-accept val\nThe optional TCP host and port to listen on for connections. If not\nspecified, *:4433 is used.\n\n-unix val\nUnix domain socket to accept on.\n\n-4  Use IPv4 only.\n\n-6  Use IPv6 only.\n"
                },
                {
                    "name": "-unlink",
                    "content": "For -unix, unlink any existing socket first.\n\n-context val\nSets the SSL context id. It can be given any string value. If this\noption is not present a default value will be used.\n\n-verify int, -Verify int\nThe verify depth to use. This specifies the maximum length of the\nclient certificate chain and makes the server request a certificate\nfrom the client. With the -verify option a certificate is requested\nbut the client does not have to send one, with the -Verify option\nthe client must supply a certificate or an error occurs.\n\nIf the cipher suite cannot request a client certificate (for\nexample an anonymous cipher suite or PSK) this option has no\neffect.\n\n-cert infile\nThe certificate to use, most servers cipher suites require the use\nof a certificate and some require a certificate with a certain\npublic key type: for example the DSS cipher suites require a\ncertificate containing a DSS (DSA) key. If not specified then the\nfilename server.pem will be used.\n\n-cert2 infile\nThe certificate file to use for servername; default is\n\"server2.pem\".\n\n-certform DER|PEM|P12\nThe server certificate file format; unspecified by default.  See\nopenssl-format-options(1) for details.\n"
                },
                {
                    "name": "-cert_chain",
                    "content": "A file or URI of untrusted certificates to use when attempting to\nbuild the certificate chain related to the certificate specified\nvia the -cert option.  The input can be in PEM, DER, or PKCS#12\nformat.\n"
                },
                {
                    "name": "-build_chain",
                    "content": "Specify whether the application should build the server certificate\nchain to be provided to the client.\n\n-serverinfo val\nA file containing one or more blocks of PEM data.  Each PEM block\nmust encode a TLS ServerHello extension (2 bytes type, 2 bytes\nlength, followed by \"length\" bytes of extension data).  If the\nclient sends an empty TLS ClientHello extension matching the type,\nthe corresponding ServerHello extension will be returned.\n\n-key filename|uri\nThe private key to use. If not specified then the certificate file\nwill be used.\n\n-key2 filename|uri\nThe private Key file to use for servername if not given via -cert2.\n\n-keyform DER|PEM|P12|ENGINE\nThe key format; unspecified by default.  See\nopenssl-format-options(1) for details.\n\n-pass val\nThe private key and certificate file password source.  For more\ninformation about the format of val, see\nopenssl-passphrase-options(1).\n\n-dcert infile, -dkey filename|uri\nSpecify an additional certificate and private key, these behave in\nthe same manner as the -cert and -key options except there is no\ndefault if they are not specified (no additional certificate and\nkey is used). As noted above some cipher suites require a\ncertificate containing a key of a certain type. Some cipher suites\nneed a certificate carrying an RSA key and some a DSS (DSA) key. By\nusing RSA and DSS certificates and keys a server can support\nclients which only support RSA or DSS cipher suites by using an\nappropriate certificate.\n"
                },
                {
                    "name": "-dcert_chain",
                    "content": "A file or URI of untrusted certificates to use when attempting to\nbuild the server certificate chain when a certificate specified via\nthe -dcert option is in use.  The input can be in PEM, DER, or\nPKCS#12 format.\n\n-dcertform DER|PEM|P12\nThe format of the additional certificate file; unspecified by\ndefault.  See openssl-format-options(1) for details.\n\n-dkeyform DER|PEM|P12|ENGINE\nThe format of the additional private key; unspecified by default.\nSee openssl-format-options(1) for details.\n\n-dpass val\nThe passphrase for the additional private key and certificate.  For\nmore information about the format of val, see\nopenssl-passphrase-options(1).\n"
                },
                {
                    "name": "-nbio_test",
                    "content": "Tests non blocking I/O.\n"
                },
                {
                    "name": "-crlf",
                    "content": "This option translated a line feed from the terminal into CR+LF.\n"
                },
                {
                    "name": "-debug",
                    "content": "Print extensive debugging information including a hex dump of all\ntraffic.\n"
                },
                {
                    "name": "-security_debug",
                    "content": "Print output from SSL/TLS security framework.\n"
                },
                {
                    "name": "-security_debug_verbose",
                    "content": "Print more output from SSL/TLS security framework\n"
                },
                {
                    "name": "-msg",
                    "content": "Show all protocol messages with hex dump.\n\n-msgfile outfile\nFile to send output of -msg or -trace to, default standard output.\n"
                },
                {
                    "name": "-state",
                    "content": "Prints the SSL session states.\n\n-CRL infile\nThe CRL file to use.\n\n-CRLform DER|PEM\nThe CRL file format; unspecified by default.  See\nopenssl-format-options(1) for details.\n"
                },
                {
                    "name": "-crl_download",
                    "content": "Download CRLs from distribution points given in CDP extensions of\ncertificates\n\n-verifyCAfile filename\nA file in PEM format CA containing trusted certificates to use for\nverifying client certificates.\n\n-verifyCApath dir\nA directory containing trusted certificates to use for verifying\nclient certificates.  This directory must be in \"hash format\", see\nopenssl-verify(1) for more information.\n\n-verifyCAstore uri\nThe URI of a store containing trusted certificates to use for\nverifying client certificates.\n\n-chainCAfile file\nA file in PEM format containing trusted certificates to use when\nattempting to build the server certificate chain.\n\n-chainCApath dir\nA directory containing trusted certificates to use for building the\nserver certificate chain provided to the client.  This directory\nmust be in \"hash format\", see openssl-verify(1) for more\ninformation.\n\n-chainCAstore uri\nThe URI of a store containing trusted certificates to use for\nbuilding the server certificate chain provided to the client.  The\nURI may indicate a single certificate, as well as a collection of\nthem.  With URIs in the \"file:\" scheme, this acts as -chainCAfile\nor -chainCApath, depending on if the URI indicates a directory or a\nsingle file.  See osslstore-file(7) for more information on the\n\"file:\" scheme.\n"
                },
                {
                    "name": "-nocert",
                    "content": "If this option is set then no certificate is used. This restricts\nthe cipher suites available to the anonymous ones (currently just\nanonymous DH).\n"
                },
                {
                    "name": "-quiet",
                    "content": "Inhibit printing of session and certificate information.\n"
                },
                {
                    "name": "-no_resume_ephemeral",
                    "content": "Disable caching and tickets if ephemeral (EC)DH is used.\n"
                },
                {
                    "name": "-tlsextdebug",
                    "content": "Print a hex dump of any TLS extensions received from the server.\n"
                },
                {
                    "name": "-www",
                    "content": "Sends a status message back to the client when it connects. This\nincludes information about the ciphers used and various session\nparameters.  The output is in HTML format so this option can be\nused with a web browser.  The special URL \"/renegcert\" turns on\nclient cert validation, and \"/reneg\" tells the server to request\nrenegotiation.  The -earlydata option cannot be used with this\noption.\n"
                },
                {
                    "name": "-WWW, -HTTP",
                    "content": "Emulates a simple web server. Pages will be resolved relative to\nthe current directory, for example if the URL\n\"https://myhost/page.html\" is requested the file ./page.html will\nbe sent.  If the -HTTP flag is used, the files are sent directly,\nand should contain any HTTP response headers (including status\nresponse line).  If the -WWW option is used, the response headers\nare generated by the server, and the file extension is examined to\ndetermine the Content-Type header.  Extensions of \"html\", \"htm\",\nand \"php\" are \"text/html\" and all others are \"text/plain\".  In\naddition, the special URL \"/stats\" will return status information\nlike the -www option.  Neither of these options can be used in\nconjunction with -earlydata.\n"
                },
                {
                    "name": "-http_server_binmode",
                    "content": "When acting as web-server (using option -WWW or -HTTP) open files\nrequested by the client in binary mode.\n"
                },
                {
                    "name": "-no_ca_names",
                    "content": "Disable TLS Extension CA Names. You may want to disable it for\nsecurity reasons or for compatibility with some Windows TLS\nimplementations crashing when this extension is larger than 1024\nbytes.\n"
                },
                {
                    "name": "-ignore_unexpected_eof",
                    "content": "Some TLS implementations do not send the mandatory closenotify\nalert on shutdown. If the application tries to wait for the\nclosenotify alert but the peer closes the connection without\nsending it, an error is generated. When this option is enabled the\npeer does not need to send the closenotify alert and a closed\nconnection will be treated as if the closenotify alert was\nreceived.  For more information on shutting down a connection, see\nSSLshutdown(3).\n"
                },
                {
                    "name": "-servername",
                    "content": "Servername for HostName TLS extension.\n"
                },
                {
                    "name": "-servername_fatal",
                    "content": "On servername mismatch send fatal alert (default: warning alert).\n\n-idprefix val\nGenerate SSL/TLS session IDs prefixed by val. This is mostly useful\nfor testing any SSL/TLS code (e.g. proxies) that wish to deal with\nmultiple servers, when each of which might be generating a unique\nrange of session IDs (e.g. with a certain prefix).\n"
                },
                {
                    "name": "-keymatexport",
                    "content": "Export keying material using label.\n"
                },
                {
                    "name": "-keymatexportlen",
                    "content": "Export the given number of bytes of keying material; default 20.\n"
                },
                {
                    "name": "-no_cache",
                    "content": "Disable session cache.\n\n-extcache.\nDisable internal cache, set up and use external cache.\n"
                },
                {
                    "name": "-verify_return_error",
                    "content": "Verification errors normally just print a message but allow the\nconnection to continue, for debugging purposes.  If this option is\nused, then verification errors close the connection.\n"
                },
                {
                    "name": "-verify_quiet",
                    "content": "No verify output except verify errors.\n"
                },
                {
                    "name": "-ign_eof",
                    "content": "Ignore input EOF (default: when -quiet).\n"
                },
                {
                    "name": "-no_ign_eof",
                    "content": "Do not ignore input EOF.\n"
                },
                {
                    "name": "-no_etm",
                    "content": "Disable Encrypt-then-MAC negotiation.\n"
                },
                {
                    "name": "-status",
                    "content": "Enables certificate status request support (aka OCSP stapling).\n"
                },
                {
                    "name": "-status_verbose",
                    "content": "Enables certificate status request support (aka OCSP stapling) and\ngives a verbose printout of the OCSP response.\n\n-statustimeout int\nSets the timeout for OCSP response to int seconds.\n\n-proxy [http[s]://][userinfo@]host[:port][/path]\nThe HTTP(S) proxy server to use for reaching the OCSP server unless\n-noproxy applies, see below.  The proxy port defaults to 80 or 443\nif the scheme is \"https\"; apart from that the optional \"http://\" or\n\"https://\" prefix is ignored, as well as any userinfo and path\ncomponents.  Defaults to the environment variable \"httpproxy\" if\nset, else \"HTTPPROXY\" in case no TLS is used, otherwise\n\"httpsproxy\" if set, else \"HTTPSPROXY\".\n\n-noproxy addresses\nList of IP addresses and/or DNS names of servers not to use an\nHTTP(S) proxy for, separated by commas and/or whitespace (where in\nthe latter case the whole argument must be enclosed in \"...\").\nDefault is from the environment variable \"noproxy\" if set, else\n\"NOPROXY\".\n\n-statusurl val\nSets a fallback responder URL to use if no responder URL is present\nin the server certificate. Without this option an error is returned\nif the server certificate does not contain a responder address.\nThe optional userinfo and fragment URL components are ignored.  Any\ngiven query component is handled as part of the path component.\n\n-statusfile infile\nOverrides any OCSP responder URLs from the certificate and always\nprovides the OCSP Response stored in the file. The file must be in\nDER format.\n\n-sslconfig val\nConfigure SSLCTX using the given configuration value.\n"
                },
                {
                    "name": "-trace",
                    "content": "Show verbose trace output of protocol messages.\n"
                },
                {
                    "name": "-brief",
                    "content": "Provide a brief summary of connection parameters instead of the\nnormal verbose output.\n"
                },
                {
                    "name": "-rev",
                    "content": "Simple echo server that sends back received text reversed. Also\nsets -brief.  Cannot be used in conjunction with -earlydata.\n"
                },
                {
                    "name": "-async",
                    "content": "Switch on asynchronous mode. Cryptographic operations will be\nperformed asynchronously. This will only have an effect if an\nasynchronous capable engine is also used via the -engine option.\nFor test purposes the dummy async engine (dasync) can be used (if\navailable).\n\n-maxsendfrag +int\nThe maximum size of data fragment to send.  See\nSSLCTXsetmaxsendfragment(3) for further information.\n\n-splitsendfrag +int\nThe size used to split data for encrypt pipelines. If more data is\nwritten in one go than this value then it will be split into\nmultiple pipelines, up to the maximum number of pipelines defined\nby maxpipelines. This only has an effect if a suitable cipher\nsuite has been negotiated, an engine that supports pipelining has\nbeen loaded, and maxpipelines is greater than 1. See\nSSLCTXsetsplitsendfragment(3) for further information.\n\n-maxpipelines +int\nThe maximum number of encrypt/decrypt pipelines to be used. This\nwill only have an effect if an engine has been loaded that supports\npipelining (e.g. the dasync engine) and a suitable cipher suite has\nbeen negotiated. The default value is 1.  See\nSSLCTXsetmaxpipelines(3) for further information.\n\n-naccept +int\nThe server will exit after receiving the specified number of\nconnections, default unlimited.\n\n-readbuf +int\nThe default read buffer size to be used for connections. This will\nonly have an effect if the buffer size is larger than the size that\nwould otherwise be used and pipelining is in use (see\nSSLCTXsetdefaultreadbufferlen(3) for further information).\n"
                },
                {
                    "name": "-bugs",
                    "content": "There are several known bugs in SSL and TLS implementations. Adding\nthis option enables various workarounds.\n"
                },
                {
                    "name": "-no_comp",
                    "content": "Disable negotiation of TLS compression.  TLS compression is not\nrecommended and is off by default as of OpenSSL 1.1.0.\n"
                },
                {
                    "name": "-comp",
                    "content": "Enable negotiation of TLS compression.  This option was introduced\nin OpenSSL 1.1.0.  TLS compression is not recommended and is off by\ndefault as of OpenSSL 1.1.0.\n"
                },
                {
                    "name": "-no_ticket",
                    "content": "Disable RFC4507bis session ticket support. This option has no\neffect if TLSv1.3 is negotiated. See -numtickets.\n"
                },
                {
                    "name": "-num_tickets",
                    "content": "Control the number of tickets that will be sent to the client after\na full handshake in TLSv1.3. The default number of tickets is 2.\nThis option does not affect the number of tickets sent after a\nresumption handshake.\n"
                },
                {
                    "name": "-serverpref",
                    "content": "Use the server's cipher preferences, rather than the client's\npreferences.\n"
                },
                {
                    "name": "-prioritize_chacha",
                    "content": "Prioritize ChaCha ciphers when preferred by clients. Requires\n-serverpref.\n"
                },
                {
                    "name": "-no_resumption_on_reneg",
                    "content": "Set the SSLOPNOSESSIONRESUMPTIONONRENEGOTIATION option.\n\n-clientsigalgs val\nSignature algorithms to support for client certificate\nauthentication (colon-separated list).\n\n-namedcurve val\nSpecifies the elliptic curve to use. NOTE: this is single curve,\nnot a list.  For a list of all possible curves, use:\n\n$ openssl ecparam -listcurves\n\n-cipher val\nThis allows the list of TLSv1.2 and below ciphersuites used by the\nserver to be modified. This list is combined with any TLSv1.3\nciphersuites that have been configured. When the client sends a\nlist of supported ciphers the first client cipher also included in\nthe server list is used. Because the client specifies the\npreference order, the order of the server cipherlist is irrelevant.\nSee openssl-ciphers(1) for more information.\n\n-ciphersuites val\nThis allows the list of TLSv1.3 ciphersuites used by the server to\nbe modified.  This list is combined with any TLSv1.2 and below\nciphersuites that have been configured. When the client sends a\nlist of supported ciphers the first client cipher also included in\nthe server list is used. Because the client specifies the\npreference order, the order of the server cipherlist is irrelevant.\nSee openssl-ciphers(1) command for more information. The format for\nthis list is a simple colon (\":\") separated list of TLSv1.3\nciphersuite names.\n\n-dhparam infile\nThe DH parameter file to use. The ephemeral DH cipher suites\ngenerate keys using a set of DH parameters. If not specified then\nan attempt is made to load the parameters from the server\ncertificate file.  If this fails then a static set of parameters\nhard coded into this command will be used.\n"
                },
                {
                    "name": "-nbio",
                    "content": "Turns on non blocking I/O.\n"
                },
                {
                    "name": "-timeout",
                    "content": "Enable timeouts.\n"
                },
                {
                    "name": "-mtu",
                    "content": "Set link-layer MTU.\n\n-pskidentity val\nExpect the client to send PSK identity val when using a PSK cipher\nsuite, and warn if they do not.  By default, the expected PSK\nidentity is the string \"Clientidentity\".\n\n-pskhint val\nUse the PSK identity hint val when using a PSK cipher suite.\n\n-psk val\nUse the PSK key val when using a PSK cipher suite. The key is given\nas a hexadecimal number without leading 0x, for example -psk\n1a2b3c4d.  This option must be provided in order to use a PSK\ncipher.\n\n-psksession file\nUse the pem encoded SSLSESSION data stored in file as the basis of\na PSK.  Note that this will only work if TLSv1.3 is negotiated.\n"
                },
                {
                    "name": "-srpvfile",
                    "content": "The verifier file for SRP.  This option is deprecated.\n"
                },
                {
                    "name": "-srpuserseed",
                    "content": "A seed string for a default user salt.  This option is deprecated.\n"
                },
                {
                    "name": "-listen",
                    "content": "This option can only be used in conjunction with one of the DTLS\noptions above.  With this option, this command will listen on a UDP\nport for incoming connections.  Any ClientHellos that arrive will\nbe checked to see if they have a cookie in them or not.  Any\nwithout a cookie will be responded to with a HelloVerifyRequest.\nIf a ClientHello with a cookie is received then this command will\nconnect to that peer and complete the handshake.\n"
                },
                {
                    "name": "-sctp",
                    "content": "Use SCTP for the transport protocol instead of UDP in DTLS. Must be\nused in conjunction with -dtls, -dtls1 or -dtls12. This option is\nonly available where OpenSSL has support for SCTP enabled.\n"
                },
                {
                    "name": "-sctp_label_bug",
                    "content": "Use the incorrect behaviour of older OpenSSL implementations when\ncomputing endpoint-pair shared secrets for DTLS/SCTP. This allows\ncommunication with older broken implementations but breaks\ninteroperability with correct implementations. Must be used in\nconjunction with -sctp. This option is only available where OpenSSL\nhas support for SCTP enabled.\n"
                },
                {
                    "name": "-use_srtp",
                    "content": "Offer SRTP key management with a colon-separated profile list.\n"
                },
                {
                    "name": "-no_dhe",
                    "content": "If this option is set then no DH parameters will be loaded\neffectively disabling the ephemeral DH cipher suites.\n\n-alpn val, -nextprotoneg val\nThese flags enable the Application-Layer Protocol Negotiation or\nNext Protocol Negotiation (NPN) extension, respectively. ALPN is\nthe IETF standard and replaces NPN.  The val list is a comma-\nseparated list of supported protocol names.  The list should\ncontain the most desirable protocols first.  Protocol names are\nprintable ASCII strings, for example \"http/1.1\" or \"spdy/3\".  The\nflag -nextprotoneg cannot be specified if -tls13 is used.\n"
                },
                {
                    "name": "-sendfile",
                    "content": "If this option is set and KTLS is enabled, SSLsendfile() will be\nused instead of BIOwrite() to send the HTTP response requested by\na client.  This option is only valid if -WWW or -HTTP is specified.\n\n-keylogfile outfile\nAppends TLS secrets to the specified keylog file such that external\nprograms (like Wireshark) can decrypt TLS connections.\n\n-maxearlydata int\nChange the default maximum early data bytes that are specified for\nnew sessions and any incoming early data (when used in conjunction\nwith the -earlydata flag). The default value is approximately 16k.\nThe argument must be an integer greater than or equal to 0.\n\n-recvmaxearlydata int\nSpecify the hard limit on the maximum number of early data bytes\nthat will be accepted.\n"
                },
                {
                    "name": "-early_data",
                    "content": "Accept early data where possible. Cannot be used in conjunction\nwith -www, -WWW, -HTTP or -rev.\n"
                },
                {
                    "name": "-stateless",
                    "content": "Require TLSv1.3 cookies.\n"
                },
                {
                    "name": "-anti_replay, -no_anti_replay",
                    "content": "Switches replay protection on or off, respectively. Replay\nprotection is on by default unless overridden by a configuration\nfile. When it is on, OpenSSL will automatically detect if a session\nticket has been used more than once, TLSv1.3 has been negotiated,\nand early data is enabled on the server. A full handshake is forced\nif a session ticket is used a second or subsequent time. Any early\ndata that was sent will be rejected.\n\n-nameopt option\nThis specifies how the subject or issuer names are displayed.  See\nopenssl-namedisplay-options(1) for details.\n\n-nossl3, -notls1, -notls11, -notls12, -notls13, -ssl3, -tls1,"
                },
                {
                    "name": "-tls1_1, -tls1_2, -tls1_3",
                    "content": "See \"TLS Version Options\" in openssl(1).\n"
                },
                {
                    "name": "-dtls, -dtls1, -dtls1_2",
                    "content": "These specify the use of DTLS instead of TLS.  See \"TLS Version\nOptions\" in openssl(1).\n\n-bugs, -comp, -nocomp, -noticket, -serverpref, -clientrenegotiation,\n-legacyrenegotiation, -norenegotiation, -noresumptiononreneg,"
                },
                {
                    "name": "-legacy_server_connect, -no_legacy_server_connect, -no_etm",
                    "content": "-allownodhekex, -prioritizechacha, -strict, -sigalgs algs,\n-clientsigalgs algs, -groups groups, -curves curves, -namedcurve\ncurve, -cipher ciphers, -ciphersuites 1.3ciphers, -minprotocol\nminprot, -maxprotocol maxprot, -recordpadding padding,"
                },
                {
                    "name": "-debug_broken_protocol, -no_middlebox",
                    "content": "See \"SUPPORTED COMMAND LINE COMMANDS\" in SSLCONFcmd(3) for\ndetails.\n\n-xkey infile, -xcert file, -xchain file, -xchainbuild file, -xcertform\nDER|PEM, -xkeyform DER|PEM\nSet extended certificate verification options.  See \"Extended\nVerification Options\" in openssl-verification-options(1) for\ndetails.\n\n-CAfile file, -no-CAfile, -CApath dir, -no-CApath, -CAstore uri,"
                },
                {
                    "name": "-no-CAstore",
                    "content": "See \"Trusted Certificate Options\" in\nopenssl-verification-options(1) for details.\n\n-rand files, -writerand file\nSee \"Random State Options\" in openssl(1) for details.\n\n-engine id\nSee \"Engine Options\" in openssl(1).  This option is deprecated.\n\n-provider name\n-provider-path path\n-propquery propq\nSee \"Provider Options\" in openssl(1), provider(7), and property(7).\n\n-allowproxycerts, -attime, -nochecktime, -checksssig, -crlcheck,\n-crlcheckall, -explicitpolicy, -extendedcrl, -ignorecritical,\n-inhibitany, -inhibitmap, -noaltchains, -partialchain, -policy,\n-policycheck, -policyprint, -purpose, -suiteB128, -suiteB128only,\n-suiteB192, -trustedfirst, -usedeltas, -authlevel, -verifydepth,"
                },
                {
                    "name": "-verify_email, -verify_hostname, -verify_ip, -verify_name, -x509_strict",
                    "content": ""
                },
                {
                    "name": "-issuer_checks",
                    "content": "Set various options of certificate chain verification.  See\n\"Verification Options\" in openssl-verification-options(1) for\ndetails.\n\nIf the server requests a client certificate, then verification\nerrors are displayed, for debugging, but the command will proceed\nunless the -verifyreturnerror option is used.\n"
                }
            ]
        },
        "CONNECTED COMMANDS": {
            "content": "If a connection request is established with an SSL client and neither\nthe -www nor the -WWW option has been used then normally any data\nreceived from the client is displayed and any key presses will be sent\nto the client.\n\nCertain commands are also recognized which perform special operations.\nThese commands are a letter which must appear at the start of a line.\nThey are listed below.\n\nq   End the current SSL connection but still accept new connections.\n\nQ   End the current SSL connection and exit.\n\nr   Renegotiate the SSL session (TLSv1.2 and below only).\n\nR   Renegotiate the SSL session and request a client certificate\n(TLSv1.2 and below only).\n\nP   Send some plain text down the underlying TCP connection: this\nshould cause the client to disconnect due to a protocol violation.\n\nS   Print out some session cache status information.\n\nk   Send a key update message to the client (TLSv1.3 only)\n\nK   Send a key update message to the client and request one back\n(TLSv1.3 only)\n\nc   Send a certificate request to the client (TLSv1.3 only)\n",
            "subsections": []
        },
        "NOTES": {
            "content": "This command can be used to debug SSL clients. To accept connections\nfrom a web browser the command:\n\nopenssl sserver -accept 443 -www\n\ncan be used for example.\n\nAlthough specifying an empty list of CAs when requesting a client\ncertificate is strictly speaking a protocol violation, some SSL clients\ninterpret this to mean any CA is acceptable. This is useful for\ndebugging purposes.\n\nThe session parameters can printed out using the openssl-sessid(1)\ncommand.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Because this program has a lot of options and also because some of the\ntechniques used are rather old, the C source for this command is rather\nhard to read and not a model of how things should be done.  A typical\nSSL server program would be much simpler.\n\nThe output of common ciphers is wrong: it just gives the list of\nciphers that OpenSSL recognizes and the client supports.\n\nThere should be a way for this command to print out details of any\nunknown cipher suites a client says it supports.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "openssl(1), openssl-sessid(1), openssl-sclient(1),\nopenssl-ciphers(1), SSLCONFcmd(3), SSLCTXsetmaxsendfragment(3),\nSSLCTXsetsplitsendfragment(3), SSLCTXsetmaxpipelines(3),\nosslstore-file(7)\n",
            "subsections": []
        },
        "HISTORY": {
            "content": "The -noaltchains option was added in OpenSSL 1.1.0.\n\nThe -allow-no-dhe-kex and -prioritizechacha options were added in\nOpenSSL 1.1.1.\n\nThe -srpvfile, -srpuserseed, and -engine option were deprecated in\nOpenSSL 3.0.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.\n\nLicensed under the Apache License 2.0 (the \"License\").  You may not use\nthis file except in compliance with the License.  You can obtain a copy\nin the file LICENSE in the source distribution or at\n<https://www.openssl.org/source/license.html>.\n\n3.0.2                             2026-06-02            OPENSSL-SSERVER(1SSL)",
            "subsections": []
        }
    },
    "summary": "openssl-sserver - SSL/TLS server program",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Print out a usage message. -port +int The TCP port to listen on for connections. If not specified 4433 is used. -accept val The optional TCP host and port to listen on for connections. If not specified, *:4433 is used. -unix val Unix domain socket to accept on. -4 Use IPv4 only. -6 Use IPv6 only."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "For -unix, unlink any existing socket first. -context val Sets the SSL context id. It can be given any string value. If this option is not present a default value will be used. -verify int, -Verify int The verify depth to use. This specifies the maximum length of the client certificate chain and makes the server request a certificate from the client. With the -verify option a certificate is requested but the client does not have to send one, with the -Verify option the client must supply a certificate or an error occurs. If the cipher suite cannot request a client certificate (for example an anonymous cipher suite or PSK) this option has no effect. -cert infile The certificate to use, most servers cipher suites require the use of a certificate and some require a certificate with a certain public key type: for example the DSS cipher suites require a certificate containing a DSS (DSA) key. If not specified then the filename server.pem will be used. -cert2 infile The certificate file to use for servername; default is \"server2.pem\". -certform DER|PEM|P12 The server certificate file format; unspecified by default. See openssl-format-options(1) for details."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "A file or URI of untrusted certificates to use when attempting to build the certificate chain related to the certificate specified via the -cert option. The input can be in PEM, DER, or PKCS#12 format."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Specify whether the application should build the server certificate chain to be provided to the client. -serverinfo val A file containing one or more blocks of PEM data. Each PEM block must encode a TLS ServerHello extension (2 bytes type, 2 bytes length, followed by \"length\" bytes of extension data). If the client sends an empty TLS ClientHello extension matching the type, the corresponding ServerHello extension will be returned. -key filename|uri The private key to use. If not specified then the certificate file will be used. -key2 filename|uri The private Key file to use for servername if not given via -cert2. -keyform DER|PEM|P12|ENGINE The key format; unspecified by default. See openssl-format-options(1) for details. -pass val The private key and certificate file password source. For more information about the format of val, see openssl-passphrase-options(1). -dcert infile, -dkey filename|uri Specify an additional certificate and private key, these behave in the same manner as the -cert and -key options except there is no default if they are not specified (no additional certificate and key is used). As noted above some cipher suites require a certificate containing a key of a certain type. Some cipher suites need a certificate carrying an RSA key and some a DSS (DSA) key. By using RSA and DSS certificates and keys a server can support clients which only support RSA or DSS cipher suites by using an appropriate certificate."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "A file or URI of untrusted certificates to use when attempting to build the server certificate chain when a certificate specified via the -dcert option is in use. The input can be in PEM, DER, or PKCS#12 format. -dcertform DER|PEM|P12 The format of the additional certificate file; unspecified by default. See openssl-format-options(1) for details. -dkeyform DER|PEM|P12|ENGINE The format of the additional private key; unspecified by default. See openssl-format-options(1) for details. -dpass val The passphrase for the additional private key and certificate. For more information about the format of val, see openssl-passphrase-options(1)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Tests non blocking I/O."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option translated a line feed from the terminal into CR+LF."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Print extensive debugging information including a hex dump of all traffic."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Print output from SSL/TLS security framework."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Print more output from SSL/TLS security framework"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show all protocol messages with hex dump. -msgfile outfile File to send output of -msg or -trace to, default standard output."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Prints the SSL session states. -CRL infile The CRL file to use. -CRLform DER|PEM The CRL file format; unspecified by default. See openssl-format-options(1) for details."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Download CRLs from distribution points given in CDP extensions of certificates -verifyCAfile filename A file in PEM format CA containing trusted certificates to use for verifying client certificates. -verifyCApath dir A directory containing trusted certificates to use for verifying client certificates. This directory must be in \"hash format\", see openssl-verify(1) for more information. -verifyCAstore uri The URI of a store containing trusted certificates to use for verifying client certificates. -chainCAfile file A file in PEM format containing trusted certificates to use when attempting to build the server certificate chain. -chainCApath dir A directory containing trusted certificates to use for building the server certificate chain provided to the client. This directory must be in \"hash format\", see openssl-verify(1) for more information. -chainCAstore uri The URI of a store containing trusted certificates to use for building the server certificate chain provided to the client. The URI may indicate a single certificate, as well as a collection of them. With URIs in the \"file:\" scheme, this acts as -chainCAfile or -chainCApath, depending on if the URI indicates a directory or a single file. See osslstore-file(7) for more information on the \"file:\" scheme."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "If this option is set then no certificate is used. This restricts the cipher suites available to the anonymous ones (currently just anonymous DH)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Inhibit printing of session and certificate information."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Disable caching and tickets if ephemeral (EC)DH is used."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Print a hex dump of any TLS extensions received from the server."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Sends a status message back to the client when it connects. This includes information about the ciphers used and various session parameters. The output is in HTML format so this option can be used with a web browser. The special URL \"/renegcert\" turns on client cert validation, and \"/reneg\" tells the server to request renegotiation. The -earlydata option cannot be used with this option."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Emulates a simple web server. Pages will be resolved relative to the current directory, for example if the URL \"https://myhost/page.html\" is requested the file ./page.html will be sent. If the -HTTP flag is used, the files are sent directly, and should contain any HTTP response headers (including status response line). If the -WWW option is used, the response headers are generated by the server, and the file extension is examined to determine the Content-Type header. Extensions of \"html\", \"htm\", and \"php\" are \"text/html\" and all others are \"text/plain\". In addition, the special URL \"/stats\" will return status information like the -www option. Neither of these options can be used in conjunction with -earlydata."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "When acting as web-server (using option -WWW or -HTTP) open files requested by the client in binary mode."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Disable TLS Extension CA Names. You may want to disable it for security reasons or for compatibility with some Windows TLS implementations crashing when this extension is larger than 1024 bytes."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Some TLS implementations do not send the mandatory closenotify alert on shutdown. If the application tries to wait for the closenotify alert but the peer closes the connection without sending it, an error is generated. When this option is enabled the peer does not need to send the closenotify alert and a closed connection will be treated as if the closenotify alert was received. For more information on shutting down a connection, see SSLshutdown(3)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Servername for HostName TLS extension."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "On servername mismatch send fatal alert (default: warning alert). -idprefix val Generate SSL/TLS session IDs prefixed by val. This is mostly useful for testing any SSL/TLS code (e.g. proxies) that wish to deal with multiple servers, when each of which might be generating a unique range of session IDs (e.g. with a certain prefix)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Export keying material using label."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Export the given number of bytes of keying material; default 20."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Disable session cache. -extcache. Disable internal cache, set up and use external cache."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Verification errors normally just print a message but allow the connection to continue, for debugging purposes. If this option is used, then verification errors close the connection."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "No verify output except verify errors."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Ignore input EOF (default: when -quiet)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Do not ignore input EOF."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Disable Encrypt-then-MAC negotiation."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Enables certificate status request support (aka OCSP stapling)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Enables certificate status request support (aka OCSP stapling) and gives a verbose printout of the OCSP response. -statustimeout int Sets the timeout for OCSP response to int seconds. -proxy [http[s]://][userinfo@]host[:port][/path] The HTTP(S) proxy server to use for reaching the OCSP server unless -noproxy applies, see below. The proxy port defaults to 80 or 443 if the scheme is \"https\"; apart from that the optional \"http://\" or \"https://\" prefix is ignored, as well as any userinfo and path components. Defaults to the environment variable \"httpproxy\" if set, else \"HTTPPROXY\" in case no TLS is used, otherwise \"httpsproxy\" if set, else \"HTTPSPROXY\". -noproxy addresses List of IP addresses and/or DNS names of servers not to use an HTTP(S) proxy for, separated by commas and/or whitespace (where in the latter case the whole argument must be enclosed in \"...\"). Default is from the environment variable \"noproxy\" if set, else \"NOPROXY\". -statusurl val Sets a fallback responder URL to use if no responder URL is present in the server certificate. Without this option an error is returned if the server certificate does not contain a responder address. The optional userinfo and fragment URL components are ignored. Any given query component is handled as part of the path component. -statusfile infile Overrides any OCSP responder URLs from the certificate and always provides the OCSP Response stored in the file. The file must be in DER format. -sslconfig val Configure SSLCTX using the given configuration value."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show verbose trace output of protocol messages."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Provide a brief summary of connection parameters instead of the normal verbose output."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Simple echo server that sends back received text reversed. Also sets -brief. Cannot be used in conjunction with -earlydata."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Switch on asynchronous mode. Cryptographic operations will be performed asynchronously. This will only have an effect if an asynchronous capable engine is also used via the -engine option. For test purposes the dummy async engine (dasync) can be used (if available). -maxsendfrag +int The maximum size of data fragment to send. See SSLCTXsetmaxsendfragment(3) for further information. -splitsendfrag +int The size used to split data for encrypt pipelines. If more data is written in one go than this value then it will be split into multiple pipelines, up to the maximum number of pipelines defined by maxpipelines. This only has an effect if a suitable cipher suite has been negotiated, an engine that supports pipelining has been loaded, and maxpipelines is greater than 1. See SSLCTXsetsplitsendfragment(3) for further information. -maxpipelines +int The maximum number of encrypt/decrypt pipelines to be used. This will only have an effect if an engine has been loaded that supports pipelining (e.g. the dasync engine) and a suitable cipher suite has been negotiated. The default value is 1. See SSLCTXsetmaxpipelines(3) for further information. -naccept +int The server will exit after receiving the specified number of connections, default unlimited. -readbuf +int The default read buffer size to be used for connections. This will only have an effect if the buffer size is larger than the size that would otherwise be used and pipelining is in use (see SSLCTXsetdefaultreadbufferlen(3) for further information)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "There are several known bugs in SSL and TLS implementations. Adding this option enables various workarounds."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Disable negotiation of TLS compression. TLS compression is not recommended and is off by default as of OpenSSL 1.1.0."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Enable negotiation of TLS compression. This option was introduced in OpenSSL 1.1.0. TLS compression is not recommended and is off by default as of OpenSSL 1.1.0."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Disable RFC4507bis session ticket support. This option has no effect if TLSv1.3 is negotiated. See -numtickets."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Control the number of tickets that will be sent to the client after a full handshake in TLSv1.3. The default number of tickets is 2. This option does not affect the number of tickets sent after a resumption handshake."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Use the server's cipher preferences, rather than the client's preferences."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Prioritize ChaCha ciphers when preferred by clients. Requires -serverpref."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set the SSLOPNOSESSIONRESUMPTIONONRENEGOTIATION option. -clientsigalgs val Signature algorithms to support for client certificate authentication (colon-separated list). -namedcurve val Specifies the elliptic curve to use. NOTE: this is single curve, not a list. For a list of all possible curves, use: $ openssl ecparam -listcurves -cipher val This allows the list of TLSv1.2 and below ciphersuites used by the server to be modified. This list is combined with any TLSv1.3 ciphersuites that have been configured. When the client sends a list of supported ciphers the first client cipher also included in the server list is used. Because the client specifies the preference order, the order of the server cipherlist is irrelevant. See openssl-ciphers(1) for more information. -ciphersuites val This allows the list of TLSv1.3 ciphersuites used by the server to be modified. This list is combined with any TLSv1.2 and below ciphersuites that have been configured. When the client sends a list of supported ciphers the first client cipher also included in the server list is used. Because the client specifies the preference order, the order of the server cipherlist is irrelevant. See openssl-ciphers(1) command for more information. The format for this list is a simple colon (\":\") separated list of TLSv1.3 ciphersuite names. -dhparam infile The DH parameter file to use. The ephemeral DH cipher suites generate keys using a set of DH parameters. If not specified then an attempt is made to load the parameters from the server certificate file. If this fails then a static set of parameters hard coded into this command will be used."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Turns on non blocking I/O."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Enable timeouts."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set link-layer MTU. -pskidentity val Expect the client to send PSK identity val when using a PSK cipher suite, and warn if they do not. By default, the expected PSK identity is the string \"Clientidentity\". -pskhint val Use the PSK identity hint val when using a PSK cipher suite. -psk val Use the PSK key val when using a PSK cipher suite. The key is given as a hexadecimal number without leading 0x, for example -psk 1a2b3c4d. This option must be provided in order to use a PSK cipher. -psksession file Use the pem encoded SSLSESSION data stored in file as the basis of a PSK. Note that this will only work if TLSv1.3 is negotiated."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The verifier file for SRP. This option is deprecated."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "A seed string for a default user salt. This option is deprecated."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option can only be used in conjunction with one of the DTLS options above. With this option, this command will listen on a UDP port for incoming connections. Any ClientHellos that arrive will be checked to see if they have a cookie in them or not. Any without a cookie will be responded to with a HelloVerifyRequest. If a ClientHello with a cookie is received then this command will connect to that peer and complete the handshake."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Use SCTP for the transport protocol instead of UDP in DTLS. Must be used in conjunction with -dtls, -dtls1 or -dtls12. This option is only available where OpenSSL has support for SCTP enabled."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Use the incorrect behaviour of older OpenSSL implementations when computing endpoint-pair shared secrets for DTLS/SCTP. This allows communication with older broken implementations but breaks interoperability with correct implementations. Must be used in conjunction with -sctp. This option is only available where OpenSSL has support for SCTP enabled."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Offer SRTP key management with a colon-separated profile list."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "If this option is set then no DH parameters will be loaded effectively disabling the ephemeral DH cipher suites. -alpn val, -nextprotoneg val These flags enable the Application-Layer Protocol Negotiation or Next Protocol Negotiation (NPN) extension, respectively. ALPN is the IETF standard and replaces NPN. The val list is a comma- separated list of supported protocol names. The list should contain the most desirable protocols first. Protocol names are printable ASCII strings, for example \"http/1.1\" or \"spdy/3\". The flag -nextprotoneg cannot be specified if -tls13 is used."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "If this option is set and KTLS is enabled, SSLsendfile() will be used instead of BIOwrite() to send the HTTP response requested by a client. This option is only valid if -WWW or -HTTP is specified. -keylogfile outfile Appends TLS secrets to the specified keylog file such that external programs (like Wireshark) can decrypt TLS connections. -maxearlydata int Change the default maximum early data bytes that are specified for new sessions and any incoming early data (when used in conjunction with the -earlydata flag). The default value is approximately 16k. The argument must be an integer greater than or equal to 0. -recvmaxearlydata int Specify the hard limit on the maximum number of early data bytes that will be accepted."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Accept early data where possible. Cannot be used in conjunction with -www, -WWW, -HTTP or -rev."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Require TLSv1.3 cookies."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Switches replay protection on or off, respectively. Replay protection is on by default unless overridden by a configuration file. When it is on, OpenSSL will automatically detect if a session ticket has been used more than once, TLSv1.3 has been negotiated, and early data is enabled on the server. A full handshake is forced if a session ticket is used a second or subsequent time. Any early data that was sent will be rejected. -nameopt option This specifies how the subject or issuer names are displayed. See openssl-namedisplay-options(1) for details. -nossl3, -notls1, -notls11, -notls12, -notls13, -ssl3, -tls1,"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "See \"TLS Version Options\" in openssl(1)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "These specify the use of DTLS instead of TLS. See \"TLS Version Options\" in openssl(1). -bugs, -comp, -nocomp, -noticket, -serverpref, -clientrenegotiation, -legacyrenegotiation, -norenegotiation, -noresumptiononreneg,"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "-allownodhekex, -prioritizechacha, -strict, -sigalgs algs, -clientsigalgs algs, -groups groups, -curves curves, -namedcurve curve, -cipher ciphers, -ciphersuites 1.3ciphers, -minprotocol minprot, -maxprotocol maxprot, -recordpadding padding,"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "See \"SUPPORTED COMMAND LINE COMMANDS\" in SSLCONFcmd(3) for details. -xkey infile, -xcert file, -xchain file, -xchainbuild file, -xcertform DER|PEM, -xkeyform DER|PEM Set extended certificate verification options. See \"Extended Verification Options\" in openssl-verification-options(1) for details. -CAfile file, -no-CAfile, -CApath dir, -no-CApath, -CAstore uri,"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "See \"Trusted Certificate Options\" in openssl-verification-options(1) for details. -rand files, -writerand file See \"Random State Options\" in openssl(1) for details. -engine id See \"Engine Options\" in openssl(1). This option is deprecated. -provider name -provider-path path -propquery propq See \"Provider Options\" in openssl(1), provider(7), and property(7). -allowproxycerts, -attime, -nochecktime, -checksssig, -crlcheck, -crlcheckall, -explicitpolicy, -extendedcrl, -ignorecritical, -inhibitany, -inhibitmap, -noaltchains, -partialchain, -policy, -policycheck, -policyprint, -purpose, -suiteB128, -suiteB128only, -suiteB192, -trustedfirst, -usedeltas, -authlevel, -verifydepth,"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set various options of certificate chain verification. See \"Verification Options\" in openssl-verification-options(1) for details. If the server requests a client certificate, then verification errors are displayed, for debugging, but the command will proceed unless the -verifyreturnerror option is used."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "openssl",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl/1/json"
        },
        {
            "name": "openssl-sessid",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl-sessid/1/json"
        },
        {
            "name": "openssl-sclient",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl-sclient/1/json"
        },
        {
            "name": "openssl-ciphers",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl-ciphers/1/json"
        },
        {
            "name": "SSLCONFcmd",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/SSLCONFcmd/3/json"
        },
        {
            "name": "SSLCTXsetmaxsendfragment",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/SSLCTXsetmaxsendfragment/3/json"
        },
        {
            "name": "SSLCTXsetsplitsendfragment",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/SSLCTXsetsplitsendfragment/3/json"
        },
        {
            "name": "SSLCTXsetmaxpipelines",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/SSLCTXsetmaxpipelines/3/json"
        },
        {
            "name": "osslstore-file",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/osslstore-file/7/json"
        }
    ]
}