Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is CA certificate, and why do we need it?

Tags:

I've just read this article about what is HTTPS service, and understand the basic of https.

When requesting https content, the server will send a public key to browser, so that every time, the browser receive data will decrypted with the public key.

My question is what is CA certificate for? Why do we need it?

like image 347
Nicolas S.Xu Avatar asked Oct 15 '16 16:10

Nicolas S.Xu


People also ask

Why do we need root CA certificate?

Every root CA certificate is the reason that SSL certificates are regarded as the standard basis for website security today. Considering cybercrime damages are projected to reach $6 trillion annually by 2021, keeping your business's cyber security measures in check should be at the top of your priority list.

Why is certificate needed?

Websites need SSL certificates to keep user data secure, verify ownership of the website, prevent attackers from creating a fake version of the site, and convey trust to users.

Why do we need to put CA certificate of the work in your browser?

This helps to establish trust with the customers' web browsers. So, when the user tries to connect with your site, your server sends its public key along with a digital certificate (SSL/TLS certificate) that's signed by the CA.

What is the validity of CA certificate?

By default, the lifetime of a certificate that is issued by a Stand-alone Certificate Authority CA is one year. After one year, the certificate expires and is not trusted for use.


1 Answers

A CA certificate is a digital certificate issued by a certificate authority (CA), so SSL clients (such as web browsers) can use it to verify the SSL certificates sign by this CA.

For example, stackoverflow.com uses Let's Encrypt to sign its servers, and SSL certificates send by stackoverflow.com mention they are signed by Let's Encrypt. Your browser contains the CA certificate from Let's Encrypt and so the browser can use that CA certificate to verify the stackoverflow's SSL certificate and make sure you are indeed talking to real server, not man-in-the-middle.

https://security.stackexchange.com/a/20833/233126 provides a more detail explanation about how TLS/SSL certificates work.

like image 129
Ding-Yi Chen Avatar answered Sep 29 '22 05:09

Ding-Yi Chen