Skip to main content Skip to complementary content
Close announcements banner

Generate a key

Procedure

  1. Create a folder where you want to store your Keystore.
  2. Open a command prompt.
  3. Using the cd command, go to the folder you created.
  4. Enter the following command:
    <JAVA_HOME>\bin\keytool.exe -genkey -keystore <myKeystoreName> -keyalg RSA
    Replace <JAVA_HOME> with the path to the folder where Java is installed and <myKeystoreName> with the name of your Keystore.
  5. Enter the password you want to create for your Keystore twice. Then, if needed, enter other optional information, such as your name or the name of your organization.
  6. Enter yes to confirm the information you provided.
  7. Enter the password you have previously defined.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!