SlideShare a Scribd company logo
SSL
Secure Socket Layer
Srishti Thakkar
Manish Jain
Nehal Dudani
Samip Jain
1
• It is an Internet protocol for secure exchange of
information between a web browser and a web
server
• It provides
▫ Authentication
▫ Confidentiality
• Developed by Netscape Corporation in 1994
• Currently comes in three versions : 2, 3 and 3.1
2
3
Application Layer
Transport Layer
Internet Layer
Data Link Layer
Physical Layer
SSL Layer
4
X
L5 data
010101010100010101010010
Transmission medium
H4L5 data
H3L4 data
Application
Transport
Internet
Physical
H2L3 data Data Link
Y
L5 data
010101010100010101010010
H4L5 data
H3L4 data
H2L3 data
5
X
L5 data
010101010100010101010010
Transmission medium
H4L5 data
H3L4 data
Application
Transport
Internet
Physical
L5 data SSLSH
H2L3 data Data Link
Y
L5 data
010101010100010101010010
H4L5 data
H3L4 data
L5 data SH
H2L3 data
6
7
1 • Handshake protocol
2 • Record protocol
3 • Change Cipher protocol
4 • Alert protocol
8
Type Length Content
1 byte 3 bytes 1 or more bytes
Message Format
9
Message Type Parameters
Hello request None
Client hello Version, Random number, Session id, Cipher suite,
Compression method
Server hello Version, Random number, Session id, Cipher suite,
Compression method
Certificate Chain of X.509V3 certificates
Server key exchange Parameters, signature
Certificate request Type, authorities
Server hello done None
Certificate verify Signature
Client key exchange Parameters, signature
Finished Hash value
10
1
• Establish security capabilities
2
• Server authentication and key exchange
3
• Client authentication and key exchange
4
• Finish
11
• Used to initiate logical connection and establish
security capabilities.
• Consists of two messages
▫ Client hello
▫ Server hello
12
Web
Browser
Web
Server
Step 1: Client hello
Step 2: Server hello
13
• Identifies highest version of SSL that client can supportVersion
• 32 bit date time field
• 28 byte random number
Random
• Variable length session identifier
• Can be zero (new session) or non zero (connection exists)
Session id
• Contains list of cryptographic algorithms supported by the
clientCipher suite
• Contains list of compression algorithms supported by the
client
Compression
method
14
• Identifies lower of version suggested by client and
highest supported by serverVersion
• Same structure as that in client hello
• Random value independent of client’s value
Random
• Uses same value if client sends non zero value
• Otherwise creates new session id
Session id
• Contains single cipher suite which server selects from
the list sent by clientCipher suite
• Contains single compression algorithm which server
selects from the list sent by client
Compression
method
15
16
Web
Browser
Web
ServerStep 2: Server key exchange
Step 3: Certificate request
Step 4: Server hello done
Step 1: Certificate
17
• Server sends its Digital certificate
• Helps the to authenticateCertificate
• Sent only if the certificate does not contain enough information
to complete the key exchange
Server key
exchange
• Sent if the client needs to authenticate itself
Certificate
request
• Sent to indicate that the server is finished its part of the key
exchange
• after sending this message the server waits for client response
Server
hello done
18
Web
Browser
Web
Server
Step 1: Certificate
Step 2: Client key exchange
Step 3: Certificate verify
19
• will send a certificate message or a no certificate alertCertificate
• always sent
• RSA encrypted pre-master secret
Client key
exchange
• sent only if the client sent a certificate
• provides client authentication
• contains signed hash of all the previous handshake
messages
Certificate
verify
20
Master secret
Pre master
secret
Client random Server random
Message Digest
Algorithm
21
Symmetric Key
Master secret Client random Server random
Message Digest
Algorithms
22
Web
Browser
Web
Server
Step 1: Change cipher specs
Step2 : Finished
Step 3: Change cipher specs
Step 4: Finished
• Provide two services for SSL connections:
Confidentiality: by encrypting application data.
Message Integrity: by computing MAC over the
compressed data.
• Can be utilized by some upper-layer protocols
of SSL.
24
≤ 214 bytes
(optional; default: null)
25
 SSL MAC is computed as:
hash(MAC_write_secret || pad_2 ||
hash(MAC_write_secret || pad_1 || seq_num ||
SSLCompressed.type || SSLCompressed.length ||
SSLCompressed.fragment ) )
26
27
 2 byte alert message
 1 byte level
 Fatal or warning
 1 byte
 Alert Code
28
Warning or fatal
close_notify(0),
unexpected_message(10),
bad_record_mac(20),
decryption_failed(21),
record_overflow(22),
decompression_failure(30),
handshake_failure(40),
bad_certificate(42),
unsupported_certificate(43),
certificate_revoked(44),
certificate_expired(45),
certificate_unknown(46),
illegal_parameter(47),
unknown_ca(48),
access_denied(49),
decode_error(50),
decrypt_error(51),
export_restriction(60),
protocol_version(70),
insufficient_security(71),
internal_error(80),
user_canceled(90),
no_renegotiation(100),
29
Always fatal
unexpected_messages
bad_record_mac
decompression_failure
handshake_failure
illegal_parameter
30
Remaining alerts
close_notify
no_certificate
bad_certificate
unsupported_certificate
certificate_revoked
certificate_expired
certificate_unknown
31
Authentication of server
– How does client know who they are dealing with?
Information integrity
– How do we know third party has not altered data en
route?
Bob’s web
siteAlice thinks she is at Bob’s site, but Darth is
spoofing it
Bob’s web
siteAddress information
Change so item shipped to Darth
32
There are several versions of the SSL protocol
defined. The latest version, the Transport
Layer Security Protocol (TLS), is based on
SSL 3.0
SSL Version 1.0
SSL Version 2.0
SSL Version 3.0
TLS Version 1.0
TLS Version 1.0 with SSL Version 3.0
33
www.aiub.edu
34
www.gmail.com
35
www.varsityadmission.com
36
37
 https://www.digicert.com/ssl.htm
 http://www.webopedia.com/TERM/S/SSL.html
 http://en.wikipedia.org/wiki/Transport_Layer_Security
38

More Related Content

PPT
Secure Socket Layer
PPTX
DevOps Torino Meetup - SRE Concepts
PPTX
Microsoft word - teaching slides
PPTX
HandyMan(SRS Final Presentation)
PPTX
Firewall presentation
PPTX
public key infrastructure
PPTX
Lex & yacc
PDF
SSL/TLS Handshake
Secure Socket Layer
DevOps Torino Meetup - SRE Concepts
Microsoft word - teaching slides
HandyMan(SRS Final Presentation)
Firewall presentation
public key infrastructure
Lex & yacc
SSL/TLS Handshake

What's hot (20)

PDF
IP Security
PDF
Web Security
ODP
Https presentation
PPT
Secure Socket Layer (SSL)
PPTX
SSL TLS Protocol
PPTX
Firewall Design and Implementation
PPTX
Data encryption
PPTX
Hash Function
PDF
Electronic mail security
PPT
Digital Signature Standard
PPT
Network security cryptographic hash function
PPT
PPTX
Message digest 5
PPTX
Transport layer security (tls)
PPT
Digital signature
PPTX
PPT
Secure shell ppt
PPT
Fundamentals of cryptography
IP Security
Web Security
Https presentation
Secure Socket Layer (SSL)
SSL TLS Protocol
Firewall Design and Implementation
Data encryption
Hash Function
Electronic mail security
Digital Signature Standard
Network security cryptographic hash function
Message digest 5
Transport layer security (tls)
Digital signature
Secure shell ppt
Fundamentals of cryptography
Ad

Similar to Secure Socket Layer (SSL) (20)

PPTX
Cryptography by Afroz haider mir
PPT
SecureSocketLayer.ppt
PPSX
Secure socket layer
PPSX
Secure socket layer
PPTX
SSL And TLS
PPT
SSL Secure Socket Layer
PDF
Unit 4_SSL_Handshake Protocol_Record Layer Protocol.pdf
PPTX
Transport Layer Security
PPT
Secure socket later
PDF
CRYPTOGRAPHY AND NETWORK SECURITY- Transport-level Security
PPT
cryptography and network security thid.ppt
PPTX
group no 6.pptx
PPTX
Internet security protocol
PPT
Lecture 6 web security
PPTX
Secure Socket Layer
PDF
BAIT1103 Chapter 4
PPT
Web Security
PPT
tls security fda fkj k kjkfjsdkl jkjfsdk.ppt
PPT
8.SSL encryption.ppt
PDF
SECURE SOCKET LAYER(SSL)_LECTURE SLIDES.pdf
Cryptography by Afroz haider mir
SecureSocketLayer.ppt
Secure socket layer
Secure socket layer
SSL And TLS
SSL Secure Socket Layer
Unit 4_SSL_Handshake Protocol_Record Layer Protocol.pdf
Transport Layer Security
Secure socket later
CRYPTOGRAPHY AND NETWORK SECURITY- Transport-level Security
cryptography and network security thid.ppt
group no 6.pptx
Internet security protocol
Lecture 6 web security
Secure Socket Layer
BAIT1103 Chapter 4
Web Security
tls security fda fkj k kjkfjsdkl jkjfsdk.ppt
8.SSL encryption.ppt
SECURE SOCKET LAYER(SSL)_LECTURE SLIDES.pdf
Ad

Recently uploaded (20)

DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
Lesson notes of climatology university.
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Yogi Goddess Pres Conference Studio Updates
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
RMMM.pdf make it easy to upload and study
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
01-Introduction-to-Information-Management.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Abdominal Access Techniques with Prof. Dr. R K Mishra
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Chinmaya Tiranga quiz Grand Finale.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Lesson notes of climatology university.
human mycosis Human fungal infections are called human mycosis..pptx
Orientation - ARALprogram of Deped to the Parents.pptx
O7-L3 Supply Chain Operations - ICLT Program
A systematic review of self-coping strategies used by university students to ...
Supply Chain Operations Speaking Notes -ICLT Program
Yogi Goddess Pres Conference Studio Updates
Pharma ospi slides which help in ospi learning
Final Presentation General Medicine 03-08-2024.pptx
GDM (1) (1).pptx small presentation for students
Microbial disease of the cardiovascular and lymphatic systems
RMMM.pdf make it easy to upload and study
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
01-Introduction-to-Information-Management.pdf

Secure Socket Layer (SSL)