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 revisionPrevious revision
Last revisionBoth sides next revision
java:keytool:list-certificates-from-jks [2020/08/08 20:20] odeftajava:keytool:list-certificates-from-jks [2020/08/08 20:22] 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: 2023/07/04 19:36 by 127.0.0.1