systemd-keyutilsystemdsystemd-keyutil1systemd-keyutilPerform various operations on private keys and X.509 certificatessystemd-keyutilOPTIONSCOMMANDDescriptionsystemd-keyutil can be used to perform various operations on private keys and
X.509 certificates.CommandsChecks that we can load the private key and certificate specified with
and respectively.As a side effect, if the private key is loaded from a PIN-protected hardware token, this
command can be used to cache the PIN in the kernel keyring. The
$SYSTEMD_ASK_PASSWORD_KEYRING_TIMEOUT_SEC and
$SYSTEMD_ASK_PASSWORD_KEYRING_TYPE environment variables can be used to control
how long and in which kernel keyring the PIN is cached.publicThis commands prints the public key in PEM format extracted from either the
certificate given with or the private key given with
.OptionsThe following options are understood:Set the private key and certificate to use. The
option takes a path to a PEM encoded X.509 certificate or a URI that's passed to the OpenSSL provider
configured with . The
takes one of file or provider, with the latter being followed
by a specific provider identifier, separated with a colon, e.g. provider:pkcs11.
The option can take a path or a URI that will be passed to the
OpenSSL engine or provider, as specified by as a
type:name tuple, such as engine:pkcs11.See Alsosystemd-sbsign1systemd-measure1