STRONGSWAN_PKI---PRINT(1)

πŸ“¦
version 6.0.7 Β· 4 versions
, in fedora 43, fedora 44

✨ 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 is 1. 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 from STDIN instead, because it's flexible like that. πŸ’…
  • -x, --keyid hex β€” smartcard or TPM private key or certificate object handle, in hex format, with an optional 0x prefix. so 0x it 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 certificate
    • crl β€” Certificate Revocation List, CRL
    • ac β€” Attribute Certificate
    • pub β€” public key
    • priv β€” private key
    • rsa β€” RSA private key
    • ecdsa β€” ECDSA private key
    • ed25519 β€” Ed25519 private key
    • ed448 β€” Ed448 private key
    • ocsp-req β€” OCSP request
    • ocsp-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