- Create a folder where you want to store your Keystore.
- Open a terminal.
cdcommand, go to the folder you created.
Enter the following command:
<JAVA_HOME>/bin/keytool -genkey -keystore <myKeystoreName> -keyalg RSAReplace
<JAVA_HOME>with the path to the folder where Java is installed and
<myKeystoreName>with the name of your Keystore.
- 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.
yesto confirm the information you provided.
- Enter the password you have previously defined.