-d
number, --debug
=number
Enable debugging. This option takes an integer number as
its argument. The value of number is constrained to
being:
in the range 0 through 9999
Specifies the debug level.
-V
, --verbose
More verbose output. This option may appear an unlimited
number of times.
--infile
=file
Input file.
--outfile
=string
Output file.
--ask
[=server name|url]
Ask an OCSP/HTTP server on a certificate validity.
Connects to the specified HTTP OCSP server and queries on
the validity of the loaded certificate. Its argument can
be a URL or a plain server name. It can be combined with
--load-chain, where it checks all certificates in the
provided chain, or with --load-cert and --load-issuer
options. The latter checks the provided certificate
against its specified issuer certificate.
-e
, --verify-response
Verify response.
Verifies the provided OCSP response against the system
trust anchors (unless --load-trust is provided). It
requires the --load-signer or --load-chain options to
obtain the signer of the OCSP response.
-i
, --request-info
Print information on a OCSP request.
Display detailed information on the provided OCSP request.
-j
, --response-info
Print information on a OCSP response.
Display detailed information on the provided OCSP
response.
-q
, --generate-request
Generates an OCSP request.
--nonce
, --no-nonce
Use (or not) a nonce to OCSP request. The no-nonce form
will disable the option.
--load-chain
=file
Reads a set of certificates forming a chain from file.
--load-issuer
=file
Reads issuer's certificate from file.
--load-cert
=file
Reads the certificate to check from file.
--load-trust
=file
Read OCSP trust anchors from file. This option must not
appear in combination with any of the following options:
load-signer.
When verifying an OCSP response read the trust anchors
from the provided file. When this is not provided, the
system's trust anchors will be used.
--load-signer
=file
Reads the OCSP response signer from file. This option
must not appear in combination with any of the following
options: load-trust.
--inder
, --no-inder
Use DER format for input certificates and private keys.
The no-inder form will disable the option.
--outder
Use DER format for output of responses (this is the
default).
The output will be in DER encoded format. Unlike other
GnuTLS tools, this is the default for this tool
--outpem
Use PEM format for output of responses.
The output will be in PEM format.
-Q
file, --load-request
=file
Reads the DER encoded OCSP request from file.
-S
file, --load-response
=file
Reads the DER encoded OCSP response from file.
--ignore-errors
Ignore any verification errors.
--verify-allow-broken
Allow broken algorithms, such as MD5 for verification.
This can be combined with --verify-response.
-h
, --help
Display usage information and exit.
-!
, --more-help
Pass the extended usage information through a pager.
-v
[{v|c|n --version
[{v|c|n}]}]
Output version of program and exit. The default mode is
`v', a simple version. The `c' mode will print copyright
information and `n' will print the full copyright notice.