Save an RSA private key of an arbitrary number of bits to the output file

openssl genrsa

  • OpenSSL command to generate RSA private keys.
    More information: <https://www.openssl.org/docs/manmaster/man1/openssl-genrsa.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

openssl genrsa -out {{output_file.key}} {{1234}}

click the source code to copy install openssl genrsa on any operating system with command-not-found.com