Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The KeyTool program is a utility to create and maintain public and private keys and certificates. It comes with the JDK and is located in the bin directory of the JDK. Keytool is a command-line program. To check the correct syntax, simply type keytool at the command prompt. The following will provide examples of some important functions.
Before you start, there are a few things to notice with regard to key generation in Java.