pki---print1
Print a credential (key, certificate etc.) in human readable form
Usage
pki --print
[{--in
file | --keyid
hex}]
[--type
type]
[--debug
level]
pki --print
--options
file
pki {--print
-h | --help}
Overview
This sub-command of pki(1) prints credentials (keys, certificates etc.) in human readable form.
Options
-
-h, --help -
Print usage information with a summary of the available options.
-
-v, --debug level -
Set debug level, default: 1.
-
-+, --options file -
Read command line options from file.
-
-i, --in file -
Input file. If not given the input is read from STDIN.
-
-x, --keyid hex -
Smartcard or TPM private key or certificate object handle in hex format with an optional 0x prefix.
-
-t, --type type -
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), ocsp-req (OCSP request), ocsp-rsp (OCSP response), defaults to x509.
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.
--keyid since Debian 10 (Buster);
-x since Debian 10 (Buster).