$manlookup

openssl-format-options

(1ssl)

OpenSSL command input and output format options

User commands3 optionsopenssl 3.5.6-1~deb13u2
openssl command [ options ... ] [ parameters ... ]

Options

3
-inform-outformformat

The format of the input or output streams.

-keyformformat

Format of a private key input source.

-CRLformformat

Format of a CRL input source.

DESCRIPTION

Several OpenSSL commands can take input or generate output in a variety of formats.

Since OpenSSL 3.0 keys, single certificates, and CRLs can be read from files in any of the DER, PEM or P12 formats. Specifying their input format is no more needed and the openssl commands will automatically try all the possible formats. However if the DER or PEM input format is specified it will be enforced.

In order to access a key via an engine the input format ENGINE may be used; alternatively the key identifier in the <uri> argument of the respective key option may be preceded by "org.openssl.engine:". See "Engine Options" in openssl(1) for an example usage of the latter.