SSL Certificate
This lesson deals with making the connection between us and our users more secure.
We'll cover the following
A Safer Approach
We’ve finally implemented client-server communication by deploying our website on the web. Till now, our domain name has been preceded by http://
. However, you might have noticed that many sites follow the https://
protocol instead. This is because HTTPS, or Hyper Text Transfer Protocol Secure, is the safer form of the HTTP protocol.
How does HTTPS work?
HTTPS uses the private and public keys encryption method to encrypt the communication between the website and the server. As website creators, we acquire two keys, public and private. These are long strings used to encrypt messages.
Our public key is available to everyone. If a user interacts with our application, his/her data is encrypted by the public key and is transmitted to the server.
The interesting part is that the encrypted data can only be decrypted using the private key, which no one other than us knows. Hence, hackers can get their hands on the encrypted message, but they won’t be able to make sense out of it.
Get hands-on with 1400+ tech skills courses.