1GENDSA(1) OpenSSL GENDSA(1)
2
3
4
6 openssl-gendsa, gendsa - generate a DSA private key from a set of
7 parameters
8
10 openssl gendsa [-help] [-out filename] [-aes128] [-aes192] [-aes256]
11 [-aria128] [-aria192] [-aria256] [-camellia128] [-camellia192]
12 [-camellia256] [-des] [-des3] [-idea] [-rand file...] [-writerand
13 file] [-engine id] [paramfile]
14
16 The gendsa command generates a DSA private key from a DSA parameter
17 file (which will be typically generated by the openssl dsaparam
18 command).
19
21 -help
22 Print out a usage message.
23
24 -out filename
25 Output the key to the specified file. If this argument is not
26 specified then standard output is used.
27
28 -aes128, -aes192, -aes256, -aria128, -aria192, -aria256, -camellia128,
29 -camellia192, -camellia256, -des, -des3, -idea
30 These options encrypt the private key with specified cipher before
31 outputting it. A pass phrase is prompted for. If none of these
32 options is specified no encryption is used.
33
34 -rand file...
35 A file or files containing random data used to seed the random
36 number generator. Multiple files can be specified separated by an
37 OS-dependent character. The separator is ; for MS-Windows, , for
38 OpenVMS, and : for all others.
39
40 [-writerand file]
41 Writes random data to the specified file upon exit. This can be
42 used with a subsequent -rand flag.
43
44 -engine id
45 Specifying an engine (by its unique id string) will cause gendsa to
46 attempt to obtain a functional reference to the specified engine,
47 thus initialising it if needed. The engine will then be set as the
48 default for all available algorithms.
49
50 paramfile
51 This option specifies the DSA parameter file to use. The parameters
52 in this file determine the size of the private key. DSA parameters
53 can be generated and examined using the openssl dsaparam command.
54
56 DSA key generation is little more than random number generation so it
57 is much quicker that RSA key generation for example.
58
60 dsaparam(1), dsa(1), genrsa(1), rsa(1)
61
63 Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
64
65 Licensed under the OpenSSL license (the "License"). You may not use
66 this file except in compliance with the License. You can obtain a copy
67 in the file LICENSE in the source distribution or at
68 <https://www.openssl.org/source/license.html>.
69
70
71
721.1.1d 2019-10-03 GENDSA(1)