Name
pkcs8
Synopsis
The pkcs8
command is used to create, examine, and
manipulate PKCS#8-formatted files.
Options
- -in filename
Specify the name of a file from which either a PKCS#8 structure or a private key will be read. If this option is omitted,
stdinwill be used.- -inform DER|PEM
Specify the format of the input data, either DER or PEM. If this option is omitted, PEM is the default format.
- -out filename
Specify the name of a file to which the output from the command will be written. If this option is omitted,
stdoutwill be used.- -outform DER|PEM
Specify the format of the output data, either DER or PEM. If this option is omitted, PEM is the default format.
- -passin password
Specify the password to decrypt the input PKCS#8 structure or private key. This option follows the guidelines outlined in Chapter 2.
- -passout password
Specify the password to encrypt the output PKCS#8 structure or private key. This option follows the guidelines outlined in Chapter 2.
- -topk8
If this option is specified, a private key, either DSA or RSA, will be the expected input data, and the output will be a PKCS#8 structure. Otherwise, a PKCS#8 structure will be the expected input, and a private key will be the output.
- -nocrypt
Cause the PKCS#8 structure that is output from this command to be unencrypted. If the input is a PKCS#8 key, it will be expected to be unencrypted.
- -nooct
Cause the RSA private key output from this command to be written in a broken format that is required by some software. This ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access