# make-ssl-cert(8) - man - phpman

[make-ssl-cert(8)](https://www.chedong.com/phpMan.php/man/make-ssl-cert/8/markdown)                       System Manager's Manual                      [make-ssl-cert(8)](https://www.chedong.com/phpMan.php/man/make-ssl-cert/8/markdown)



## NAME
       make-ssl-cert - Debconf wrapper for openssl

## SYNOPSIS
       **make-ssl-cert** [_OPTION_]... _template_ _output-certificate_
       **make-ssl-cert** **[**_OPTION_]... generate-default-snakeoil

## DESCRIPTION
       make-ssl-cert  is a simple debconf to openssl wrapper to create self-signed certificates.  It
       requires a source template (Ex: /usr/share/ssl-cert/ssleay.cnf) and it  will  place  the  new
       generated certificate in the specified output file.
       Invoked   with   "generate-default-snakeoil",   it   will  generate  /etc/ssl/certs/ssl-cert-
       snakeoil.pem and /etc/ssl/private/ssl-cert-snakeoil.key.

## OPTIONS
       A summary of options are included below.

### --force-overwrite
              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.

### --no-overwrite
              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.

## SEE ALSO
       [_openssl_(1)](https://www.chedong.com/phpMan.php/man/openssl/1/markdown)

## AUTHOR
       The program author is Thom May <<thom@debian.org>>, manual page was written for completeness by
       Fabio  M.  Di Nitto <<fabbione@fabbione.net>>, for the Debian GNU/Linux system (but may be used
       by others).



                                                                                    [make-ssl-cert(8)](https://www.chedong.com/phpMan.php/man/make-ssl-cert/8/markdown)
