PKI---PRINT(1)
β¨ pki --print β¨ (like, the pki --print one, from strongSwan π«Ά)
Hey bestie, welcome to the <pink>PKI --PRINT(1)</pink> page π
this is the one that prints your credentials out all pretty and human-readable, no cap.
πΈ NAME πΈ
pki --print β prints a credential (key, certificate etc.) in human readable form π
π SYNOPSIS π
Okay so here's how you call her:
pki --print [--in file|--keyid hex] [--type type] [--debug level]
pki --print --options file
pki --print -h | --help
π DESCRIPTION π
This sub-command of pki(1) prints credentials (keys, certificates etc.) in human readable form. That's it, that's the whole vibe β you give it a credential, it gives you something your eyeballs can actually parse instead of a wall of DER. Iconic behaviour honestly β
β¨ OPTIONS β¨
-h,--helpβ prints usage info with a lil summary of all the available options. Baby's first flag πΌ-v,--debug levelβ sets the debug level, default:1. Crank it up if you wanna see more of what's going on under the hood π₯-+,--options fileβ reads command line options from a file. Yes the flag really is-+, she's quirky like that π-i,--in fileβ the input file. If you don't give it one, the input gets read from STDIN. No file? No problem, just pipe it in π«Ά-x,--keyid hexβ smartcard or TPM private key or certificate object handle, in hex format, with an optional0xprefix. Hardware girlies rise π-t,--type typeβ the type of input. It's one of these bad boys: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)
Defaults to x509, so if you say nothing she just assumes a certificate πββοΈ
π¦ SEE ALSO π¦
pki(1) β go read the main character's page, iykyk π
Lowkey a little PSA from me to you: those --type values are your whole menu of snacks, so type them exactly like they're written above β no guessing, no improvising π
That's the whole page, bestie β you ate it up fr fr πβ¨
Sign-off time πΈ this is strongSwan version 6.1.0, dated 2016-12-13, and she's been slaying since way back. Periodt π
π¦ 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