mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 20:55:34 +02:00
keytool: add page (#9675)
* keytool: add page * Integrate PR comments * PR comments #2
This commit is contained in:
parent
6dbd66054a
commit
c82cccf108
1 changed files with 16 additions and 0 deletions
16
pages/common/keytool.md
Normal file
16
pages/common/keytool.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# keytool
|
||||||
|
|
||||||
|
> Keytool is a certificate management utility included with Java.
|
||||||
|
> More information: <https://docs.oracle.com/en/java/javase/19/docs/specs/man/keytool.html>.
|
||||||
|
|
||||||
|
- Create a keystore:
|
||||||
|
|
||||||
|
`keytool -genkeypair -v -keystore {{path/to/file.keystore}} -alias {{key_name}}`
|
||||||
|
|
||||||
|
- Change a keystore password:
|
||||||
|
|
||||||
|
`keytool -storepasswd -keystore {{path/to/file.keystore}}`
|
||||||
|
|
||||||
|
- Change a key's password inside a specific keystore:
|
||||||
|
|
||||||
|
`keytool -keypasswd -alias {{key_name}} -keystore {{path/to/file.keystore}}`
|
Loading…
Add table
Reference in a new issue