How does your browser knows that the TLS certificate presented by the web server is a legit one signed by a trusted C.A ?
Introduction
When you browse the web, you might have noticed that some websites have a padlock icon in the address bar, indicating that they are secure. This security is provided by TLS (Transport Layer Security) encryption, which ensures that your data is transmitted securely over the internet. However, how does your browser know that the TLS certificate presented by the web server is a legitimate one signed by a trusted Certificate Authority (CA)? In this article, we will discuss how web browsers determine if a TLS certificate presented by a web server is legitimate and has been signed by a trusted Certificate Authority (CA).
Prerequisites: A fundamental understanding of web browsers, Certificate Authorities, TLS certificates, and digital authentication process is necessary.
Let’s Go !
Recommended by LinkedIn
Each Certificate Authority has set of key pairs(Private and Public Keys). The Certificate Authority uses their private key to sign the Certificate, all the public keys are all built-in all the browsers. The browsers uses the public key of the Certificate Authority to validate the certificate was actually signed by the Verified Certificate Authority themselves.
When a web server presents a TLS certificate to a browser, the browser needs to verify that the certificate is legitimate and has been signed by a trusted certificate authority (CA). Here is a simplified overview of the process:
In summary, your browser uses a combination of checks and verification processes to ensure that the TLS certificate presented by a web server is legitimate and has been signed by a trusted CA. This helps to protect your online security and privacy by encrypting your connection to the website and preventing attackers from intercepting or tampering with your data.
Senior Software Engineer | Springboot, Groovy, Golang, GitOps, Healthcare
9moFor number 3 - how does the CA's public key get into the cert store initially? Thanks, great article
Software / DevOps Engineer
1ya final brick in understanding TLS as such. Thanks)
excellent, very helpful :)
Software Engineer | Java | Spring boot | Angular | 4 years
1yclearly explained. Thank you