/opt/cpanel/ea-openssl11/share/doc/openssl/html/man1
NameSizeModeActions
asn1parse.html84190644editdlrm
ca.html316500644editdlrm
CA.pl.html95690644editdlrm
ciphers.html359490644editdlrm
cms.html305600644editdlrm
crl.html48120644editdlrm
crl2pkcs7.html43090644editdlrm
c_rehash.html58130644editdlrm
dgst.html90280644editdlrm
dhparam.html63620644editdlrm
dsa.html72020644editdlrm
dsaparam.html50220644editdlrm
ec.html80690644editdlrm
ecparam.html73020644editdlrm
enc.html170010644editdlrm
engine.html43680644editdlrm
errstr.html19290644editdlrm
gendsa.html41290644editdlrm
genpkey.html141140644editdlrm
genrsa.html52750644editdlrm
list.html34860644editdlrm
nseq.html33410644editdlrm
ocsp.html213580644editdlrm
openssl-asn1parse.html84190644editdlrm
openssl-ca.html316500644editdlrm
openssl-ciphers.html359490644editdlrm
openssl-cms.html305600644editdlrm
openssl-crl.html48120644editdlrm
openssl-crl2pkcs7.html43090644editdlrm
openssl-c_rehash.html58130644editdlrm
openssl-dgst.html90280644editdlrm
openssl-dhparam.html63620644editdlrm
openssl-dsa.html72020644editdlrm
openssl-dsaparam.html50220644editdlrm
openssl-ec.html80690644editdlrm
openssl-ecparam.html73020644editdlrm
openssl-enc.html170010644editdlrm
openssl-engine.html43680644editdlrm
openssl-errstr.html19290644editdlrm
openssl-gendsa.html41290644editdlrm
openssl-genpkey.html141140644editdlrm
openssl-genrsa.html52750644editdlrm
openssl-list.html34860644editdlrm
openssl-nseq.html33410644editdlrm
openssl-ocsp.html213580644editdlrm
openssl-passwd.html43590644editdlrm
openssl-pkcs7.html43140644editdlrm
openssl-pkcs8.html135210644editdlrm
openssl-pkcs12.html158750644editdlrm
openssl-pkey.html63400644editdlrm
openssl-pkeyparam.html34650644editdlrm
openssl-pkeyutl.html141440644editdlrm
openssl-prime.html23610644editdlrm
openssl-rand.html39550644editdlrm
openssl-rehash.html58130644editdlrm
openssl-req.html287540644editdlrm
openssl-rsa.html79270644editdlrm
openssl-rsautl.html80450644editdlrm
openssl-sess_id.html61280644editdlrm
openssl-smime.html212230644editdlrm
openssl-speed.html40590644editdlrm
openssl-spkac.html57540644editdlrm
openssl-srp.html27560644editdlrm
openssl-storeutl.html47390644editdlrm
openssl-s_client.html354850644editdlrm
openssl-s_server.html334900644editdlrm
openssl-s_time.html97260644editdlrm
openssl-ts.html272270644editdlrm
openssl-tsget.html84750644editdlrm
openssl-verify.html326030644editdlrm
openssl-version.html23980644editdlrm
openssl-x509.html374040644editdlrm
openssl.html215120644editdlrm
passwd.html43590644editdlrm
pkcs7.html43140644editdlrm
pkcs8.html135210644editdlrm
pkcs12.html158750644editdlrm
pkey.html63400644editdlrm
pkeyparam.html34650644editdlrm
pkeyutl.html141440644editdlrm
prime.html23610644editdlrm
rand.html39550644editdlrm
rehash.html58130644editdlrm
req.html287540644editdlrm
rsa.html79270644editdlrm
rsautl.html80450644editdlrm
sess_id.html61280644editdlrm
smime.html212230644editdlrm
speed.html40590644editdlrm
spkac.html57540644editdlrm
srp.html27560644editdlrm
storeutl.html47390644editdlrm
s_client.html354850644editdlrm
s_server.html334900644editdlrm
s_time.html97260644editdlrm
ts.html272270644editdlrm
tsget.html84750644editdlrm
verify.html326030644editdlrm
version.html23980644editdlrm
x509.html374040644editdlrm
Edit: /opt/cpanel/ea-openssl11/share/doc/openssl/html/man1/genrsa.html (5275B)
genrsa

NAME

openssl-genrsa, genrsa - generate an RSA private key

SYNOPSIS

openssl genrsa [-help] [-out filename] [-passout arg] [-aes128] [-aes192] [-aes256] [-aria128] [-aria192] [-aria256] [-camellia128] [-camellia192] [-camellia256] [-des] [-des3] [-idea] [-f4] [-3] [-rand file...] [-writerand file] [-engine id] [-primes num] [numbits]

DESCRIPTION

The genrsa command generates an RSA private key.

OPTIONS

-help

Print out a usage message.

-out filename

Output the key to the specified file. If this argument is not specified then standard output is used.

-passout arg

The output file password source. For more information about the format of arg see "Pass Phrase Options" in openssl(1).

-aes128, -aes192, -aes256, -aria128, -aria192, -aria256, -camellia128, -camellia192, -camellia256, -des, -des3, -idea

These options encrypt the private key with specified cipher before outputting it. If none of these options is specified no encryption is used. If encryption is used a pass phrase is prompted for if it is not supplied via the -passout argument.

-F4|-3

The public exponent to use, either 65537 or 3. The default is 65537.

-rand file...

A file or files containing random data used to seed the random number generator. Multiple files can be specified separated by an OS-dependent character. The separator is ; for MS-Windows, , for OpenVMS, and : for all others.

[-writerand file]

Writes random data to the specified file upon exit. This can be used with a subsequent -rand flag.

-engine id

Specifying an engine (by its unique id string) will cause genrsa to attempt to obtain a functional reference to the specified engine, thus initialising it if needed. The engine will then be set as the default for all available algorithms.

-primes num

Specify the number of primes to use while generating the RSA key. The num parameter must be a positive integer that is greater than 1 and less than 16. If num is greater than 2, then the generated key is called a 'multi-prime' RSA key, which is defined in RFC 8017.

numbits

The size of the private key to generate in bits. This must be the last option specified. The default is 2048 and values less than 512 are not allowed.

NOTES

RSA private key generation essentially involves the generation of two or more prime numbers. When generating a private key various symbols will be output to indicate the progress of the generation. A . represents each number which has passed an initial sieve test, + means a number has passed a single round of the Miller-Rabin primality test, * means the current prime starts a regenerating progress due to some failed tests. A newline means that the number has passed all the prime tests (the actual number depends on the key size).

Because key generation is a random process the time taken to generate a key may vary somewhat. But in general, more primes lead to less generation time of a key.

SEE ALSO

gendsa(1)

COPYRIGHT

Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.