User Tools

Site Tools


java:keytool:list-certificates-from-jks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
java:keytool:list-certificates-from-jks [2020/08/08 20:20]
odefta
java:keytool:list-certificates-from-jks [2020/08/08 20:22] (current)
odefta
Line 77: Line 77:
  
 Trust this certificate? [no]:  yes Trust this certificate? [no]:  yes
 +Certificate was added to keystore
 +</code>
 +
 +Repeat this for all CA certificates:
 +
 +<code>
 +keytool -import -alias int1 -file int1.crt -storetype JKS -keystore truststore_custom.jks
 +</code>
 +
 +<code>
 +keytool -import -alias int2 -file int2.crt -storetype JKS -keystore truststore_custom.jks
 +</code>
 +
 +Output:
 +<code>
 +Enter keystore password:
 Certificate was added to keystore Certificate was added to keystore
 </code> </code>
java/keytool/list-certificates-from-jks.txt ยท Last modified: 2020/08/08 20:22 by odefta