java:keytool:list-certificates-from-jks
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
java:keytool:list-certificates-from-jks [2020/08/08 19:53] – odefta | java:keytool:list-certificates-from-jks [2020/08/08 19:58] – odefta | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Create keystore jks file ====== | ====== Create keystore jks file ====== | ||
- | In keystore we want to import the certificate chain and the private key. | + | In keystore we want to import: |
+ | * **the certificate chain** | ||
+ | * **the private key** | ||
We can't do this directly in keytool. \\ | We can't do this directly in keytool. \\ | ||
A PKCS12 file should be created which then will be imported in keystore. | A PKCS12 file should be created which then will be imported in keystore. | ||
Line 15: | Line 17: | ||
</ | </ | ||
- | Import the p12 file into a jks file. Replace the password123 with the private key password supplied when it was created. | + | ===== Import the p12 file into a jks file ===== |
+ | |||
+ | Replace the password123 with the private key password supplied when it was created. | ||
< | < |
java/keytool/list-certificates-from-jks.txt · Last modified: 2023/07/04 19:36 by 127.0.0.1