1 1.1 christos =pod 2 1.1 christos {- OpenSSL::safe::output_do_not_edit_headers(); -} 3 1.1 christos 4 1.1 christos =head1 NAME 5 1.1 christos 6 1.1 christos openssl-gendsa - generate a DSA private key from a set of parameters 7 1.1 christos 8 1.1 christos =head1 SYNOPSIS 9 1.1 christos 10 1.1 christos B<openssl> B<gendsa> 11 1.1 christos [B<-help>] 12 1.1 christos [B<-out> I<filename>] 13 1.1 christos [B<-passout> I<arg>] 14 1.1 christos [B<-aes128>] 15 1.1 christos [B<-aes192>] 16 1.1 christos [B<-aes256>] 17 1.1 christos [B<-aria128>] 18 1.1 christos [B<-aria192>] 19 1.1 christos [B<-aria256>] 20 1.1 christos [B<-camellia128>] 21 1.1 christos [B<-camellia192>] 22 1.1 christos [B<-camellia256>] 23 1.1 christos [B<-des>] 24 1.1 christos [B<-des3>] 25 1.1 christos [B<-idea>] 26 1.1 christos [B<-verbose>] 27 1.1 christos [B<-quiet>] 28 1.1 christos {- $OpenSSL::safe::opt_r_synopsis -} 29 1.1 christos {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_provider_synopsis -} 30 1.1 christos [I<paramfile>] 31 1.1 christos 32 1.1 christos =head1 DESCRIPTION 33 1.1 christos 34 1.1 christos This command generates a DSA private key from a DSA parameter file 35 1.1 christos (which will be typically generated by the L<openssl-dsaparam(1)> command). 36 1.1 christos 37 1.1 christos =head1 OPTIONS 38 1.1 christos 39 1.1 christos =over 4 40 1.1 christos 41 1.1 christos =item B<-help> 42 1.1 christos 43 1.1 christos Print out a usage message. 44 1.1 christos 45 1.1 christos =item B<-out> I<filename> 46 1.1 christos 47 1.1 christos Output the key to the specified file. If this argument is not specified then 48 1.1 christos standard output is used. 49 1.1 christos 50 1.1 christos =item B<-passout> I<arg> 51 1.1 christos 52 1.1 christos The passphrase used for the output file. 53 1.1 christos See L<openssl-passphrase-options(1)>. 54 1.1 christos 55 1.1 christos =item B<-aes128>, B<-aes192>, B<-aes256>, B<-aria128>, B<-aria192>, B<-aria256>, B<-camellia128>, B<-camellia192>, B<-camellia256>, B<-des>, B<-des3>, B<-idea> 56 1.1 christos 57 1.1 christos These options encrypt the private key with specified 58 1.1 christos cipher before outputting it. A pass phrase is prompted for. 59 1.1 christos If none of these options is specified no encryption is used. 60 1.1 christos 61 1.1 christos Note that all options must be given before the I<paramfile> argument. 62 1.1 christos 63 1.1 christos =item B<-verbose> 64 1.1 christos 65 1.1 christos Print extra details about the operations being performed. 66 1.1 christos 67 1.1 christos =item B<-quiet> 68 1.1 christos 69 1.1 christos Print fewer details about the operations being performed, which may 70 1.1 christos be handy during batch scripts and pipelines. 71 1.1 christos 72 1.1 christos {- $OpenSSL::safe::opt_r_item -} 73 1.1 christos 74 1.1 christos {- $OpenSSL::safe::opt_engine_item -} 75 1.1 christos 76 1.1 christos =item I<paramfile> 77 1.1 christos 78 1.1 christos The DSA parameter file to use. The parameters in this file determine 79 1.1 christos the size of the private key. DSA parameters can be generated and 80 1.1 christos examined using the L<openssl-dsaparam(1)> command. 81 1.1 christos 82 1.1 christos {- $OpenSSL::safe::opt_provider_item -} 83 1.1 christos 84 1.1 christos =back 85 1.1 christos 86 1.1 christos =head1 NOTES 87 1.1 christos 88 1.1 christos DSA key generation is little more than random number generation so it is 89 1.1 christos much quicker that RSA key generation for example. 90 1.1 christos 91 1.1 christos =head1 SEE ALSO 92 1.1 christos 93 1.1 christos L<openssl(1)>, 94 1.1 christos L<openssl-genpkey(1)>, 95 1.1 christos L<openssl-dsaparam(1)>, 96 1.1 christos L<openssl-dsa(1)>, 97 1.1 christos L<openssl-genrsa(1)>, 98 1.1 christos L<openssl-rsa(1)> 99 1.1 christos 100 1.1 christos =head1 HISTORY 101 1.1 christos 102 1.1 christos The B<-engine> option was deprecated in OpenSSL 3.0. 103 1.1 christos 104 1.1 christos =head1 COPYRIGHT 105 1.1 christos 106 1.1 christos Copyright 2000-2023 The OpenSSL Project Authors. All Rights Reserved. 107 1.1 christos 108 1.1 christos Licensed under the Apache License 2.0 (the "License"). You may not use 109 1.1 christos this file except in compliance with the License. You can obtain a copy 110 1.1 christos in the file LICENSE in the source distribution or at 111 1.1 christos L<https://www.openssl.org/source/license.html>. 112 1.1 christos 113 1.1 christos =cut 114