Skip to content

Instantly share code, notes, and snippets.

@nooralibutt
Last active April 3, 2023 11:09
Show Gist options
  • Save nooralibutt/40b479f80020df2dd28453b491e835bb to your computer and use it in GitHub Desktop.
Save nooralibutt/40b479f80020df2dd28453b491e835bb to your computer and use it in GitHub Desktop.
Keystore creation steps

Requirements:

  • Java JDK
  • KeyStore command

"C:\Program Files\Java\jdk-20\bin\keytool" -genkey -v -keystore unused.keystore -storepass <account name without spaces+123> -alias -keypass <account name without spaces+123> -keyalg RSA -keysize 2048 -validity 10000

  • Account name e.g. game slots
  • Country e.g. france

Steps

  1. Download JDK if not installed already: https://download.oracle.com/java/20/latest/jdk-20_windows-x64_bin.exe

  2. Make Folder on the desktop in which you want to generate keystores

  3. Open terminal, move to desktop folder using: cd desktop

  4. Move to folder you had created on desktop

  5. Now edit this command according to the account name: "C:\Program Files\Java\jdk-20\bin\keytool" -genkey -v -keystore unusedgameslots1.keystore -storepass gameslots123 -alias gameslots -keypass gameslots123 -keyalg RSA -keysize 2048 -validity 10000

  6. Create all the keystores

  7. Compress that folder

  8. Email yourself now.

command prompt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment