I do not know how to line wrap properly..
Please let me know if there is a way to do that.
I am attaching the key.b64 file which I want to convert into
a RSA_PRIVATE_KEY pem file after the series of steps u mentioned.
ie.
openssl base64 -d -A -in key.b64 -out key.bin
openssl pkcs8 -in key.bin -inform DER -nocrypt
Thanks a lot again..This is really urgent for me.
-Sabyasachi
-----Original Message-----
From: Dr S N Henson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 3:46 PM
To: [EMAIL PROTECTED]
Subject: Re: Convert ASCII BER to RSA PRIVATE KEY
Sabyasachi Gupta wrote:
>
> Well everytime I try with a Exponent 3 key it produces a zero
> byte output file!!! on the other hand when I try with exponent
> 65677(whatever)
> it generates a binary output file..
>
> I am trying hard to somehow convert my Openssl generated rsa exponent 3
keys
> so that they can be loaded by Cryptix.!!
>
Could be a problem with the OpenSSL base64 decoder. The alternative is
to line wrap the base64 encoded data and try the decode command without
the -A option.
Can you send me a sample of a file that wont decode?
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Gemplus: http://www.gemplus.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
key.b64