info > openssl-gendsa

📖 NAME

openssl gendsa — generate a DSA private key from a set of parameters

🚀 Quick Reference

Use CaseCommandDescription
Generate DSA private key from parameter fileopenssl gendsa -out key.pem param.pemCreates a private key using DSA parameters from param.pem, output to key.pem
Encrypt private key with AES-256openssl gendsa -aes256 -out key.pem param.pemGenerates key and encrypts it with AES-256 cipher (prompts for passphrase)
Display verbose outputopenssl gendsa -verbose param.pemPrints extra details about operations while generating the key

📋 SYNOPSIS

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

📝 DESCRIPTION

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

âš™ī¸ OPTIONS

đŸ—‚ī¸ Help

📄 Output

🔐 Encryption Ciphers

🔊 Verbosity

🎲 Random State

🔧 Engine (deprecated)

📌 Input Parameter File

🏭 Provider Options

📌 NOTES

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

🔗 SEE ALSO

📜 HISTORY

The -engine option was deprecated in OpenSSL 3.0.

ÂŠī¸ COPYRIGHT

Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.

openssl-gendsa
📖 NAME 🚀 Quick Reference 📋 SYNOPSIS 📝 DESCRIPTION âš™ī¸ OPTIONS
đŸ—‚ī¸ Help 📄 Output 🔐 Encryption Ciphers 🔊 Verbosity 🎲 Random State 🔧 Engine (deprecated) 📌 Input Parameter File 🏭 Provider Options
📌 NOTES 🔗 SEE ALSO 📜 HISTORY ÂŠī¸ COPYRIGHT

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-04 12:55 @216.73.217.98
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format