-out filename
specify output filename, default is standard output.
-issuer filename
This specifies the current issuer certificate. This option can be used multiple times. The certificate specified in filename must be in PEM format. This option MUST come before any -cert options.
-cert filename
Add the certificate filename to the request. The issuer certificate is taken from the previous issuer option, or an error occurs if no issuer certificate is specified.
-serial num
Same as the cert option except the certificate with serial number num is added to the request. The serial number is interpreted as a decimal integer unless preceded by 0x. Negative integers can also be specified by preceding the value by a - sign.
-signer filename, -signkey filename
Sign the OCSP request using the certificate specified in the signer option and the private key specified by the signkey option. If the signkey option is not present then the private key is read from the same file as the certificate. If neither option is specified then the OCSP request is not signed.
-sign_other filename
Additional certificates to include in the signed request.
-nonce, -no_nonce
Add an OCSP nonce extension to a request or disable OCSP nonce addition. Normally if an OCSP request is input using the respin option no nonce is added: using the nonce option will force addition of a nonce. If an OCSP request is being created (using cert and serial options) a nonce is automatically added specifying no_nonce overrides this.
-req_text, -resp_text, -text
print out the text form of the OCSP request, response or both respectively.
-reqout file, -respout file
write out the DER encoded certificate request or response to file.
-reqin file, -respin file
read OCSP request or response file from file. These option are ignored if OCSP request or response creation is implied by other options (for example with serial, cert and host options).
-url responder_url
specify the responder URL. Both HTTP and HTTPS (SSL/TLS) URLs can be specified.
-host hostname:port, -path pathname
if the host option is present then the OCSP request is sent to the host hostname on port port. path specifies the HTTP path name to use or "/" by default.
-CAfile file, -CApath pathname
file or pathname containing trusted CA certificates. These are used to verify the signature on the OCSP response.
-verify_other file
file containing additional certificates to search when attempting to locate the OCSP response signing certificate. Some responders omit the actual signer's certificate from the response: this option can be used to supply the necessary certificate in such cases.
-trust_other
the certificates specified by the -verify_other option should be explicitly trusted and no additional checks will be performed on them. This is useful when the complete responder certificate chain is not available or trusting a root CA is not appropriate.
-VAfile file
file containing explicitly trusted responder certificates. Equivalent to the -verify_other and -trust_other options.
-noverify
don't attempt to verify the OCSP response signature or the nonce values. This option will normally only be used for debugging since it disables all verification of the responders certificate.
-no_intern
ignore certificates contained in the OCSP response when searching for the signers certificate. With this option the signers certificate must be specified with either the -verify_other or -VAfile options.
-no_signature_verify
don't check the signature on the OCSP response. Since this option tolerates invalid signatures on OCSP responses it will normally only be used for testing purposes.
-no_cert_verify
don't verify the OCSP response signers certificate at all. Since this option allows the OCSP response to be signed by any certificate it should only be used for testing purposes.
-no_chain
do not use certificates in the response as additional untrusted CA certificates.
-no_cert_checks
don't perform any additional checks on the OCSP response signers certificate. That is do not make any checks to see if the signers certificate is authorised to provide the necessary status information: as a result this option should only be used for testing purposes.
-validity_period nsec, -status_age age
these options specify the range of times, in seconds, which will be tolerated in an OCSP response. Each certificate status response includes a
notBefore time and an optional notAfter time. The current time should fall between these two values, but the interval between the two times may be only a few seconds. In practice the OCSP responder and clients clocks may not be precisely synchronised and so such a check may fail. To avoid this the -validity_period option can be used to specify an acceptable error range in seconds, the default value is 5 minutes.
If the
notAfter time is omitted from a response then this means that new status information is immediately available. In this case the age of the notBefore field is checked to see it is not older than age seconds old. By default this additional check is not performed.
-md5|-sha1|-sha256|-ripemod160|...
this option sets digest algorithm to use for certificate identification in the OCSP request. By default SHA-1 is used.