pki: Document --online option for pki --verify and all exit codes
This commit is contained in:
@@ -10,6 +10,7 @@ pki \-\-verify \- Verify a certificate using a CA certificate
|
|||||||
.OP \-\-in file
|
.OP \-\-in file
|
||||||
.OP \-\-cacert file
|
.OP \-\-cacert file
|
||||||
.OP \-\-debug level
|
.OP \-\-debug level
|
||||||
|
.OP \-\-online
|
||||||
.YS
|
.YS
|
||||||
.
|
.
|
||||||
.SY pki\ \-\-verify
|
.SY pki\ \-\-verify
|
||||||
@@ -44,13 +45,18 @@ Read command line options from \fIfile\fR.
|
|||||||
X.509 certificate to verify. If not given it is read from \fISTDIN\fR.
|
X.509 certificate to verify. If not given it is read from \fISTDIN\fR.
|
||||||
.TP
|
.TP
|
||||||
.BI "\-c, \-\-cacert " file
|
.BI "\-c, \-\-cacert " file
|
||||||
CA certificate to use. If not given the certificate is assumed to be
|
CA certificate to use for trustchain verification. If not given the certificate
|
||||||
self-signed.
|
is assumed to be self\-signed.
|
||||||
|
.TP
|
||||||
|
.BI "\-o, \-\-online
|
||||||
|
Enable online CRL/OCSP revocation checking.
|
||||||
.
|
.
|
||||||
.SH "EXIT STATUS"
|
.SH "EXIT STATUS"
|
||||||
The exit status is 0 if the certificate was verified successfully, and 2 if
|
The exit status is 0 if the certificate was verified successfully, 1 if the
|
||||||
the verification failed.
|
certificate is untrusted, 2 if the certificate's lifetimes are invalid, and 3
|
||||||
|
if the certificate was verified successfully but the online revocation check
|
||||||
|
indicated that it has been revoked.
|
||||||
.
|
.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.
|
.
|
||||||
.BR pki (1)
|
.BR pki (1)
|
||||||
|
|||||||
Reference in New Issue
Block a user