Re: [openssl-users] private key difference: openssl genrsa vs opnessl req newkey

2017-08-02 Thread Michele Mase'
o obtain the same > key? > > openssl genrsa > > This creates keys in a legacy RSA algorithm-specific format. > > > openssl req -nodes -newkey rsa:2048 some_extra_parameters > > This creates keys in the preferred standard PKCS#8 format. > > You can

Re: [openssl-users] private key difference: openssl genrsa vs opnessl req newkey

2017-08-01 Thread Viktor Dukhovni
On Wed, Jul 26, 2017 at 09:21:43PM +0200, Michele Mase' wrote: > So, what should be the command line to use in order to obtain the same key? > openssl genrsa This creates keys in a legacy RSA algorithm-specific format. > openssl req -nodes -newkey rsa:2048 some_extra_paramet

Re: [openssl-users] private key difference: openssl genrsa vs opnessl req newkey

2017-08-01 Thread Michele Mase'
Anyone? On Wed, Jul 26, 2017 at 9:21 PM, Michele Mase' wrote: > Tx. > So, what should be the command line to use in order to obtain the same key? > openssl genrsa > openssl req -nodes -newkey rsa:2048 some_extra_parameters > Michele MAsè > > On Wed, Jul 26,

Re: [openssl-users] private key difference: openssl genrsa vs opnessl req newkey

2017-07-26 Thread Michele Mase'
Tx. So, what should be the command line to use in order to obtain the same key? openssl genrsa openssl req -nodes -newkey rsa:2048 some_extra_parameters Michele MAsè On Wed, Jul 26, 2017 at 6:29 PM, Benjamin Kaduk wrote: > On 07/26/2017 10:13 AM, Michele Mase' wrote: > &

Re: [openssl-users] private key difference: openssl genrsa vs opnessl req newkey

2017-07-26 Thread Benjamin Kaduk via openssl-users
obal > Security/OU=IT Department/CN=example.com > <https://urldefense.proofpoint.com/v2/url?u=http-3A__example.com&d=DwMFaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=sssDLkeEEBWNIXmTsdpw8TZ3tAJx-Job4p1unc7rOhM&m=SvmGwnxF6Arf5U_XmN1vPPpie6IFH3h5CkVhveCn26I&s=AMT2W-m9xgiUsKMETv-WcWALqfQnX1r

[openssl-users] private key difference: openssl genrsa vs opnessl req newkey

2017-07-26 Thread Michele Mase'
During the generation of x509 certificates, both commands give the same results: Command "a": openssl req -nodes -newkey rsa:2048 -keyout example.key -out example.csr -subj "/C=GB/ST=London/L=London/O=Global Security/OU=IT Department/CN=example.com" Command "b": o

Re: [openssl-users] openssl genrsa question

2015-02-06 Thread Viktor Dukhovni
On Fri, Feb 06, 2015 at 01:13:08PM -0600, Rex Bloom wrote: > I am being required to generate the following type of digital signature: > > RSASSA-PKCS1-v1_5 A PKCS#1 v1.5 signature. > I am doing the following: > > openssl genrsa -aes128 -out private.pem 2048 You're g

[openssl-users] openssl genrsa question

2015-02-06 Thread Rex Bloom
I am being required to generate the following type of digital signature: RSASSA-PKCS1-v1_5 I am doing the following: openssl genrsa -aes128 -out private.pem 2048 Can anyone confirm this is correct or point out what I should change? Thanks, Rex

Re: openssl genrsa failure when OPENSSL_FIPS defined

2013-06-06 Thread no_spam_98
;# echo $OPENSSL_FIPS >> 1 >># openssl genrsa -out /home/user/key -des3 2048 >> error:FIPS routines:FIPS_drbg_generate:not > instantiated:openssl-fips-ecp-2.0/fips/rand/fips_drbg_lib.c:459 >> error:rsa routines:RSA_BUILTIN_KEYGEN:BN > lib:openssl-fips-ecp-2.0/cry

Re: openssl genrsa failure when OPENSSL_FIPS defined

2013-06-06 Thread Jakob Bohm
On 6/5/2013 6:15 PM, no_spam...@yahoo.com wrote: echo $OPENSSL_FIPS 1 openssl genrsa -out /home/user/key -des3 2048 error:FIPS routines:FIPS_drbg_generate:not instantiated:openssl-fips-ecp-2.0/fips/rand/fips_drbg_lib.c:459 error:rsa routines:RSA_BUILTIN_KEYGEN:BN lib:openssl-fips-ecp-2.0

openssl genrsa failure when OPENSSL_FIPS defined

2013-06-05 Thread no_spam_98
> echo $OPENSSL_FIPS 1 > openssl genrsa -out /home/user/key -des3 2048 error:FIPS routines:FIPS_drbg_generate:not instantiated:openssl-fips-ecp-2.0/fips/rand/fips_drbg_lib.c:459 error:rsa routines:RSA_BUILTIN_KEYGEN:BN lib:openssl-fips-ecp-2.0/crypto/rsa/rsa_gen.c:338 What am I doing

Re: Question about openssl genrsa

2004-09-24 Thread Charles B Cranston
Joppe Bos wrote: Hello everyone, I am fairly new with openssl and am trying to write a function which can make a public / private key pair with GMP (an open source big number library). I am doing this to compare the running time with openssl. I have a few questions regarding the openssl genrsa

Question about openssl genrsa

2004-09-24 Thread Joppe Bos
Hello everyone, I am fairly new with openssl and am trying to write a function which can make a public / private key pair with GMP (an open source big number library). I am doing this to compare the running time with openssl. I have a few questions regarding the openssl genrsa command: - What

Re: openssl genrsa question - Please answer

2002-08-20 Thread Lutz Jaenicke
On Wed, Aug 21, 2002 at 12:11:15AM +0530, [EMAIL PROTECTED] wrote: > I am trying to generate the key pair using the "openssl genrsa" command. > > Initially I got a problem with using this - > +++++++

openssl genrsa question - Please answer

2002-08-20 Thread VGuttikar
Hi, I am trying to generate the key pair using the "openssl genrsa" command. Initially I got a problem with using this - +++++++ openssl genrsa -out testkey.pem -3 1024 warning, not much extra random data, consider

openssl genrsa

2000-07-29 Thread son
genrsa only creates RSA private keys? How are rsa key pairs made using the openssl application? thanks __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL