{
    "mode": "man",
    "parameter": "openssl-s_time",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/openssl-s_time/1/json",
    "generated": "2026-06-15T16:42:42Z",
    "synopsis": "openssl stime [-help] [-connect host:port] [-www page] [-cert filename] [-key filename]\n[-reuse] [-new] [-verify depth] [-time seconds] [-ssl3] [-tls1] [-tls11] [-tls12] [-tls13]\n[-bugs] [-cipher cipherlist] [-ciphersuites val] [-nameopt option] [-cafile file] [-CAfile\nfile] [-no-CAfile] [-CApath dir] [-no-CApath] [-CAstore uri] [-no-CAstore] [-provider name]\n[-provider-path path] [-propquery propq]",
    "sections": {
        "NAME": {
            "content": "openssl-stime - SSL/TLS performance timing program\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "openssl stime [-help] [-connect host:port] [-www page] [-cert filename] [-key filename]\n[-reuse] [-new] [-verify depth] [-time seconds] [-ssl3] [-tls1] [-tls11] [-tls12] [-tls13]\n[-bugs] [-cipher cipherlist] [-ciphersuites val] [-nameopt option] [-cafile file] [-CAfile\nfile] [-no-CAfile] [-CApath dir] [-no-CApath] [-CAstore uri] [-no-CAstore] [-provider name]\n[-provider-path path] [-propquery propq]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This command implements a generic SSL/TLS client which connects to a remote host using\nSSL/TLS. It can request a page from the server and includes the time to transfer the payload\ndata in its timing measurements.  It measures the number of connections within a given\ntimeframe, the amount of data transferred (if any), and calculates the average time spent for\none connection.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-help",
                    "content": "Print out a usage message.\n"
                },
                {
                    "name": "-connect",
                    "content": "This specifies the host and optional port to connect to.\n"
                },
                {
                    "name": "-www",
                    "content": "This specifies the page to GET from the server. A value of '/' gets the index.html page.\nIf this parameter is not specified, then this command will only perform the handshake to\nestablish SSL connections but not transfer any payload data.\n"
                },
                {
                    "name": "-cert",
                    "content": "The certificate to use, if one is requested by the server. The default is not to use a\ncertificate. The file is in PEM format.\n"
                },
                {
                    "name": "-key",
                    "content": "The private key to use. If not specified then the certificate file will be used. The file\nis in PEM format.\n"
                },
                {
                    "name": "-verify",
                    "content": "The verify depth to use. This specifies the maximum length of the server certificate\nchain and turns on server certificate verification.  Currently the verify operation\ncontinues after errors so all the problems with a certificate chain can be seen. As a\nside effect the connection will never fail due to a server certificate verify failure.\n"
                },
                {
                    "name": "-new",
                    "content": "Performs the timing test using a new session ID for each connection.  If neither -new nor\n-reuse are specified, they are both on by default and executed in sequence.\n"
                },
                {
                    "name": "-reuse",
                    "content": "Performs the timing test using the same session ID; this can be used as a test that\nsession caching is working. If neither -new nor -reuse are specified, they are both on by\ndefault and executed in sequence.\n"
                },
                {
                    "name": "-bugs",
                    "content": "There are several known bugs in SSL and TLS implementations. Adding this option enables\nvarious workarounds.\n"
                },
                {
                    "name": "-cipher",
                    "content": "This allows the TLSv1.2 and below cipher list sent by the client to be modified.  This\nlist will be combined with any TLSv1.3 ciphersuites that have been configured. Although\nthe server determines which cipher suite is used it should take the first supported\ncipher in the list sent by the client. See openssl-ciphers(1) for more information.\n"
                },
                {
                    "name": "-ciphersuites",
                    "content": "This allows the TLSv1.3 ciphersuites sent by the client to be modified. This list will be\ncombined with any TLSv1.2 and below ciphersuites that have been configured. Although the\nserver determines which cipher suite is used it should take the first supported cipher in\nthe list sent by the client. See openssl-ciphers(1) for more information. The format for\nthis list is a simple colon (\":\") separated list of TLSv1.3 ciphersuite names.\n"
                },
                {
                    "name": "-time",
                    "content": "Specifies how long (in seconds) this command should establish connections and optionally\ntransfer payload data from a server. Server and client performance and the link speed\ndetermine how many connections it can establish.\n"
                },
                {
                    "name": "-nameopt",
                    "content": "This specifies how the subject or issuer names are displayed.  See\nopenssl-namedisplay-options(1) for details.\n"
                },
                {
                    "name": "-CAfile -no-CAfile -CApath -no-CApath -CAstore -no-CAstore",
                    "content": "See \"Trusted Certificate Options\" in openssl-verification-options(1) for details.\n"
                },
                {
                    "name": "-provider",
                    "content": ""
                },
                {
                    "name": "-provider-path",
                    "content": ""
                },
                {
                    "name": "-propquery",
                    "content": "See \"Provider Options\" in openssl(1), provider(7), and property(7).\n"
                },
                {
                    "name": "-cafile",
                    "content": "This is an obsolete synonym for -CAfile.\n"
                },
                {
                    "name": "-ssl3 -tls1 -tls1 -tls1 -tls1",
                    "content": "See \"TLS Version Options\" in openssl(1).\n"
                }
            ]
        },
        "NOTES": {
            "content": "This command can be used to measure the performance of an SSL connection.  To connect to an\nSSL HTTP server and get the default page the command\n\nopenssl stime -connect servername:443 -www / -CApath yourdir -CAfile yourfile.pem -cipher commoncipher [-ssl3]\n\nwould typically be used (https uses port 443). commoncipher is a cipher to which both client\nand server can agree, see the openssl-ciphers(1) command for details.\n\nIf the handshake fails then there are several possible causes, if it is nothing obvious like\nno client certificate then the -bugs and -ssl3 options can be tried in case it is a buggy\nserver. In particular you should play with these options before submitting a bug report to an\nOpenSSL mailing list.\n\nA frequent problem when attempting to get client certificates working is that a web client\ncomplains it has no certificates or gives an empty list to choose from. This is normally\nbecause the server is not sending the clients certificate authority in its \"acceptable CA\nlist\" when it requests a certificate. By using openssl-sclient(1) the CA list can be viewed\nand checked. However, some servers only request client authentication after a specific URL is\nrequested. To obtain the list in this case it is necessary to use the -prexit option of\nopenssl-sclient(1) and send an HTTP request for an appropriate page.\n\nIf a certificate is specified on the command line using the -cert option it will not be used\nunless the server specifically requests a client certificate. Therefore, merely including a\nclient certificate on the command line is no guarantee that the certificate works.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Because this program does not have all the options of the openssl-sclient(1) program to turn\nprotocols on and off, you may not be able to measure the performance of all protocols with\nall servers.\n\nThe -verify option should really exit if the server verification fails.\n",
            "subsections": []
        },
        "HISTORY": {
            "content": "The -cafile option was deprecated in OpenSSL 3.0.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "openssl(1), openssl-sclient(1), openssl-sserver(1), openssl-ciphers(1), osslstore-file(7)\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 2004-2021 The OpenSSL Project Authors. All Rights Reserved.\n\nLicensed under the Apache License 2.0 (the \"License\").  You may not use this file except in\ncompliance with the License.  You can obtain a copy in the file LICENSE in the source\ndistribution or at <https://www.openssl.org/source/license.html>.\n\n\n\n3.0.2                                        2026-06-02                         OPENSSL-STIME(1SSL)",
            "subsections": []
        }
    },
    "summary": "openssl-stime - SSL/TLS performance timing program",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Print out a usage message."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This specifies the host and optional port to connect to."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This specifies the page to GET from the server. A value of '/' gets the index.html page. If this parameter is not specified, then this command will only perform the handshake to establish SSL connections but not transfer any payload data."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The certificate to use, if one is requested by the server. The default is not to use a certificate. The file is in PEM format."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The private key to use. If not specified then the certificate file will be used. The file is in PEM format."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The verify depth to use. This specifies the maximum length of the server certificate chain and turns on server certificate verification. Currently the verify operation continues after errors so all the problems with a certificate chain can be seen. As a side effect the connection will never fail due to a server certificate verify failure."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Performs the timing test using a new session ID for each connection. If neither -new nor -reuse are specified, they are both on by default and executed in sequence."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Performs the timing test using the same session ID; this can be used as a test that session caching is working. If neither -new nor -reuse are specified, they are both on by default and executed in sequence."
        },
        {
            "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": "This allows the TLSv1.2 and below cipher list sent by the client to be modified. This list will be combined with any TLSv1.3 ciphersuites that have been configured. Although the server determines which cipher suite is used it should take the first supported cipher in the list sent by the client. See openssl-ciphers(1) for more information."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This allows the TLSv1.3 ciphersuites sent by the client to be modified. This list will be combined with any TLSv1.2 and below ciphersuites that have been configured. Although the server determines which cipher suite is used it should take the first supported cipher in the list sent by the client. See openssl-ciphers(1) for more information. The format for this list is a simple colon (\":\") separated list of TLSv1.3 ciphersuite names."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Specifies how long (in seconds) this command should establish connections and optionally transfer payload data from a server. Server and client performance and the link speed determine how many connections it can establish."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This specifies how the subject or issuer names are displayed. See openssl-namedisplay-options(1) for details."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "See \"Trusted Certificate Options\" in openssl-verification-options(1) for details."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "See \"Provider Options\" in openssl(1), provider(7), and property(7)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This is an obsolete synonym for -CAfile."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "See \"TLS Version Options\" in openssl(1)."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "openssl",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl/1/json"
        },
        {
            "name": "openssl-sclient",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl-sclient/1/json"
        },
        {
            "name": "openssl-sserver",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl-sserver/1/json"
        },
        {
            "name": "openssl-ciphers",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl-ciphers/1/json"
        },
        {
            "name": "osslstore-file",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/osslstore-file/7/json"
        }
    ]
}