Here is the part that seems to be wrong

-outform DER -out ec-key.pem
-inform DER -in ec-key.der

Try with the same filename in both commands.

--
Florian Manach
NUMLOG
[EMAIL PROTECTED]
(+33)0130791616

C K KIRAN-KNTX36 a écrit :
Hi All,

I am trying the below commands what is going wrong,

[EMAIL PROTECTED] crypt]$ openssl ecparam -outform DER -out ec-key.pem -name secp224r1 -genkey

[EMAIL PROTECTED] crypt]$ openssl ec -inform DER -in ec-key.der -text -noout

read EC key

unable to load Key

19331:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1294:

19331:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:380:Type=EC_PRIVATEKEY

19331:error:10092010:elliptic curve routines:d2i_ECPrivateKey:EC lib:ec_asn1.c:1116:

Regards,

Kiran

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]
  • EC C K KIRAN-KNTX36
    • Re: EC Florian MANACH
    • Re: EC Marek Marcola
    • EC C K KIRAN-KNTX36

Reply via email to