1GENDSA(1) OpenSSL GENDSA(1)
2
3
4
6 gendsa - generate a DSA private key from a set of parameters
7
9 openssl gendsa [-out filename] [-des] [-des3] [-idea] [-rand file(s)]
10 [-engine id] [paramfile]
11
13 The gendsa command generates a DSA private key from a DSA parameter
14 file (which will be typically generated by the openssl dsaparam com‐
15 mand).
16
18 -des⎪-des3⎪-idea
19 These options encrypt the private key with the DES, triple DES, or
20 the IDEA ciphers respectively before outputting it. A pass phrase
21 is prompted for. If none of these options is specified no encryp‐
22 tion is used.
23
24 -rand file(s)
25 a file or files containing random data used to seed the random num‐
26 ber generator, or an EGD socket (see RAND_egd(3)). Multiple files
27 can be specified separated by a OS-dependent character. The sepa‐
28 rator is ; for MS-Windows, , for OpenVMS, and : for all others.
29
30 -engine id
31 specifying an engine (by it's unique id string) will cause req to
32 attempt to obtain a functional reference to the specified engine,
33 thus initialising it if needed. The engine will then be set as the
34 default for all available algorithms.
35
36 paramfile
37 This option specifies the DSA parameter file to use. The parameters
38 in this file determine the size of the private key. DSA parameters
39 can be generated and examined using the openssl dsaparam command.
40
42 DSA key generation is little more than random number generation so it
43 is much quicker that RSA key generation for example.
44
46 dsaparam(1), dsa(1), genrsa(1), rsa(1)
47
48
49
500.9.8b 2003-01-30 GENDSA(1)