Re: Help in loading EC_KEY

2012-12-19 Thread Jeffrey Walton
On Thu, Dec 13, 2012 at 4:04 AM, jeetendra gangele wrote: > HI, > > I am trying to sign the data using EC-DSA algorithm. > i have the private key to sign the data and I could load using > EC_KEY_set_private_key. > But when check the loaded key its failing with the error code below. > error:100B104

RE: Help in loading EC_KEY

2012-12-13 Thread Dave Thompson
> From: owner-openssl-...@openssl.org On Behalf Of redpath > Sent: Thursday, 13 December, 2012 10:00 > This list of commands will help you > openssl ecparam -out ec_key.pem -name secp224r1 -genkey > > Generate the certificate x509 > Your certificate will be in ecdsapublic.x509 and > the corres

Re: Help in loading EC_KEY

2012-12-13 Thread redpath
Well here is one I can answer. First I generate the ECDSA keys This list of commands will help you Show the type of curves: openssl ecparam -list_curves Use the secp224r1 curve openssl ecparam -out ec_key.pem -name secp224r1 -genkey Generate the certificate x509 Your certificate will be in ec