PKI --PRINT(1) strongSwan PKI --PRINT(1)

pki --print - Print a credential (key, certificate etc.) in human readable form

pki --print [--in file|--keyid hex] [--type type] [--debug level]
pki --print --options file
pki --print -h | --help

This sub-command of pki(1) prints credentials (keys, certificates etc.) in human readable form.

Print usage information with a summary of the available options.
Set debug level, default: 1.
-+, --options file
Read command line options from file.
Input file. If not given the input is read from STDIN.
Smartcard or TPM private key or certificate object handle in hex format with an optional 0x prefix.
Type of input. 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), bliss (BLISS private key), ocsp-req (OCSP request), ocsp-rsp (OCSP response), defaults to x509.

pki(1)

2016-12-13 5.9.13