How SSL Works

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Developer Tips Ron Fybish

Easy Steps

How SSL
Works
Developer Tips Ron Fybish

Bob has a website where


people can order pizza
http://www.pizza.com

what if someone steals


your clients data?

credit card
information
Developer Tips Ron Fybish

That is why it's crucial


to have an SSL

s
https://www.pizza.com

How does it help? what exactly is it?


Developer Tips Ron Fybish

SSL stands for Secure Sockets Layer


SSL is a secure protocol that helps to send
information safely over the Internet

SSL creates an encrypted connection between


the device of the visitor and your website

rypted credit in
c fo
en

I can't read
the data
Developer Tips Ron Fybish

You must first have an SSL Certificate


An SSL certificate is a digital file that verifies
the ownership or authenticity of a website
Developer Tips Ron Fybish

How does the SSL protocol work?


Think of a box with 2 keys :
Public Key and Private Key

This box can only be


locked by the public
key Public Key

Private Key And can only be


unlocked by the
private key
Developer Tips Ron Fybish

Now when the user


visits pizza.com

Server responds with SSL


certificate along with Public Key

This box is unlocked with


Now the browser sends the the private key to acquire
session key in a box and locks the symmetric session key
it with the public key sent
Developer Tips Ron Fybish

The client and the server now use a


shared session key to encrypt and
decrypt actual data and transfer it
Developer Tips Ron Fybish

Ron Fybish
Developer Advocate

What do You Think


About This Post?
I hope this helps! Comment below
to let me know what else you like to learn.
Follow @ronfybish to get updated :)

You might also like