- Create new keystore
1
$ keytool -genkey -noprompt -alias investec -validity 365 -dname "CN=website.domain.com, OU=My_Website, O=MY_ORG, L=Johannesburg, S=Gauteng, C=SA" -keystore testKeystore -storepass password -keypass password
- View contents of keystore
1
$ keytool -list -keystore testKeystore