Wiki source code of KeyStore

Last modified by Sebastian Marsching on 2022/05/27 22:32

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 ```bash
10 keytool -importcert -trustcacerts -alias <CA Name> -file <X.509 Certificate File> -keystore /usr/lib/jvm/java-6-sun/jre/lib/security/cacerts
11 ```
12
13 # KeyStore Explorer
14
15 [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.