6 gendsa - generate a DSA private key from a set of parameters
32 The B<gendsa> command generates a DSA private key from a DSA parameter file
33 (which will be typically generated by the B<openssl dsaparam> command).
41 Print out a usage message.
43 =item B<-out filename>
45 Output the key to the specified file. If this argument is not specified then
46 standard output is used.
48 =item B<-aes128|-aes192|-aes256|-aria128|-aria192|-aria256|-camellia128|-camellia192|-camellia256|-des|-des3|-idea>
50 These options encrypt the private key with specified
51 cipher before outputting it. A pass phrase is prompted for.
52 If none of these options is specified no encryption is used.
54 =item B<-rand file...>
56 A file or files containing random data used to seed the random number
58 Multiple files can be specified separated by an OS-dependent character.
59 The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
62 =item [B<-writerand file>]
64 Writes random data to the specified I<file> upon exit.
65 This can be used with a subsequent B<-rand> flag.
69 Specifying an engine (by its unique B<id> string) will cause B<gendsa>
70 to attempt to obtain a functional reference to the specified engine,
71 thus initialising it if needed. The engine will then be set as the default
72 for all available algorithms.
76 This option specifies the DSA parameter file to use. The parameters in this
77 file determine the size of the private key. DSA parameters can be generated
78 and examined using the B<openssl dsaparam> command.
84 DSA key generation is little more than random number generation so it is
85 much quicker that RSA key generation for example.
89 L<dsaparam(1)>, L<dsa(1)>, L<genrsa(1)>,
94 Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
96 Licensed under the OpenSSL license (the "License"). You may not use
97 this file except in compliance with the License. You can obtain a copy
98 in the file LICENSE in the source distribution or at
99 L<https://www.openssl.org/source/license.html>.