Posts Java create new keystore
Post
Cancel

Java create new keystore

  • 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
This post is licensed under CC BY 4.0 by the author.