OpenSSL "dsa" Command Options

Q

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

✍: FYIcenter.com

A

OpenSSL "dsa" command is a utility to view DSA private keys and public keys.

Here are options supported by the "dsa" command:

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

OpenSSL> dsa -help
unknown option -help
dsa [options] <infile >outfile
where options are
 -inform arg     input format - DER or PEM
 -outform arg    output format - DER or PEM
 -in arg         input file
 -passin arg     input file pass phrase source
 -out arg        output file
 -passout arg    output file pass phrase source
 -engine e       use engine e, possibly a hardware device.
 -des            encrypt PEM output with cbc des
 -des3           encrypt PEM output with ede cbc des using 168 bit key
 -idea           encrypt PEM output with cbc idea
 -aes128, -aes192, -aes256
                 encrypt PEM output with cbc aes
 -camellia128, -camellia192, -camellia256
                 encrypt PEM output with cbc camellia
 -seed           encrypt PEM output with cbc seed
 -text           print the key in text
 -noout          don't print key out
 -pubout         print the DSA public value
 -pubin          expect a DSA public key in input file 
error in dsa

 

OpenSSL "dsa -text" - Print DSA Key in Text

OpenSSL "gendsa" - Generate DSA Key Pair

OpenSSL "gendsa" and "dsa" Commands

⇑⇑ OpenSSL Tutorials

2017-01-05, 703👍, 0💬