Processing Java CAPS for SSL Support, configuringcaps
Using ing Java CAPS for SSL Support
- Previous: Public Keys, Private Keys, and Certificates
- Next: OpenSSL Project
Keytool Program
TheKeytoolProgram is a security tool encoded inBinDirectory of the JavaTM SDK.
This tool manages a type of database calledKeystore. Keystores contain two types of entries:
AKey entryConsists of a private key and the certificate chain for the associated public key.
ATrusted certificate entryIs a public key certificate that belongs to another entity and that the owner of the keystore has determined to be trustworthy.
Each entry in the keystore is identified by a uniqueAlias. When you add an entity to the keystore, you must specify an alias.
The available commands ofKeytoolProgram include the following:
TheGenkeyCommand generates a key pair. If you specify a keystore that does not exist, then the keystore is created.
TheCertreqCommand generates a Certificate Signing Request (CSR ).
TheImportCommand adds a certificate to a keystore. If you specify a keystore that does not exist, then the keystore is created.
TheExportCommand exports a certificate to a file.
TheListCommand prints the contents of a keystore entry.
For more information aboutKeytoolProgram, go to http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html.
- Previous: Public Keys, Private Keys, and Certificates
- Next: OpenSSL Project