Browse Source

Added HOWTO-KEYSTORE.md

didfet 10 năm trước cách đây
mục cha
commit
991e7fc8ee
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  1. 12 0
      HOWTO-KEYSTORE.md

+ 12 - 0
HOWTO-KEYSTORE.md

@@ -0,0 +1,12 @@
+# How to create a java keystore ?
+
+## From a .pem file
+
+If you have your CA certificate stored in a .pem text file, run the following command to create the keystore.jks file :
+
+		keytool -importcert -trustcacerts -file cacert.pem -alias ca -keystore keystore.jks
+
+To list the contents of the keystore file, run this command :
+
+		keytool -list -v -keystore keystore.jks
+