{
    "content": [
        {
            "type": "text",
            "text": "# make-ssl-cert(8) (man)\n\n**Summary:** make-ssl-cert - Debconf wrapper for openssl\n\n**Synopsis:** make-ssl-cert [OPTION]... template output-certificate\nmake-ssl-cert [OPTION]... generate-default-snakeoil\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | --force-overwrite | — | Always create a new certificate, even if the file already exists. For backwards com‐ patibility with 1.0.x, this option  |\n| — | --no-overwrite | — | Never overwrite an existing file, even if the old certificate's key length is too small or if it uses an obsoltete signa |\n\n## See Also\n\n- openssl(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (6 lines)\n- **OPTIONS** (2 lines) — 2 subsections\n  - --force-overwrite (3 lines)\n  - --no-overwrite (6 lines)\n- **SEE ALSO** (2 lines)\n- **AUTHOR** (7 lines)\n\n## Full Content\n\n### NAME\n\nmake-ssl-cert - Debconf wrapper for openssl\n\n### SYNOPSIS\n\nmake-ssl-cert [OPTION]... template output-certificate\nmake-ssl-cert [OPTION]... generate-default-snakeoil\n\n### DESCRIPTION\n\nmake-ssl-cert  is a simple debconf to openssl wrapper to create self-signed certificates.  It\nrequires a source template (Ex: /usr/share/ssl-cert/ssleay.cnf) and it  will  place  the  new\ngenerated certificate in the specified output file.\nInvoked   with   \"generate-default-snakeoil\",   it   will  generate  /etc/ssl/certs/ssl-cert-\nsnakeoil.pem and /etc/ssl/private/ssl-cert-snakeoil.key.\n\n### OPTIONS\n\nA summary of options are included below.\n\n#### --force-overwrite\n\nAlways create a new certificate, even if the file already exists.  For backwards  com‐\npatibility with 1.0.x, this option can be given as last argument, too.\n\n#### --no-overwrite\n\nNever  overwrite  an  existing  file,  even if the old certificate's key length is too\nsmall or if it uses an obsoltete signature algorithm.\n\n--expiration-days N\nMake the new certificate expire in N days.  Default is 3650.\n\n### SEE ALSO\n\nopenssl(1)\n\n### AUTHOR\n\nThe program author is Thom May <thom@debian.org>, manual page was written for completeness by\nFabio  M.  Di Nitto <fabbione@fabbione.net>, for the Debian GNU/Linux system (but may be used\nby others).\n\n\n\nmake-ssl-cert(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "make-ssl-cert",
        "section": "8",
        "mode": "man",
        "summary": "make-ssl-cert - Debconf wrapper for openssl",
        "synopsis": "make-ssl-cert [OPTION]... template output-certificate\nmake-ssl-cert [OPTION]... generate-default-snakeoil",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "",
                "long": "--force-overwrite",
                "arg": null,
                "description": "Always create a new certificate, even if the file already exists. For backwards com‐ patibility with 1.0.x, this option can be given as last argument, too."
            },
            {
                "flag": "",
                "long": "--no-overwrite",
                "arg": null,
                "description": "Never overwrite an existing file, even if the old certificate's key length is too small or if it uses an obsoltete signature algorithm. --expiration-days N Make the new certificate expire in N days. Default is 3650."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "openssl",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/openssl/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "--force-overwrite",
                        "lines": 3,
                        "long": "--force-overwrite"
                    },
                    {
                        "name": "--no-overwrite",
                        "lines": 6,
                        "long": "--no-overwrite"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 7,
                "subsections": []
            }
        ]
    }
}