The Java keytool command can be used to perform a variety of tasks, such as viewing, importing, exporting, and deleting certificates in a keystore. The keytool command is included with Java, thus you will need to install Java to use the keytool command. As an example, let's say Java in installed at /opt/java on a Linux system. The following command would display the Java keytool commands.
Following are examples of some of the Java keytool commands.