make-ssl-cert(8)

πŸ“¦
version 1.2.0ubuntu1 Β· 2 versions
, in ubuntu stonking

πŸ’– 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 with 1.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 is 3650. so yeah, ten years, she's playing the long game 🌈

✨ SEE ALSO ✨


✨ 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