java:keytool:list-certificates-from-jks
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
java:keytool:list-certificates-from-jks [2020/08/08 20:20] – odefta | java:keytool:list-certificates-from-jks [2020/08/08 20:22] – odefta | ||
---|---|---|---|
Line 77: | Line 77: | ||
Trust this certificate? | Trust this certificate? | ||
+ | Certificate was added to keystore | ||
+ | </ | ||
+ | |||
+ | Repeat this for all CA certificates: | ||
+ | |||
+ | < | ||
+ | keytool -import -alias int1 -file int1.crt -storetype JKS -keystore truststore_custom.jks | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | keytool -import -alias int2 -file int2.crt -storetype JKS -keystore truststore_custom.jks | ||
+ | </ | ||
+ | |||
+ | Output: | ||
+ | < | ||
+ | Enter keystore password: | ||
Certificate was added to keystore | Certificate was added to keystore | ||
</ | </ |
java/keytool/list-certificates-from-jks.txt · Last modified: 2023/07/04 19:36 by 127.0.0.1