Creating a Keystore

Create a keystore using the following keytool command:

keytool -genkey -alias privetKeyAlias -keyalg RSA -keystore keystore.jks
keytool -genkey -alias iway -keyalg RSA -keystore e:/keystore/iwaykeystore.jks

The keytool will prompt you to enter the following values:

The Common Name (CN) value must match the domain name of your web application if you are planning to use this keystore for your servlet container.

You can verify keystore contents using the following command:

keytool -list -v -keystore keystore.jks

For example:

keytool -list -v -keystore e:/keystore/iwaykeystore.jks

iWay Software