A Keytool is a utility that creates keystores or imports certificates.
When using the Sun Keytool utility, see the Java™ Keytool documentation. Go to http://www.oracle.com and search the JDK documentation for "Keytool - key and certificate management tool".
When using the IBM® Keytool utility, see the Java Keytool documentation in: http://www.ibm.com/developerworks/java/jdk/ and search for "Class KeyTool".
The following command-line example shows you how to use the Keytool:
keytool -import -alias ims -file <certificate_file_path> -keystore
<truststore_path> -storepass <truststore_password>
See the procedure for information about obtaining a file certificate. You must first obtain a file certificate before running the Keytool.