STRONGSWAN_PKI---PRINT(1)
β¨ pki --print(1) β the strongSwan girlie's guide β¨
okay so bestie, you're in the PKI --PRINT(1) section of the strongSwan manual and honestly? this one is a serve. it's the part where your keys, certs and assorted cryptographic little meow-meows get turned into something your human eyeballs can actually read π
πΈ NAME πΈ
pki --print β print a credential (key, certificate etc.) in human readable form
no cap, that's the whole gig. it takes a credential and makes it legible. the way that it justβ¦ translates? iconic. π
π¦ SYNOPSIS π¦
pki --print [--in file|--keyid hex] [--type type] [--debug level]
pki --print --options file
pki --print -h | --help
so yeah, three whole moods. one for actually printing stuff, one for reading your options out of a file like a fancy person, and one for just asking for help. we love options. π
π DESCRIPTION π
This sub-command of pki(1) prints credentials (keys, certificates etc.) in human readable form.
that's it. that's the whole vibe. it's the translator between "cryptographic blob that means nothing to you" and "oh wait I can actually read this". main character energy fr fr β¨
π OPTIONS π
-h,--helpβ prints the usage info plus a lil summary of every option you've got available. your safety net, your bestie, your emotional support flag π-v,--debug levelβ sets the debug level. default is1. turn it up when you wanna see everything the code is thinking about. default:1π«Ά-+,--options fileβ reads the command line options from a file instead of you typing them all out like a peasant. yes, the flag is literally-+. slay. π-i,--in fileβ the input file. and if you don't give it one? it just reads fromSTDINinstead, because it's flexible like that. π-x,--keyid hexβ smartcard or TPM private key or certificate object handle, in hex format, with an optional0xprefix. so0xit or don't, she's not judging. β-t,--type typeβ the type of input, and ooooh bestie there's a whole menu. one of:x509β X.509 certificatecrlβ Certificate Revocation List, CRLacβ Attribute Certificatepubβ public keyprivβ private keyrsaβ RSA private keyecdsaβ ECDSA private keyed25519β Ed25519 private keyed448β Ed448 private keyocsp-reqβ OCSP requestocsp-rspβ OCSP response
and if you don't pick one? it defaults to x509. periodt. π
ngl the type list is giving extensive. that's eleven whole options. she really said "I contain multitudes" π
π SEE ALSO π
go read the parent page too, it's the whole universe and this is just one gorgeous little star in it π
and that's the tea, bestie!! this page is from strongSwan version 6.0.7, dated 2016-12-13 β so it's vintage, it's classic, it's an elder icon and we respect her πβ¨ bye ily, go print some certificates π¦π
π¦ 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