Hi,

I'm somewhat new to openssl so please bear with my 
newbie questions.  I'm interesting in using the openssl 
command-line utility to generate certificates, and 
certificate requests.  I'd like to use private keys 
exported from the Crypto++ v4.1 library, and I'm
wondering if anyone has successfully done this before.  
I've tried with both the RSAES_PKCS1v15_Decryptor and 
RSAES_OAEP_SHA_Decryptor objects from
Crypto++ with no luck - these parse errors result:

Using configuration from /usr/local/ssl/openssl.cnf
unable to load Private key
32312:error:0D080071:asn1 encoding 
routines:d2i_ASN1_INTEGER:expecting an     
integer:a_int.c:258:
32312:error:0D09D082:asn1 encoding 
routines:d2i_RSAPrivateKey:parsing:d2i_r_pr.c:116:
32312:error:0D09B00D:asn1 encoding 
routines:d2i_PrivateKey:ASN1 lib:d2i_pr.c:89:
error in req


Does anyone know a way around this?

Thanks,
Rob Haynes

P.S. - please cc: all replies as I don't belong to
this list

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to