Hellstern, Thomas (LfSt) wrote:
...
[exec] d2i_AutoPrivateKey returned a key at 0x00000000
[exec] ERR_get_error()=218783872 (0x0d0a6080)
[exec] ERR_lib_error_string(rc)=asn1 encoding routines
[exec] ERR_func_error_string(rc)=LONG_C2I
[exec] ERR_reason_error_string(rc)=integer too large for long
well, your key is broken.
[EMAIL PROTECTED]:/tmp> dumpasn1 key.bin
0 1184: SEQUENCE {
4 257: INTEGER
: 00 9F 6D 64 3B 61 63 B5 D4 41 AF 5E CE BA 33 DF
: 18 08 0F FB E5 A1 CA FE FA 31 29 3B BE 6A 2E 95
: 4E A7 53 97 CD C9 1E C8 B7 36 6E B5 7B 83 83 E7
...
the version number of the structure is missing (as openssl
tries to store the version number in a 'long' openssl attempts
to store the first entry, here the modulus, in a long ...
see above error message).
Nils
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]