java:keytool:list-certificates-from-jks
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| java:keytool:list-certificates-from-jks [2020/08/08 17:20] – odefta | java:keytool:list-certificates-from-jks [2023/07/04 16:36] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| 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.1596907205.txt.gz · Last modified: (external edit)
