VirtualTam's bookmarks
1 bookmark found
Page 1 of 1
-
To import a certificate to a Java keystore:
$ keytool -import -alias <alias> -file <file>.crt -keystore <keystore>
Example (Linux w/ OpenJDK 7):
$ /usr/lib/jvm/java-7-openjdk-amd64/bin/keytool -import -alias <alias> -file <file>.crt -keystore /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/cacerts
Page 1 of 1