This is the Easy way for the How to Generate Certificate Key for Phonegap ? You can Generate apk without Certificate But if You want to Upload You website on App Store. Then you need your one certificate. This is the basic need before upload any Apk on App Store.
If you want to Update Your apk version on app store then you need same certificate. Certificate is important file so Keep Save it. You can use Same Key in a Multiple Application. You can also use different different key in same App Developer Account.
Now we discuss about how to generate certificate key for Phonegap ? You have to Follow this Step.
- Install Java and Jre in Your Computer
- Open command Prompt and Now Set the Java Home Directory
- open keytool.exe
- Copy Below Code and Paste it
- Change You Alias name and Keytool file name with path
- Open You Location
This is the Sample Syntax
keytool -genkey -v -keystore [keystore_name].keystore -alias [alias_name] -keyalg RSA -keysize 2048 -validity 10000
Change You Alias name and path
keytool -genkey -v -keystore F:\karan.keystore -alias karan -keyalg RSA -keysize 2048 -validity 10000
Enter Password and Much more Detail and Last Your Certificate File Create in F:\karan.keystore
*Remember You alias name and Password
For More Detail You can Watch this Video for Complete Guide.