Am 19.04.2012 14:05, schrieb Daniel Doron:
Hi,
I have noticed the following command sequence generates Private Key
files with different _Header_. Is there a reason for this?? You will
A quick look into the source gave me no strong hint whether this is
intended, is a bug or is sloppiness not qualifying as a bug. But some
checks in the code on the prefix to "PRIVATE KEY" may be a hint that it
may be handled as a bug at least in some situations...
Anyway, try to insert "RSA " before "PRIVATE KEY" and check whether this
makes your embedded system happy.
also notice that the character count is different…
This is to be expected already from the specifics of the ASN.1 encoding,
so this alone is not a hint that something is wrong.
A call of
openssl rsa -in <key file> -noout -text
showed no fundamental difference between your two keys.
The first private key cause our embedded system (not Linux, proprietary)
to choke while the second one was went smoothly.
Please check with the added "RSA " string, if this makes your embedded
system happy than the only question is, whether this is a bug in OpenSSL
or in the embedded system, the latter being to strict with what it accepts.
Ciao,
Richard
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org