- Open a command prompt window.
Run the following command to generate a new file named
.keystore in your home directory.
"%JAVA_HOME%\bin\keytool" -genkey -alias tomcat -keyalg RSATip: If you want to specify a different location or file name, add the
-keystoreparameter to the command. For example, you can add
-keystore talendmdm.keystoreto the command to generate a keystore file named
Enter the keystore password as prompted, and then enter the
password again to confirm it. By default, it is
- Enter the general information about this Certificate, such as the organization name or the city. Make sure that the information you entered matches the information expected by users who attempt to access a secure page in your application.
Enter the key password as prompted, which is the password
specifically for this Certificate.
Warning: You are recommended to use the same password for the keystore file and the key.
- Go to your home directory and verify that a .keystore file is newly generated.