make-ssl-cert(8)

make-ssl-cert8

Debconf wrapper for openssl

Usage

make-ssl-cert [OPTION] ... template output-certificate

make-ssl-cert [OPTION] ... generate-default-snakeoil

Overview

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 compatibility 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.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1
  2. 4.0
  3. 5.0–10
  4. 11–13

--expiration-days since Debian 11 (Bullseye); --no-overwrite since Debian 11 (Bullseye).

Author

The program author is Thom May <[email protected]>, manual page was written for completeness by Fabio M. Di Nitto <[email protected]>, for the Debian GNU/Linux system (but may be used by others).

From ssl-cert 1.1.3 in Debian 13 (Trixie). Parsed by carta from the page's man source.