System Grab Bag

View all TLDR pages from common (or from all pages)

keytool

Keytool is 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}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.