OpenSSL "genrsa" Command Options

Q

What can I use OpenSSL "genrsa" command for? What are options supported by the "genrsa" command?

✍: FYIcenter.com

A

OpenSSL "genrsa" command is a utility to generate RSA (Rivest, Shamir and Adleman) private key and public key pairs.

Here are options supported by the "genrsa" command:

C:\Users\fyicenter>\local\openssl\openssl.exe

OpenSSL> genrsa -help
usage: genrsa [args] [numbits]
 -des            encrypt the generated key with DES in cbc mode
 -des3           encrypt the generated key with DES in ede cbc mode (168 bit key)
 -idea           encrypt the generated key with IDEA in cbc mode
 -seed           encrypt PEM output with cbc seed
 -aes128, -aes192, -aes256
                 encrypt PEM output with cbc aes
 -camellia128, -camellia192, -camellia256
                 encrypt PEM output with cbc camellia
 -out file       output the key to 'file
 -passout arg    output file pass phrase source
 -f4             use F4 (0x10001) for the E value
 -3              use 3 for the E value
 -engine e       use engine e, possibly a hardware device.
 -rand file;file;...
                 load the file (or the files in the directory) into
                 the random number generator
error in genrsa

 

OpenSSL "genrsa" - Generate RSA Key Pair

OpenSSL "genrsa" and "rsa" Commands

OpenSSL "genrsa" and "rsa" Commands

⇑⇑ OpenSSL Tutorials

2017-02-24, 5562🔥, 0💬