How to create a keystore

d:\apktest\inputdir>E:\Java\jdk1.7.0_45\bin\keytool.exe -genkey -v -keystore common.keystore -alias android -keyalg RSA -keysize 2048 -validity 10000
Enter keystore password:
Re-enter new password:
What is your first and last name?
  [Unknown]:  Software Developer
What is the name of your organizational unit?
  [Unknown]:  Engineering
What is the name of your organization?
  [Unknown]:  Software Developer
What is the name of your City or Locality?
  [Unknown]:  USA
What is the name of your State or Province?
  [Unknown]:  USA
What is the two-letter country code for this unit?
  [Unknown]:  US
Is CN=Software Developer, OU=Engineering, O=Software Developer, L=USA, ST=USA, C=US correct?
  [no]:  yes

Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 10,000 days
        for: CN=Software Developer, OU=Engineering, O=Software Developer, L=USA, ST=USA, C=US
Enter key password for <android>
        (RETURN if same as keystore password):
[Storing common.keystore]

d:\apktest\inputdir>dir
 Volume in drive D is SDRIVE
 Volume Serial Number is 40D8-ED1B

 Directory of d:\apktest\inputdir

06/26/2015  02:50 PM    <DIR>          .
06/26/2015  02:50 PM    <DIR>          ..
06/26/2015  02:50 PM             2,270 common.keystore
06/26/2015  09:25 AM               372 common.txt
09/20/2014  11:08 PM             4,388 ic_launcher_hdpi_72.png
09/20/2014  11:08 PM             1,968 ic_launcher_ldpi_36.png
09/20/2014  11:09 PM             2,916 ic_launcher_mdpi_48.png
09/20/2014  11:10 PM             7,096 ic_launcher_xhdpi_96.png
               6 File(s)         19,010 bytes
               2 Dir(s)  739,981,746,176 bytes free

d:\apktest\inputdir>





























































