Procedure
- Create a folder where you want to store your Keystore.
- Open a command prompt.
-
Using the
cd
command, go to the folder you created. -
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. - 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.
-
Enter
yes
to confirm the information you provided. - Enter the password you have previously defined.