Appendix F. Using the Keytool

This appendix shows how to use the keytool of the Java 2 Platform SDK. It provides an overview of the keytool's operation, describes the keytool commands, and provides examples of their use.

Overview

The keytool provides the capability to manage a keystore (see Chapter 6,"Key Management and Digital Certificates" ). A keystore is a container for key entries and trusted certificate entries. A key entry consists of a private key and an X.509 certificate chain that authenticates the associated public key. (The keytool does not provide support for symmetric (secret) keys.) A trusted certificate entry is a certificate that authenticates the public key of another party.

The keytool provides the following capabilities:

  • Key pair ...

Get Java Security Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.