Public Keys, Private Keys, and Certificates, keyscertificates
Public Keys, Private Keys, and Certificates
When authentication Ming authentication, SSL uses a technique calledPublic-key cryptography.
Public-key cryptography is based on the concept of a key pair, which consists ofPublic keyAndPrivate key. Data that has been encrypted with a public key can be decrypted only with the corresponding private key. conversely, data that has been encrypted with a private key can be 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.
ACertificateVerifies that an entity is the owner of a participant public key.
Certificates that follow the X.509 standard contain a data section and a signature section. The data section contains des such information:
-
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 createSelf-signed certificate, In which the owner and the issuer are the same.
An organization that issues certificates can establish a hierarchy of CAs. the root CA has a self-signed certificate. each subordinate CA has a certificate that is signed by the next highest CA in the hierarchy. ACertificate chainIs the certificate of a participant CA, plus the certificates of any higher CAs up through the root CA.
- Previous: Index
- Next: Keytool Program