/
opt
/
cpanel
/
ea-openssl11
/
share
/
doc
/
openssl
/
html
/
man1
/
/opt/cpanel/ea-openssl11/share/doc/openssl/html/man1
mkdir
upload
Name
Size
Mode
Actions
asn1parse.html
8419
0644
edit
dl
rm
ca.html
31650
0644
edit
dl
rm
CA.pl.html
9569
0644
edit
dl
rm
ciphers.html
35949
0644
edit
dl
rm
cms.html
30560
0644
edit
dl
rm
crl.html
4812
0644
edit
dl
rm
crl2pkcs7.html
4309
0644
edit
dl
rm
c_rehash.html
5813
0644
edit
dl
rm
dgst.html
9028
0644
edit
dl
rm
dhparam.html
6362
0644
edit
dl
rm
dsa.html
7202
0644
edit
dl
rm
dsaparam.html
5022
0644
edit
dl
rm
ec.html
8069
0644
edit
dl
rm
ecparam.html
7302
0644
edit
dl
rm
enc.html
17001
0644
edit
dl
rm
engine.html
4368
0644
edit
dl
rm
errstr.html
1929
0644
edit
dl
rm
gendsa.html
4129
0644
edit
dl
rm
genpkey.html
14114
0644
edit
dl
rm
genrsa.html
5275
0644
edit
dl
rm
list.html
3486
0644
edit
dl
rm
nseq.html
3341
0644
edit
dl
rm
ocsp.html
21358
0644
edit
dl
rm
openssl-asn1parse.html
8419
0644
edit
dl
rm
openssl-ca.html
31650
0644
edit
dl
rm
openssl-ciphers.html
35949
0644
edit
dl
rm
openssl-cms.html
30560
0644
edit
dl
rm
openssl-crl.html
4812
0644
edit
dl
rm
openssl-crl2pkcs7.html
4309
0644
edit
dl
rm
openssl-c_rehash.html
5813
0644
edit
dl
rm
openssl-dgst.html
9028
0644
edit
dl
rm
openssl-dhparam.html
6362
0644
edit
dl
rm
openssl-dsa.html
7202
0644
edit
dl
rm
openssl-dsaparam.html
5022
0644
edit
dl
rm
openssl-ec.html
8069
0644
edit
dl
rm
openssl-ecparam.html
7302
0644
edit
dl
rm
openssl-enc.html
17001
0644
edit
dl
rm
openssl-engine.html
4368
0644
edit
dl
rm
openssl-errstr.html
1929
0644
edit
dl
rm
openssl-gendsa.html
4129
0644
edit
dl
rm
openssl-genpkey.html
14114
0644
edit
dl
rm
openssl-genrsa.html
5275
0644
edit
dl
rm
openssl-list.html
3486
0644
edit
dl
rm
openssl-nseq.html
3341
0644
edit
dl
rm
openssl-ocsp.html
21358
0644
edit
dl
rm
openssl-passwd.html
4359
0644
edit
dl
rm
openssl-pkcs7.html
4314
0644
edit
dl
rm
openssl-pkcs8.html
13521
0644
edit
dl
rm
openssl-pkcs12.html
15875
0644
edit
dl
rm
openssl-pkey.html
6340
0644
edit
dl
rm
openssl-pkeyparam.html
3465
0644
edit
dl
rm
openssl-pkeyutl.html
14144
0644
edit
dl
rm
openssl-prime.html
2361
0644
edit
dl
rm
openssl-rand.html
3955
0644
edit
dl
rm
openssl-rehash.html
5813
0644
edit
dl
rm
openssl-req.html
28754
0644
edit
dl
rm
openssl-rsa.html
7927
0644
edit
dl
rm
openssl-rsautl.html
8045
0644
edit
dl
rm
openssl-sess_id.html
6128
0644
edit
dl
rm
openssl-smime.html
21223
0644
edit
dl
rm
openssl-speed.html
4059
0644
edit
dl
rm
openssl-spkac.html
5754
0644
edit
dl
rm
openssl-srp.html
2756
0644
edit
dl
rm
openssl-storeutl.html
4739
0644
edit
dl
rm
openssl-s_client.html
35485
0644
edit
dl
rm
openssl-s_server.html
33490
0644
edit
dl
rm
openssl-s_time.html
9726
0644
edit
dl
rm
openssl-ts.html
27227
0644
edit
dl
rm
openssl-tsget.html
8475
0644
edit
dl
rm
openssl-verify.html
32603
0644
edit
dl
rm
openssl-version.html
2398
0644
edit
dl
rm
openssl-x509.html
37404
0644
edit
dl
rm
openssl.html
21512
0644
edit
dl
rm
passwd.html
4359
0644
edit
dl
rm
pkcs7.html
4314
0644
edit
dl
rm
pkcs8.html
13521
0644
edit
dl
rm
pkcs12.html
15875
0644
edit
dl
rm
pkey.html
6340
0644
edit
dl
rm
pkeyparam.html
3465
0644
edit
dl
rm
pkeyutl.html
14144
0644
edit
dl
rm
prime.html
2361
0644
edit
dl
rm
rand.html
3955
0644
edit
dl
rm
rehash.html
5813
0644
edit
dl
rm
req.html
28754
0644
edit
dl
rm
rsa.html
7927
0644
edit
dl
rm
rsautl.html
8045
0644
edit
dl
rm
sess_id.html
6128
0644
edit
dl
rm
smime.html
21223
0644
edit
dl
rm
speed.html
4059
0644
edit
dl
rm
spkac.html
5754
0644
edit
dl
rm
srp.html
2756
0644
edit
dl
rm
storeutl.html
4739
0644
edit
dl
rm
s_client.html
35485
0644
edit
dl
rm
s_server.html
33490
0644
edit
dl
rm
s_time.html
9726
0644
edit
dl
rm
ts.html
27227
0644
edit
dl
rm
tsget.html
8475
0644
edit
dl
rm
verify.html
32603
0644
edit
dl
rm
version.html
2398
0644
edit
dl
rm
x509.html
37404
0644
edit
dl
rm
Edit:
/opt/cpanel/ea-openssl11/share/doc/openssl/html/man1/tsget.html
(8475B)
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>tsget</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:root@localhost" /> </head> <body style="background-color: white"> <ul id="index"> <li><a href="#NAME">NAME</a></li> <li><a href="#SYNOPSIS">SYNOPSIS</a></li> <li><a href="#DESCRIPTION">DESCRIPTION</a></li> <li><a href="#OPTIONS">OPTIONS</a></li> <li><a href="#ENVIRONMENT-VARIABLES">ENVIRONMENT VARIABLES</a></li> <li><a href="#EXAMPLES">EXAMPLES</a></li> <li><a href="#SEE-ALSO">SEE ALSO</a></li> <li><a href="#COPYRIGHT">COPYRIGHT</a></li> </ul> <h1 id="NAME">NAME</h1> <p>openssl-tsget, tsget - Time Stamping HTTP/HTTPS client</p> <h1 id="SYNOPSIS">SYNOPSIS</h1> <p><b>tsget</b> <b>-h</b> server_url [<b>-e</b> extension] [<b>-o</b> output] [<b>-v</b>] [<b>-d</b>] [<b>-k</b> private_key.pem] [<b>-p</b> key_password] [<b>-c</b> client_cert.pem] [<b>-C</b> CA_certs.pem] [<b>-P</b> CA_path] [<b>-r</b> file:file...] [<b>-g</b> EGD_socket] [request]...</p> <h1 id="DESCRIPTION">DESCRIPTION</h1> <p>The <b>tsget</b> command can be used for sending a timestamp request, as specified in <b>RFC 3161</b>, to a timestamp server over HTTP or HTTPS and storing the timestamp response in a file. This tool cannot be used for creating the requests and verifying responses, you can use the OpenSSL <b>ts(1)</b> command to do that. <b>tsget</b> can send several requests to the server without closing the TCP connection if more than one requests are specified on the command line.</p> <p>The tool sends the following HTTP request for each timestamp request:</p> <pre><code> POST url HTTP/1.1 User-Agent: OpenTSA tsget.pl/<version> Host: <host>:<port> Pragma: no-cache Content-Type: application/timestamp-query Accept: application/timestamp-reply Content-Length: length of body ...binary request specified by the user...</code></pre> <p><b>tsget</b> expects a response of type application/timestamp-reply, which is written to a file without any interpretation.</p> <h1 id="OPTIONS">OPTIONS</h1> <dl> <dt id="h-server_url"><b>-h</b> server_url</dt> <dd> <p>The URL of the HTTP/HTTPS server listening for timestamp requests.</p> </dd> <dt id="e-extension"><b>-e</b> extension</dt> <dd> <p>If the <b>-o</b> option is not given this argument specifies the extension of the output files. The base name of the output file will be the same as those of the input files. Default extension is '.tsr'. (Optional)</p> </dd> <dt id="o-output"><b>-o</b> output</dt> <dd> <p>This option can be specified only when just one request is sent to the server. The timestamp response will be written to the given output file. '-' means standard output. In case of multiple timestamp requests or the absence of this argument the names of the output files will be derived from the names of the input files and the default or specified extension argument. (Optional)</p> </dd> <dt id="v"><b>-v</b></dt> <dd> <p>The name of the currently processed request is printed on standard error. (Optional)</p> </dd> <dt id="d"><b>-d</b></dt> <dd> <p>Switches on verbose mode for the underlying <b>curl</b> library. You can see detailed debug messages for the connection. (Optional)</p> </dd> <dt id="k-private_key.pem"><b>-k</b> private_key.pem</dt> <dd> <p>(HTTPS) In case of certificate-based client authentication over HTTPS <private_key.pem> must contain the private key of the user. The private key file can optionally be protected by a passphrase. The <b>-c</b> option must also be specified. (Optional)</p> </dd> <dt id="p-key_password"><b>-p</b> key_password</dt> <dd> <p>(HTTPS) Specifies the passphrase for the private key specified by the <b>-k</b> argument. If this option is omitted and the key is passphrase protected <b>tsget</b> will ask for it. (Optional)</p> </dd> <dt id="c-client_cert.pem"><b>-c</b> client_cert.pem</dt> <dd> <p>(HTTPS) In case of certificate-based client authentication over HTTPS <client_cert.pem> must contain the X.509 certificate of the user. The <b>-k</b> option must also be specified. If this option is not specified no certificate-based client authentication will take place. (Optional)</p> </dd> <dt id="C-CA_certs.pem"><b>-C</b> CA_certs.pem</dt> <dd> <p>(HTTPS) The trusted CA certificate store. The certificate chain of the peer's certificate must include one of the CA certificates specified in this file. Either option <b>-C</b> or option <b>-P</b> must be given in case of HTTPS. (Optional)</p> </dd> <dt id="P-CA_path"><b>-P</b> CA_path</dt> <dd> <p>(HTTPS) The path containing the trusted CA certificates to verify the peer's certificate. The directory must be prepared with the <b>c_rehash</b> OpenSSL utility. Either option <b>-C</b> or option <b>-P</b> must be given in case of HTTPS. (Optional)</p> </dd> <dt id="rand-file:file"><b>-rand</b> file:file...</dt> <dd> <p>The files containing random data for seeding the random number generator. Multiple files can be specified, the separator is <b>;</b> for MS-Windows, <b>,</b> for VMS and <b>:</b> for all other platforms. (Optional)</p> </dd> <dt id="g-EGD_socket"><b>-g</b> EGD_socket</dt> <dd> <p>The name of an EGD socket to get random data from. (Optional)</p> </dd> <dt id="request">[request]...</dt> <dd> <p>List of files containing <b>RFC 3161</b> DER-encoded timestamp requests. If no requests are specified only one request will be sent to the server and it will be read from the standard input. (Optional)</p> </dd> </dl> <h1 id="ENVIRONMENT-VARIABLES">ENVIRONMENT VARIABLES</h1> <p>The <b>TSGET</b> environment variable can optionally contain default arguments. The content of this variable is added to the list of command line arguments.</p> <h1 id="EXAMPLES">EXAMPLES</h1> <p>The examples below presume that <b>file1.tsq</b> and <b>file2.tsq</b> contain valid timestamp requests, tsa.opentsa.org listens at port 8080 for HTTP requests and at port 8443 for HTTPS requests, the TSA service is available at the /tsa absolute path.</p> <p>Get a timestamp response for file1.tsq over HTTP, output is written to file1.tsr:</p> <pre><code> tsget -h http://tsa.opentsa.org:8080/tsa file1.tsq</code></pre> <p>Get a timestamp response for file1.tsq and file2.tsq over HTTP showing progress, output is written to file1.reply and file2.reply respectively:</p> <pre><code> tsget -h http://tsa.opentsa.org:8080/tsa -v -e .reply \ file1.tsq file2.tsq</code></pre> <p>Create a timestamp request, write it to file3.tsq, send it to the server and write the response to file3.tsr:</p> <pre><code> openssl ts -query -data file3.txt -cert | tee file3.tsq \ | tsget -h http://tsa.opentsa.org:8080/tsa \ -o file3.tsr</code></pre> <p>Get a timestamp response for file1.tsq over HTTPS without client authentication:</p> <pre><code> tsget -h https://tsa.opentsa.org:8443/tsa \ -C cacerts.pem file1.tsq</code></pre> <p>Get a timestamp response for file1.tsq over HTTPS with certificate-based client authentication (it will ask for the passphrase if client_key.pem is protected):</p> <pre><code> tsget -h https://tsa.opentsa.org:8443/tsa -C cacerts.pem \ -k client_key.pem -c client_cert.pem file1.tsq</code></pre> <p>You can shorten the previous command line if you make use of the <b>TSGET</b> environment variable. The following commands do the same as the previous example:</p> <pre><code> TSGET='-h https://tsa.opentsa.org:8443/tsa -C cacerts.pem \ -k client_key.pem -c client_cert.pem' export TSGET tsget file1.tsq</code></pre> <h1 id="SEE-ALSO">SEE ALSO</h1> <p><a href="../man1/openssl.html">openssl(1)</a>, <a href="../man1/ts.html">ts(1)</a>, <a href="../man1/curl.html">curl(1)</a>, <b>RFC 3161</b></p> <h1 id="COPYRIGHT">COPYRIGHT</h1> <p>Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved.</p> <p>Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <a href="https://www.openssl.org/source/license.html">https://www.openssl.org/source/license.html</a>.</p> </body> </html>
Save
cmd:
run