Hi,

I have a problem trying to use a RSA Private Key.

First of all I have generated using a Java Key Store the cert and the
privKey.

The parameters that i use are:

RSA Key Length: 1024
RSA Algorithm: MD5 with RSA.

I export each one (Cert and Key) to a file.

When I use the cert using openssl command line there is no problems.

When I use the key, I get these erros:

2945:error:0D080071:asn1 encoding routines:d2i_ASN1_INTEGER:expecting an
integer:a_int.c:204:
2945:error:0D09D082:asn1 encoding
routines:d2i_RSAPrivateKey:parsing:d2i_r_pr.c:117:
2945:error:0D09B00D:asn1 encoding routines:d2i_PrivateKey:ASN1
lib:d2i_pr.c:89:
2945:error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1 lib:pem_lib.c:291:

Can anyone give me support in this issue?

Lot's of thanks
Kind Regards

Reply via email to