golden hour
/opt/cpanel/ea-openssl11/share/doc/openssl/html/man1
⬆️ Go Up
Upload
File/Folder
Size
Actions
CA.pl.html
9.34 KB
Del
OK
asn1parse.html
8.22 KB
Del
OK
c_rehash.html
5.68 KB
Del
OK
ca.html
30.91 KB
Del
OK
ciphers.html
35.11 KB
Del
OK
cms.html
29.84 KB
Del
OK
crl.html
4.7 KB
Del
OK
crl2pkcs7.html
4.21 KB
Del
OK
dgst.html
8.82 KB
Del
OK
dhparam.html
6.21 KB
Del
OK
dsa.html
7.03 KB
Del
OK
dsaparam.html
4.9 KB
Del
OK
ec.html
7.88 KB
Del
OK
ecparam.html
7.13 KB
Del
OK
enc.html
16.6 KB
Del
OK
engine.html
4.27 KB
Del
OK
errstr.html
1.88 KB
Del
OK
gendsa.html
4.03 KB
Del
OK
genpkey.html
13.78 KB
Del
OK
genrsa.html
5.15 KB
Del
OK
list.html
3.4 KB
Del
OK
nseq.html
3.26 KB
Del
OK
ocsp.html
20.86 KB
Del
OK
openssl-asn1parse.html
8.22 KB
Del
OK
openssl-c_rehash.html
5.68 KB
Del
OK
openssl-ca.html
30.91 KB
Del
OK
openssl-ciphers.html
35.11 KB
Del
OK
openssl-cms.html
29.84 KB
Del
OK
openssl-crl.html
4.7 KB
Del
OK
openssl-crl2pkcs7.html
4.21 KB
Del
OK
openssl-dgst.html
8.82 KB
Del
OK
openssl-dhparam.html
6.21 KB
Del
OK
openssl-dsa.html
7.03 KB
Del
OK
openssl-dsaparam.html
4.9 KB
Del
OK
openssl-ec.html
7.88 KB
Del
OK
openssl-ecparam.html
7.13 KB
Del
OK
openssl-enc.html
16.6 KB
Del
OK
openssl-engine.html
4.27 KB
Del
OK
openssl-errstr.html
1.88 KB
Del
OK
openssl-gendsa.html
4.03 KB
Del
OK
openssl-genpkey.html
13.78 KB
Del
OK
openssl-genrsa.html
5.15 KB
Del
OK
openssl-list.html
3.4 KB
Del
OK
openssl-nseq.html
3.26 KB
Del
OK
openssl-ocsp.html
20.86 KB
Del
OK
openssl-passwd.html
4.26 KB
Del
OK
openssl-pkcs12.html
15.5 KB
Del
OK
openssl-pkcs7.html
4.21 KB
Del
OK
openssl-pkcs8.html
13.2 KB
Del
OK
openssl-pkey.html
6.19 KB
Del
OK
openssl-pkeyparam.html
3.38 KB
Del
OK
openssl-pkeyutl.html
13.81 KB
Del
OK
openssl-prime.html
2.31 KB
Del
OK
openssl-rand.html
3.86 KB
Del
OK
openssl-rehash.html
5.68 KB
Del
OK
openssl-req.html
28.08 KB
Del
OK
openssl-rsa.html
7.74 KB
Del
OK
openssl-rsautl.html
7.86 KB
Del
OK
openssl-s_client.html
34.65 KB
Del
OK
openssl-s_server.html
32.71 KB
Del
OK
openssl-s_time.html
9.5 KB
Del
OK
openssl-sess_id.html
5.98 KB
Del
OK
openssl-smime.html
20.73 KB
Del
OK
openssl-speed.html
3.96 KB
Del
OK
openssl-spkac.html
5.62 KB
Del
OK
openssl-srp.html
2.69 KB
Del
OK
openssl-storeutl.html
4.63 KB
Del
OK
openssl-ts.html
26.59 KB
Del
OK
openssl-tsget.html
8.28 KB
Del
OK
openssl-verify.html
31.84 KB
Del
OK
openssl-version.html
2.34 KB
Del
OK
openssl-x509.html
36.53 KB
Del
OK
openssl.html
21.01 KB
Del
OK
passwd.html
4.26 KB
Del
OK
pkcs12.html
15.5 KB
Del
OK
pkcs7.html
4.21 KB
Del
OK
pkcs8.html
13.2 KB
Del
OK
pkey.html
6.19 KB
Del
OK
pkeyparam.html
3.38 KB
Del
OK
pkeyutl.html
13.81 KB
Del
OK
prime.html
2.31 KB
Del
OK
rand.html
3.86 KB
Del
OK
rehash.html
5.68 KB
Del
OK
req.html
28.08 KB
Del
OK
rsa.html
7.74 KB
Del
OK
rsautl.html
7.86 KB
Del
OK
s_client.html
34.65 KB
Del
OK
s_server.html
32.71 KB
Del
OK
s_time.html
9.5 KB
Del
OK
sess_id.html
5.98 KB
Del
OK
smime.html
20.73 KB
Del
OK
speed.html
3.96 KB
Del
OK
spkac.html
5.62 KB
Del
OK
srp.html
2.69 KB
Del
OK
storeutl.html
4.63 KB
Del
OK
ts.html
26.59 KB
Del
OK
tsget.html
8.28 KB
Del
OK
verify.html
31.84 KB
Del
OK
version.html
2.34 KB
Del
OK
x509.html
36.53 KB
Del
OK
Edit: openssl-tsget.html
<?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