1OPENSSL-GENDSA(1ossl)               OpenSSL              OPENSSL-GENDSA(1ossl)
2
3
4

NAME

6       openssl-gendsa - generate a DSA private key from a set of parameters
7

SYNOPSIS

9       openssl gendsa [-help] [-out filename] [-passout arg] [-aes128]
10       [-aes192] [-aes256] [-aria128] [-aria192] [-aria256] [-camellia128]
11       [-camellia192] [-camellia256] [-des] [-des3] [-idea] [-verbose] [-rand
12       files] [-writerand file] [-engine id] [-provider name] [-provider-path
13       path] [-propquery propq] [paramfile]
14

DESCRIPTION

16       This command generates a DSA private key from a DSA parameter file
17       (which will be typically generated by the openssl-dsaparam(1) command).
18

OPTIONS

20       -help
21           Print out a usage message.
22
23       -out filename
24           Output the key to the specified file. If this argument is not
25           specified then standard output is used.
26
27       -passout arg
28           The passphrase used for the output file.  See
29           openssl-passphrase-options(1).
30
31       -aes128, -aes192, -aes256, -aria128, -aria192, -aria256, -camellia128,
32       -camellia192, -camellia256, -des, -des3, -idea
33           These options encrypt the private key with specified cipher before
34           outputting it. A pass phrase is prompted for.  If none of these
35           options is specified no encryption is used.
36
37       -verbose
38           Print extra details about the operations being performed.
39
40       -rand files, -writerand file
41           See "Random State Options" in openssl(1) for details.
42
43       -engine id
44           See "Engine Options" in openssl(1).  This option is deprecated.
45
46       paramfile
47           The DSA parameter file to use. The parameters in this file
48           determine the size of the private key. DSA parameters can be
49           generated and examined using the openssl-dsaparam(1) command.
50
51       -provider name
52       -provider-path path
53       -propquery propq
54           See "Provider Options" in openssl(1), provider(7), and property(7).
55

NOTES

57       DSA key generation is little more than random number generation so it
58       is much quicker that RSA key generation for example.
59

SEE ALSO

61       openssl(1), openssl-genpkey(1), openssl-dsaparam(1), openssl-dsa(1),
62       openssl-genrsa(1), openssl-rsa(1)
63

HISTORY

65       The -engine option was deprecated in OpenSSL 3.0.
66
68       Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
69
70       Licensed under the Apache License 2.0 (the "License").  You may not use
71       this file except in compliance with the License.  You can obtain a copy
72       in the file LICENSE in the source distribution or at
73       <https://www.openssl.org/source/license.html>.
74
75
76
773.0.5                             2022-07-05             OPENSSL-GENDSA(1ossl)
Impressum