Android certificate file

For example, cranberrygame.keystore

Keytool: download jdk (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)



keytool -genkey -v -keystore cranberrygame.keystore -alias cranberrygame -keyalg RSA -validity 10000

*Keep cranberrygame.keystore file and remember keystore password for afterward each app build.



cf) If keytool command is not in path

"C:\Program Files (x86)\Java\jdk1.8.0_91\bin\keytool" -genkey -v -keystore cranberrygame.keystore -alias cranberrygame -keyalg RSA -validity 10000

or

set PATH=%PATH%;C:\Program Files (x86)\Java\jdk1.8.0_91\bin
keytool -genkey -v -keystore cranberrygame.keystore -alias cranberrygame -keyalg RSA -validity 10000

or

Append ;C:\Program Files (x86)\Java\jdk1.8.0_91\bin to Path system environment variable.
keytool -genkey -v -keystore cranberrygame.keystore -alias cranberrygame -keyalg RSA -validity 10000









cf) Check

keytool -list -v -keystore cranberrygame.keystore -alias cranberrygame