Apollus Technologies

Apollus Technologies

Blog by Mohit Mittal

02 Jul 2021

KeyStore

To generate a new Keystore

  1. Open terminal in a directory where you want to generate key store.

  2. Type in the following by replacing the NAMEHERE and ALIASHERE with appropriate name and an alias for your keystore

    keytool -genkey -v -keystore NAMEHERE.keystore -alias ALIASHERE -keyalg RSA -sigalg SHA1withRSA -keysize 2048 -validity 10000

  3. Type in the password for your keystore when prompted and then answer the questions that follows.

  4. Your keystore will be generated in the selected directory. You can move it to any desired location.

Categories

Tags