============================================== ================================================== ===========
Setp2: SSL certificate generation:: Reference: http://www.open-open.com/lib/view/open1392018954614.html
================================================== ================================================== ========
1. Generate keypair
keytool -genkeypair -alias cas -keyalg RSA -storepass changeit
By default, the generated keystore is the .keystore file in the user directory. For Win8, the default user directory is C:Users username.
When generating a keypair, just enter any information. Finally, select "y" and press Enter directly. Do not enter a password
2. Export the certificate from keystore
keytool -exportcert -alias cas -file cas.crt -storepass changeit
3. Import certificate
keytool -importcert -alias cas -file cas.crt -keystore "%JAVA_HOME%\jre\lib\security\cacerts" -storepass changeit -noprompt
4. Double-click to execute the running certificate!