Public keys, Private Keys, and certificates

Source: Internet
Author: User

Public keys, Private Keys, and certificates

When performing authentication, SSL uses a technique called Public-keyCryptography.

Public-key cryptography is based on the concept of a key pair, which consists of a public key and a private K EY. Data that have been encrypted with a public key can is decrypted only with the corresponding private key. Conversely, data that have been encrypted with a private key can is decrypted only with the corresponding public key.

The owner of the key pair makes the public key available to anyone, but keeps the private key secret.

A certificate verifies that's an entity was the owner of a particular public key.

Certificates that follow the "contain a data section" and a signature section. The data section includes such information as:

    • The distinguished Name of the entity that owns the public key

    • The distinguished Name of the entity that issued the certificate

    • The period of time during which the certificate is valid

    • The public key itself

You can obtain a certificate from a Certificate authority (CA) such as VeriSign. Alternately, you can create a self-signed certificate, in which the owner and the issuer is the same.

An organization that issues certificates can establish a hierarchy of CAs. The root CA has a self-signed certificate. Each subordinate CA have a certificate that's signed by the next highest CA in the hierarchy. A certificate chain is the certificate of a particular CA, plus the certificates of any higher CAs up through the Root CA.

    • Previous: Index
    • Next: Keytool Program

    Public keys, Private Keys, and certificates

    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.