Skip to content

Instantly share code, notes, and snippets.

@richjava
Forked from rocco/cordova-keystore
Created September 9, 2017 08:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richjava/51d976a4125d31b5ba959c5d96709aba to your computer and use it in GitHub Desktop.
Save richjava/51d976a4125d31b5ba959c5d96709aba 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