Java examples for Security:Certificate
Creating a New Key Pair and Self-Signed Certificate Using keytool
> keytool -genkey -alias alias -keystore .keystore > keytool -genkey -keyalg RSA -keysize 1024 -alias alias -keystore .keystore