First, Introduction
GENDSA command to generate DSA keys based on DSA key parameters
Second, the grammar
file ID] [paramfile] [-des] [-DES3] [-idea]
Options
-outfile-Output the key to'file'-des-encrypt the generated key with DesinchCBC Mode-des3-encrypt the generated key with DESinchEde CBC Mode (168bit key)-idea-encrypt the generated key with ideainchCBC 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.-randfile:file:... -Load thefile(or the FilesinchThe directory) into the random number generator Dsaparam-file-a DSA parameterfileAs generated by the Dsaparam command
Third, examples
1. Generate DSA keys based on DSA parameters
OpenSSL gendsa-des3-out Encdsa.pem Dsaparam.pem
Reference: http://blog.csdn.net/as3luyuan123/article/details/14498289
Openssl GENDSA Command