Forrest logo
back to context overview

openssl-req

List of commands for openssl-req:

  • openssl-req:tldr:3d544 openssl-req: Generate a self-signed certificate and a corresponding key-pair, storing both in a file.
    $ openssl req -new -x509 -newkey ${rsa}:${4096} -keyout ${filename-key} -out ${filename-cert} -subj "${-C=XX-CN=foobar}" -days ${365}
    try on your machine
    explain this command
  • openssl-req:tldr:9c946 openssl-req: Generate a certificate signing request to be sent to a certificate authority.
    $ openssl req -new -sha256 -key ${filename-key} -out ${filename-csr}
    try on your machine
    explain this command
back to context overview