keytool Command Examples

A certificate management utility included with Java. More information: https://docs.oracle.com/en/java/javase/20/docs/specs/man/keytool.html.

keytool -genkeypair -v -keystore {{path/to/file.keystore}} -alias {{key_name}}

keytool -storepasswd -keystore {{path/to/file.keystore}}

keytool -keypasswd -alias {{key_name}} -keystore {{path/to/file.keystore}}