In this section, we will take a look at TLS Basics
Example: when a user tries to access web server, tls certificates ensure that the communication between them is encrypted.
It is a secure way of encryption, but it uses the same key to encrypt and decrypt the data and the key has to be exchanged between the sender and the receiver, there is a risk of a hacker gaining access to the key and decrypting the data.
Instead of using single key to encrypt and decrypt data, asymmetric encryption uses a pair of keys, a private key and a public key.
If you generate the certificate then you will have it sign it by yourself; that is known as self-signed certificate.
That’s where Certificate Authority (CA)
comes in for you. Some of the popular ones are Symantec, DigiCert, Comodo, GlobalSign etc.