1 .TH "PKI \-\-VERIFY" 1 "2016-08-19" "@PACKAGE_VERSION@" "strongSwan"
5 pki \-\-verify \- Verify a certificate using a CA certificate
18 .BI \-\-options\~ file
31 verifies a certificate using an optional CA certificate.
37 Print usage information with a summary of the available options.
39 .BI "\-v, \-\-debug " level
40 Set debug level, default: 1.
42 .BI "\-+, \-\-options " file
43 Read command line options from \fIfile\fR.
45 .BI "\-i, \-\-in " file
46 X.509 certificate to verify. If not given it is read from \fISTDIN\fR.
48 .BI "\-c, \-\-cacert " file
49 CA certificate to use for trustchain verification. If not given the certificate
50 is assumed to be self\-signed.
52 .BI "\-l, \-\-crl " file
53 Local CRL to use for trustchain verification. Implies \fB-o\fR.
56 Enable online CRL/OCSP revocation checking.
59 The exit status is 0 if the certificate was verified successfully, 1 if the
60 certificate is untrusted, 2 if the certificate's lifetimes are invalid, and 3
61 if the certificate was verified successfully but the online revocation check
62 indicated that it has been revoked.