OPENSSL-GENRSA - Online Linux Manual PageSection : 1ossl
Updated : 2023-03-21
Source : 3.0.8
Note : OpenSSL

NAMEopenssl−genrsa − generate an RSA private key

SYNOPSISopenssl genrsa [−help] [−out filename] [−passout arg] [−aes128] [−aes192] [−aes256] [−aria128] [−aria192] [−aria256] [−camellia128] [−camellia192] [−camellia256] [−des] [−des3] [−idea] [−F4] [−f4] [−3] [−primes num] [−verbose] [−traditional] [−rand files] [−writerand file] [−engine id] [−provider name] [−provider−path path] [−propquery propq] [numbits]

DESCRIPTIONThis command has been deprecated. The openssl−genpkey(1) command should be used instead. This 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 see openssl−passphrase−options(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, −f4, −3 The public exponent to use, either 65537 or 3. The default is 65537. The −3 option has been deprecated. −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. −verbose Print extra details about the operations being performed. −traditional Write the key using the traditional PKCS#1 format instead of the PKCS#8 format. −rand files, −writerand file See "Random State Options" in openssl(1) for details. −engine id See "Engine Options" in openssl(1). This option is deprecated. −provider name −provider−path path −propquery propq See "Provider Options" in openssl(1), provider(7), and property(7). 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.

NOTESRSA 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 ALSOopenssl(1), ​openssl−genpkey(1), ​openssl−gendsa(1)

HISTORYThis command was deprecated in OpenSSL 3.0.

COPYRIGHTCopyright 2000−2021 The OpenSSL Project Authors. All Rights Reserved. Licensed under the Apache License 2.0 (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>.
0
Johanes Gumabo
Data Size   :   19,043 byte
man-openssl-genrsa.1osslBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 181,530
Visitor ID   :     :  
Visitor IP   :   18.191.218.234   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|openssl-genrsa.1ossl|24/25|el══─{─══.|.el══─{─══. ds C` )         (htmlprn|149|openssl-genrsa.1ossl|24/25|.el══─{─══. ds C` |.el══─{─══. ds C` )         (parse_manual_page_|249|openssl-genrsa.1ossl|27|br══─}─══|'br══─}─══ )         (htmlprn|149|openssl-genrsa.1ossl|27|'br══─}─══ |'br══─}─══ )