OpenSSL "pkey" Command Options

Q

What can I use OpenSSL "pkey" command for? What are options supported by the "pkey" command?

✍: FYIcenter.com

A

OpenSSL "pkey" command is a utility to view and manage private keys and public keys.

Note that "pkey" command is replacing the old "rsa", and "dsa" commands.

Here are options supported by the "pkey" command:

C:\Users\fyicenter>\local\openssl\openssl.exe

OpenSSL> pkey -help
Unknown cipher help
Usage pkey [options]
where options are
-in file        input file
-inform X       input format (DER or PEM)
-passin arg     input file pass phrase source
-outform X      output format (DER or PEM)
-out file       output file
-passout arg    output file pass phrase source
-engine e       use engine e, possibly a hardware device.
error in pkey

 

OpenSSL "genpkey" Command for RSA Keys

⇒⇒OpenSSL Tutorials

2018-01-16, 683👍, 0💬