make-ssl-cert(8)
π make-ssl-cert β hey bestie, let's make you a cert π
okay so real talk, this is make-ssl-cert, and it lives in section 8 of the System Manager's Manual πΈ she's a little beauty.
β¨ NAME β¨
make-ssl-cert β a Debconf wrapper for openssl π
β¨ SYNOPSIS β¨
make-ssl-cert [OPTION]... template output-combined-key-certificate
make-ssl-cert [OPTION]... template output-key output-certificate
make-ssl-cert [OPTION]... generate-default-snakeoil
β¨ DESCRIPTION β¨
so make-ssl-cert is literally just a simple debconf-to-openssl wrapper that makes self-signed certificates for you π¦ no drama, no tears, she handles it.
here's the tea β β she needs a source template to work from, like for example /usr/share/ssl-cert/ssleay.cnf, and then she drops the brand new generated certificate into whatever output file(s) you told her about. slay π
and ooooh bestie, if you invoke her with generate-default-snakeoil? she's gonna generate these two iconic files for you:
/etc/ssl/certs/ssl-cert-snakeoil.pemπ/etc/ssl/private/ssl-cert-snakeoil.keyπ
ngl "snakeoil" is such a vibe. she said default certs? we're calling them SNAKEOIL. iconic behavior fr fr π
β¨ OPTIONS β¨
here's the whole rundown, bestie β every single one, no skips π
--force-overwriteβ always make a new certificate, even if the file is already sitting right there. and for the girlies on backwards compatibility with1.0.x, you can also hand her this option as the last argument too. flexible queen β¨--no-overwriteβ never ever overwrite a file that already exists π€ even if the old certificate's key length is too small, or even if it's using an obsolete signature algorithm. she said hands off, that's somebody's file. periodt π«Ά--expiration-days Nβ makes the new certificate expire in N days, bestie β³ the default is3650. so yeah, ten years, she's playing the long game π
β¨ SEE ALSO β¨
openssl(1)β go say hi to her mum π
β¨ AUTHOR β¨
the program author is Thom May <thom@debian.org> π and the manual page was written for completeness by Fabio M. Di Nitto <fabbione@fabbione.net>, for the Debian GNU/Linux system (but like, may be used by others too, she's not gatekeeping π
).
okay that's the whole page bestie, you're officially certified πβ¨ this was page make-ssl-cert(8) straight outta the System Manager's Manual β go forth and generate something gorgeous ππ¦πΈ
π¦ where this page comes from
- ubuntu stonking: ssl-cert 1.2.0ubuntu1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms