puneet batura wrote: > > Hi, > I am generating a self signed certificate for my application using rsa > but i want to generate the certificate using ecc. This is what i am doing: > > openssl genrsa -out MilitaryGpsKey.pem 2048 > > openssl req -new -x509 -key MilitaryGpsKey.pem -out > MilitaryGpsCert.pem -days 365 > > now converting the format so tomcat use it: > > openssl pkcs12 -export -in MilitaryGpsCert.pem -inkey > MilitaryGpsKey.pem -out MilitaryGpsCert.p12 -name tomcat > > > i am using openssl-0.9.8a version. Please tell me how to generate a > ecc key
I am using the same version : openssl version OpenSSL 0.9.8a 11 Oct 2005 For a list of usable curves, just do : openssl ecparam -list_curves And chose one to pass it to -name parameter as above. openssl ecparam -genkey -text -name c2pnb163v3 ASN1 OID: c2pnb163v3 -----BEGIN EC PARAMETERS----- BggqhkjOPQMAAw== -----END EC PARAMETERS----- Loading 'screen' into random state - done -----BEGIN EC PRIVATE KEY----- (...) [key value] -----END EC PRIVATE KEY----- Add -out file_name for ease of use ;-) The rest of the procedure remains the same ... > > Thanks > -- > Regards, > > > Puneet Batura > Open Source Developer -- Regards, Luc
begin:vcard fn:Luc Perthuis n:Perthuis;Luc org:Atempo S.A.;Engineering adr:;;PIBS;VANNES;;56000;FRANCE email;internet:[EMAIL PROTECTED] title:Core Technologies Group Manager tel;work:02 97 68 40 26 tel;fax:02 97 68 40 25 tel;cell:06 89 16 96 37 note;quoted-printable:Enabling Information Lifecycle Strategies=0D=0A= x-mozilla-html:TRUE url:http://www.atempo.com version:2.1 end:vcard