{
    "mode": "man",
    "parameter": "openssl-dsaparam",
    "section": "1ssl",
    "url": "https://www.chedong.com/phpMan.php/man/openssl-dsaparam/1ssl/json",
    "generated": "2026-06-03T01:49:22Z",
    "synopsis": "openssl dsaparam [-help] [-inform DER|PEM] [-outform DER|PEM] [-in filename] [-out filename]\n[-noout] [-text] [-genkey] [-verbose] [-rand files] [-writerand file] [-engine id] [-provider\nname] [-provider-path path] [-propquery propq] [numbits]",
    "sections": {
        "NAME": {
            "content": "openssl-dsaparam - DSA parameter manipulation and generation\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "openssl dsaparam [-help] [-inform DER|PEM] [-outform DER|PEM] [-in filename] [-out filename]\n[-noout] [-text] [-genkey] [-verbose] [-rand files] [-writerand file] [-engine id] [-provider\nname] [-provider-path path] [-propquery propq] [numbits]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This command is used to manipulate or generate DSA parameter files.\n\nDSA parameter generation can be a slow process and as a result the same set of DSA parameters\nis often used to generate several distinct keys.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-help",
                    "content": "Print out a usage message.\n"
                },
                {
                    "name": "-inform",
                    "content": "The DSA parameters input format; unspecified by default.  See openssl-format-options(1)\nfor details.\n"
                },
                {
                    "name": "-outform",
                    "content": "The DSA parameters output format; the default is PEM.  See openssl-format-options(1) for\ndetails.\n\nParameters are a sequence of ASN.1 INTEGERs: p, q, and g.  This is compatible with RFC\n2459 DSS-Parms structure.\n"
                },
                {
                    "name": "-in",
                    "content": "This specifies the input filename to read parameters from or standard input if this\noption is not specified. If the numbits parameter is included then this option will be\nignored.\n"
                },
                {
                    "name": "-out",
                    "content": "This specifies the output filename parameters to. Standard output is used if this option\nis not present. The output filename should not be the same as the input filename.\n"
                },
                {
                    "name": "-noout",
                    "content": "This option inhibits the output of the encoded version of the parameters.\n"
                },
                {
                    "name": "-text",
                    "content": "This option prints out the DSA parameters in human readable form.\n"
                },
                {
                    "name": "-genkey",
                    "content": "This option will generate a DSA either using the specified or generated parameters.\n"
                },
                {
                    "name": "-verbose",
                    "content": "Print extra details about the operations being performed.\n"
                },
                {
                    "name": "-rand -writerand",
                    "content": "See \"Random State Options\" in openssl(1) for details.\n"
                },
                {
                    "name": "-engine",
                    "content": "See \"Engine Options\" in openssl(1).  This option is deprecated.\n\nnumbits\nThis option specifies that a parameter set should be generated of size numbits. It must\nbe the last option. If this option is included then the input file (if any) is ignored.\n"
                },
                {
                    "name": "-provider",
                    "content": ""
                },
                {
                    "name": "-provider-path",
                    "content": ""
                },
                {
                    "name": "-propquery",
                    "content": "See \"Provider Options\" in openssl(1), provider(7), and property(7).\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "openssl(1), openssl-pkeyparam(1), openssl-gendsa(1), openssl-dsa(1), openssl-genrsa(1),\nopenssl-rsa(1)\n",
            "subsections": []
        },
        "HISTORY": {
            "content": "The -engine option was deprecated in OpenSSL 3.0.\n\nThe -C option was removed in OpenSSL 3.0.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.\n\nLicensed under the Apache License 2.0 (the \"License\").  You may not use this file except in\ncompliance with the License.  You can obtain a copy in the file LICENSE in the source\ndistribution or at <https://www.openssl.org/source/license.html>.\n\n\n\n3.0.2                                        2026-04-07                       OPENSSL-DSAPARAM(1SSL)",
            "subsections": []
        }
    },
    "summary": "openssl-dsaparam - DSA parameter manipulation and generation",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Print out a usage message."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The DSA parameters input format; unspecified by default. See openssl-format-options(1) for details."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The DSA parameters output format; the default is PEM. See openssl-format-options(1) for details. Parameters are a sequence of ASN.1 INTEGERs: p, q, and g. This is compatible with RFC 2459 DSS-Parms structure."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This specifies the input filename to read parameters from or standard input if this option is not specified. If the numbits parameter is included then this option will be ignored."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This specifies the output filename parameters to. Standard output is used if this option is not present. The output filename should not be the same as the input filename."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option inhibits the output of the encoded version of the parameters."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option prints out the DSA parameters in human readable form."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option will generate a DSA either using the specified or generated parameters."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Print extra details about the operations being performed."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "See \"Random State Options\" in openssl(1) for details."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "See \"Engine Options\" in openssl(1). This option is deprecated. numbits This option specifies that a parameter set should be generated of size numbits. It must be the last option. If this option is included then the input file (if any) is ignored."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "See \"Provider Options\" in openssl(1), provider(7), and property(7)."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "openssl",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl/1/json"
        },
        {
            "name": "openssl-pkeyparam",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl-pkeyparam/1/json"
        },
        {
            "name": "openssl-gendsa",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl-gendsa/1/json"
        },
        {
            "name": "openssl-dsa",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl-dsa/1/json"
        },
        {
            "name": "openssl-genrsa",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl-genrsa/1/json"
        },
        {
            "name": "openssl-rsa",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/openssl-rsa/1/json"
        }
    ]
}