Every time you open a website like Google, Amazon, or your banking portal, your browser shows a small lock icon beside the URL.

But have you ever wondered:

How does the browser actually know the website is genuine?

How does it verify that nobody is impersonating the server or intercepting your data?

This is where HTTPS and the SSL/TLS protocol come in.