Create keystore file In order to create keystore file you will need to run this command: keytool -genkey -v -keystore wjc.jks -alias wjc -keyalg RSA -keysize 2048 -validity 3650