Wiki source code of Keystore

Version 1.1 by Sebastian Marsching on 2022/05/27 22:28

Show last authors
1 {{toc/}}
2
3 # Default password
4
5 The default password for the Java Keystore is `changeit`.
6
7 # Adding a trusted CA certificate to the Java Keystore
8
9 `keytool -importcert -trustcacerts -alias <CA Name> -file <X.509 Certificate File> -keystore /usr/lib/jvm/java-6-sun/jre/lib/security/cacerts`
10
11 # KeyStore Explorer
12
13 [KeyStore Explorer](https://keystore-explorer.org/) is a cross-platform GUI tool for editing Java Keystores. It provides a very convenient way of importing keypairs into a keystore, though it unfortunately does not handle certificates and private keys in the PEM format.