Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Ashok Kumar>cd "C:\Program Files\Java\jdk1.7.0_25\bin" C:\Program Files\Java\jdk1.7.0_25\bin>keytool -genkey -keyalg rsa -alias Circle.class Enter keystore password: ashok What is your first and last name? [Unknown]: T. Ashok Kumar What is the name of your organizational unit? [Unknown]: Department of Bioinformatics What is the name of your organization? [Unknown]: Noorul Islam College of Arts and Science What is the name of your City or Locality? [Unknown]: Kumaracoil, Thuckalay What is the name of your State or Province? [Unknown]: Tamil Nadu What is the two-letter country code for this unit? [Unknown]: IN Is CN=T. Ashok Kumar, OU=Department of Bioinformatics, O=Noorul Islam College of Arts and Science, L="Kumaracoil, Thuckalay", ST=Tamil Nadu, C=IN correct? [no]: yes Enter key password for (RETURN if same as keystore password): ashok C:\Program Files\Java\jdk1.7.0_25\bin>keytool -export -alias Circle.class -file Circle.crt Enter keystore password: ashok Certificate stored in file C:\Program Files\Java\jdk1.7.0_25\bin>