OpenSSL "gendsa" Command Options

Q

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

✍: FYIcenter.com

A

OpenSSL "gendsa" command is a utility to generate DSA (Digital Signature Algorithm) private key and public key pairs.

Here are options supported by the "gendsa" command:

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

OpenSSL> gendsa -help
usage: gendsa [args] dsaparam-file
 -out file - output the key to 'file'
 -des      - encrypt the generated key with DES in cbc mode
 -des3     - encrypt the generated key with DES in ede cbc mode (168 bit key)
 -idea     - encrypt the generated key with IDEA in cbc mode
 -seed     - encrypt PEM output with cbc seed
 -aes128, -aes192, -aes256
           - encrypt PEM output with cbc aes
 -camellia128, -camellia192, -camellia256
           - encrypt PEM output with cbc camellia
 -engine e - use engine e, possibly a hardware device.
 -rand file;file;...
           - load the file (or the files in the directory) into
             the random number generator
 dsaparam-file
           - a DSA parameter file as generated by the dsaparam command
error in gendsa

Note that the "dsaparam-file" is required. So you have to use "dsaparam" command to generated a DSA parameter file first.

 

OpenSSL "dsaparam" Command Options

OpenSSL "gendsa" and "dsa" Commands

OpenSSL "gendsa" and "dsa" Commands

⇑⇑ OpenSSL Tutorials

2017-01-07, 3114🔥, 0💬