How to create a New Keystore
Step 1 – Use the keytool command to create and manage your new Key Store file. Before the keytool command is recognized, please add java/bin/directory to your path. When you are ready to create your keystore, go to the directory where you intend to manage your keystore and certificates, and enter the following command
keytool -genkey -alias server -keyalg RSA -keysize 2048 -keystore your_site_name.jks
Step 2 – Choose a password for your keystore and when prompted, enter in your organization information.
Note: When asked for first and last name, please remember it is your Fully Qualified Domain Name for the site you are securing (e.g. www.domain1.com). However, if you are ordering a Wildcard SSL certificate, this must begin with the '*' character (e.g. *.domain1.com).
Step 3 – After submitting your information, click on 'Y' or 'Yes' to confirm the submitted details are correct. Next, enter in your password again to ensure you remember it.
This keystore file (your_site_name.jks) is now ready in your current working directory.