PKI---VERIFY(1)
π PKI --VERIFY(1) π
ok so bestie, this is a sub-command of pki(1) β the strongSwan tool β and the whole entire job of pki --verify is: verify a certificate using a CA certificate. That's it. That's the vibe. Certificate goes in, trust verdict comes out. π
β¨ SYNOPSIS β¨
pki --verify [--in file] [--cacert file] [--crl file] [--debug level]
[--online]
pki --verify --options file
pki --verify -h | --help
πΈ DESCRIPTION πΈ
So like, this is a sub-command of pki(1), right? And what it does is verifies a certificate β using a CA certificate if you feel like handing one over. That's the whole plot. No cap. β¨
π¦ OPTIONS π¦
-h,--helpβ prints the usage info plus a little summary of all the options you can use. icon behavior honestly. π-v,--debug levelβ sets the debug level. the default is1, bestie, in case you were wondering π«Ά-+,--options fileβ reads the command line options straight out of file instead of, y'know, typing them. convenient queen behavior π-i,--in fileβ the X.509 certificate you actually want to verify. if you don't give it one? it just reads from STDIN, lowkey self-sufficient π-c,--cacert fileβ the CA certificate used for trustchain verification. if you don't pass one, the certificate is assumed to be self-signed. it can also be a path to a directory, in which case the CA certificates get loaded from there. and yes, you can use it multiple times β stack 'em up π-l,--crl fileβ a local CRL used for trustchain verification. same deal: it may optionally be a path to a directory from which CRLs are loaded, and it can be used multiple times. heads up though β this implies-o. like, it just does that automatically π-o,--onlineβ enables online CRL/OCSP revocation checking. going to the internet to check if things are still valid, main character energy π
π EXIT STATUS π
the exit status is telling you everything, so listen up:
0β the certificate was verified successfully. slay, it's valid β¨1β the certificate is untrusted. π2β the certificate's lifetimes are invalid. the dates are giving expired, honestly π3β the certificate was verified successfully, but the online revocation check said it has been revoked. so likeβ¦ it works but it's also cancelled π«
π SEE ALSO π
pki(1)β go read about the parent tool, iykyk π
ok that's the whole page, bestie π§ this was PKI --VERIFY(1) from strongSwan, version 6.1.0, dated 2016-08-19 β go forth and verify those certificates, you've absolutely got this ππΈ
π¦ where this page comes from
- arch rolling: strongswan 6.1.0-2 Β· GPL-2.0-only
- nixos 26.05: strongswan 6.1.0
- nixpkgs unstable: strongswan 6.1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms