STRONGSWAN_PKI---VERIFY(1)
β¨ PKI --VERIFY(1) β¨
okay bestie, so this is a page from the strongSwan manual β it's literally called PKI --VERIFY(1) and it's all about checking whether a certificate is actually legit. no cap, this one is short but it's giving important. π
πΈ NAME πΈ
pki --verify β verify a certificate using a CA certificate π
π¦ SYNOPSIS π¦
pki --verify [--in file] [--cacert file] [--crl file] [--debug level]
[--online]
pki --verify --options file
pki --verify -h | --help
π DESCRIPTION π
so this is a sub-command of pki(1), right? and what it does is it verifies a certificate using an optional CA certificate. that's the whole vibe. that's the job. π«Ά
β¨ OPTIONS β¨
-h,--helpβ prints the usage info plus a lil summary of all the options you can use. iconic behaviour honestly.-v,--debug levelβ sets the debug level. default is1, so if you want the tea, crank it up.-+,--options fileβ reads command line options straight out of a file. yes the flag is literally-+. slay.-i,--in fileβ the X.509 certificate you wanna verify. if you don't pass this, it just reads from STDIN, easy peasy.-c,--cacert fileβ the CA certificate used for trustchain verification. if you don't give one, the cert is assumed to be self-signed. it may optionally be a path to a directory, and CA certificates get loaded from there. and yes β you can use this one multiple times. π₯-l,--crl fileβ a local CRL used for trustchain verification. same deal, it may optionally be a path to a directory and CRLs get loaded from there. can be used multiple times too. heads up tho: this implies-o.-o,--onlineβ turns on online CRL/OCSP revocation checking. π
π EXIT STATUS π
so the exit status is telling you a whole story, okay, listen up:
0β the certificate was verified successfully. we love to see it. π1β the certificate is untrusted. π2β the certificate's lifetimes are invalid. π3β the certificate was verified successfully, BUT the online revocation check said it has been revoked. not the plot twist we wanted. π
π SEE ALSO π
and that's the whole page bestie!! π§ this was PKI --VERIFY(1) from strongSwan, version 6.0.7, dated 2016-08-19 β yeah she's an old queen but she still ate πβ¨ bye ily go verify something π«Άπ
π¦ where this page comes from
- fedora 43: strongswan 6.0.7-2.fc43 Β· GPL-2.0-or-later
- fedora 44: strongswan 6.0.7-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms