Skip to content

Instantly share code, notes, and snippets.

@rocco
Last active March 7, 2018 08:44
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save rocco/29447d1b129c00c47825 to your computer and use it in GitHub Desktop.
Save rocco/29447d1b129c00c47825 to your computer and use it in GitHub Desktop.
cordova/phonegap: create keystore (to sign apk)
# create keystore
keytool -genkey -v -keystore [somename].keystore -alias [somename] -keyalg RSA -keysize 2048 -validity 10000
# follow instructions
# to keep things simple, use [somename] for .keystore file name and alias too
# same for password: just press enter on this prompt:
# ---------------------------------------------------
# Enter key password for <[somename]>
# (RETURN if same as keystore password):
#######################################################################################
# MAKE SURE YOU REMEMBER/STORE/TATTOO THE PASSWORD YOU ENTERED!
# you will need it if you submit your apk to the store and want to update it later
#######################################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment