DEV Community

Vijay SRJ
Vijay SRJ

Posted on

How does HTTPs work?

Here is the basic algorithm of how HTTPS work:

1.Browser hits website protected by HTTPS
2.Server sends digital certificate
3.Browser extracts public key from certificate
4.Browser creates a session key
5.Browser encrypts the session key using the public key and sends it to server
6.Server decrypts session key using its private key
7.Browser sends requests encrypted with the session key
8.Server sends responses encrypted with the same session key

A detailed explanation:

https://fullstackdeveloper.guru/2021/04/22/how-does-https-work/

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay