Https and SSL learning notes (2) and httpsssl learning notes

Source: Internet
Author: User
Tags ssl certificate

Https and SSL learning notes (2) and httpsssl learning notes

This article describes the certificate information, refer to the article link http://www.guokr.com/post/116169/

I. certificate type

Common certificates are as follows:

(1) SSL Certificate, used to Encrypt HTTP

(2) code signature certificate, used to sign binary files, such as Windows Kernel drivers, Firefox plug-ins, and Java code signatures.

(3) client certificate, for example, used to encrypt emails

(4) two-factor certificate. This type of certificate is used in the USB Key used by the online banking Professional Edition.

The certificate format is defined by the X.509 standard.

These certificates need to be issued by the authenticated certificate authority (usually known as the CA), and the certificates issued by the CA are trusted. Enterprises and individuals can apply for a certificate based on the certificate type and time. The charges are also different.

Ii. Apply for a certificate from CA

Generally, enterprise certificates are more expensive than individual certificates. When you apply for a certificate, the certificate is valid. After the validity period expires, you need to apply for a new certificate.

When applying for a certificate, you must provide the Domain Name of the website. When providing the domain name, you must prove that the applicant has ownership of the domain name. Generally, a certificate can only be bound to one domain name. This certificate is trusted only when you access this domain name. In addition, the domain name can contain wildcard *, but such a certificate is expensive. Baidu's certificate contains wildcards (1 ). The general name in the issued certificate is the domain name filled in when the certificate is applied for, and the general name of the issuer is the issuing authority. If "Extended Validation SSL" is entered, it indicates that this certificate is an ev ssl Certificate (Extended Validation SSL certificate ), an ev ssl Certificate features a green address bar in the browser and displays the name of the company to which the certificate belongs. The two periods in the validity period are the effective time and effective time of the certificate. When applying for a certificate, in addition to providing a domain name, you also need to provide a business license and identity information.

Figure 1

Iii. Certificate verification process

Certificates are organized in the form of a certificate chain. When issuing certificates, you must first have the root certificate issued by the root CA, and then the Root CA will issue certificates from the intermediate CA, at last, an SSL certificate is issued by an intermediate CA. The certificate is also verified at the first level. Only when all certificates are trustable can the SSl Certificate be trusted by the browser. If the root certificate is untrusted, all the certificates issued below are untrusted. Shows the certificate path:

4. reasons why the certificate is not trusted by the browser

(1) Certificate Expired

(2) The domain name in the certificate is inconsistent with the accessed Domain Name

(3) untrusted authority

 

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.