I'm trying to use OpenSSL (0.9.6) to read an RSA public key (PKCS#1, DER
encoded).
I use the following command:
openssl rsa -inform DER -in publickey.der -pubin
This gives the following errors:
unable to load key
1404:error:0D0A0007:asn1 encoding routines:d2i_X509_ALGOR:expecting an asn1
sequence:.\crypto\asn1\x_algor.c:85:address=4189187 offset=0
1404:error:0D0AA004:asn1 encoding routines:d2i_X509_PUBKEY:nested asn1
error:.\crypto\asn1\x_pubkey.c:86:address=4189184 offset=3
Does this look like an error in the key or am I using the wrong OpenSSL
methods?
Thanks,
Kim Hellan
KMD / KMD-CA
http://www.kmd-ca.dk
Mailto:[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]