Keytool

Keytool is a key and certificate management utility for managing public and private key pairs and associated certificates.

Use the KeyTool utility to administer your own public/private key pairs and associated certificates for use in self-authentication (where the user authenticates himself/herself to other users/services) or data integrity and authentication services, using digital signatures. You can also use the tool to cache the public keys (in the form of certificates) of your communicating peers.