1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:02:10 +02:00
tldr/pages/common/keytool.md
Lena 0fddee2272
pages/*: reword descriptions to comply with the style guide (#11507)
* pages/*: reword descriptions to comply with the style guide

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-15 09:55:25 +05:30

487 B

keytool

A certificate management utility included with Java. More information: https://docs.oracle.com/en/java/javase/20/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}}