Hi,
I tried to follow your advice but I didn't succeed :-(
I put the certificate into a binary file called "cert.der" then (inside
my application) I ran the following ssl command:
openssl x509 -inform DER -in cert.der -pubkey
but I get the following error:
unable to load certificate
27496:error:0D07207B:asn1 encoding routines:ASN1_get_object:header
too long:asn1_lib.c:140:
where did I go wrong?
Thanks a lot
Bye
Giuseppe
Bernhard Froehlich ha scritto:
Have you tried saving the binary data in a file and handle it with
"openssl x509 -inform DER"? Or creating a memory BIO with the data and
feed it to the corresponding API-functions? Then you should have a
certificate and if it's really just the public key you need you can
extract it from that.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]