SSL module: Generate key

Generates a new RSA private key to be used with CSR.

Example

Generate a new key:

space -m ssl /genkey/ -- "/home/janitor/new.key"

Generate a new 4096-bit key:

space -m ssl /genkey/ -- "/home/janitor/new.key" "4096"

Exit status code is expected to be 0 on success.

Edit this page