Configuring Java CAPS for SSL support

Source: Internet
Author: User

Configuring Java CAPS for SSL support
    • Previous: Public keys, Private keys, and certificates
    • Next: OpenSSL Project
Keytool Program

The keytool program was a security tool included in the bin directory of the JavaTM SDK.

This tool manages a type of database called a keystore. Keystores contain of types of entries:

    • A key entry consists of a private key and the certificate chain for the associated public key.

    • A Trusted certificate entry is a public key certificate, belongs to another entity and that the owner of the KeyStore have determined to be trustworthy.

Each of the entry in the KeyStore are identified by a unique alias. When you add a entity to the KeyStore, you must specify an alias.

The available commands of the Keytool program include the following:

  • The genkey command generates a key pair. If you specify a keystore this does not exist and then the KeyStore is created.

  • The certreq command generates a Certificate Signing Request (CSR).

  • The Import command adds a certificate to a keystore. If you specify a keystore this does not exist and then the KeyStore is created.

  • The Export command exports a certificate to a file.

  • The List command prints the contents of a KeyStore entry.

For more information on the keytool program, go to http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html.

    • Previous: Public keys, Private keys, and certificates
    • Next: OpenSSL Project

    Configuring Java CAPS for SSL support

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.